Complete STATA Workflow + Tips
4.2 (112 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
657 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Complete STATA Workflow + Tips to your Wishlist.

Add to Wishlist

Complete STATA Workflow + Tips

Master STATA for data management, graphs and data analysis with TIPS for the best workflow.
Best Seller
4.2 (112 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
657 students enrolled
Created by Mauricio Maroto
Last updated 8/2017
Current price: $10 Original price: $195 Discount: 95% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 9.5 hours on-demand video
  • 26 Articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • First, tips and hints for the best WORKFLOW showing how to use commands step-by-step.
  • Manage, edit and structure large databases ready for data analysis, up to 2 billion observations*.
  • Generate descriptive statistics, summary tables, cross tabulations, frequencies and much more.
  • Create powerful publication-quality graphs showcasing hidden info insights, edit and combine them in order to send clear messages.
  • Do your own statistical models in order to predict and/or forecast your key interest variables or events.
  • Complete guidance and orientation, the course is made into sections that shows a natural progression order.
  • Quizzes after each section, so you have a way to keep practicing on your own.
  • The course is made in sections with lectures that grow into several Data Analysis/Estimations Projects considering all lectures and workflow taught in order for full grasp of STATA capabilities.
  • Last but not least, be sure to look at the previews.
  • *According to STATA official capabilities (
View Curriculum
  • STATA (IC, SE or MP) version 12 or higher.
  • Microsoft Office (2003 or higher) or OpenOffice
  • Desire to master Data Analysis and STATA!

GOOD NEWS! STATA 15 compatible! Go ahead and enroll now!


Course Achievements: 

  • Udemy's® Bestselling Choice for STATA
  • +600 Worldwide Students enrolled


Some Student Reviews are:

"The course is comprehensive, well organized and well explained." (July 2017)

Great course to start learning STATA! This course covers broadly the features of STATA and gives you an idea of how to perform simple data processing with the software." (June 17)

"Very good explained and takes us from level 0." (June 17)

"The class is perfect for non-english native speakers. Easy and slow explanations, with exemples are presented throughout the course." (May 17)

"Porque explica desde o começo o significado de cada parte do programa." (March 17)

"Wow this course is amazing! Great content and really helpful!" (February 17)

"well done Introduction" (January 17)

"It is an excellent course specially for beginners to understand from the basics." (January 17)

"I have just completed this course I believe it's excellent value for money, however, I will continue to use it as a reference (...)" (January 17)

"No complaints so far" (December 16)

"-Explaining from the very first basic steps then continue with explaining more advance is the best way to learn (...) " (December 16)

"Great course, with a lot of useful content, really recommendable" (November 16)

"If someone wants to start learning STATA, this is the course to take. If someone (like me) knows how to do certain things in STATA but wants to learn deeply how to use it, this is also the place to be (...)" (November 16)

"Because it is valuable and well introduced and explained the subject" (November 16)

"The instructor is very passionate and knowledgeable." (November 16)


As Featured in STATA official website Training (on-demand) <<<

>>> Now, with Facebook Page: @statacourse <<<


Hi! My name is Mauricio and I want you to be a PRO in STATA

Over the years, I've learned that STATA is a powerful data analysis software (data management, graphs and statistics):

  1. >>> If you are an undergraduate or graduate student, you may know what quantitative analysis you need, but you may experience difficulties using STATA to get those results, making your research harder.
  2. >>> If you are a professional and you already have some STATA knowledge, you can also benefit from this course by jumping straight into those sections you need the most. 

The plan of this course is to give you the BEST WORKFLOW ever.

Each video provides the best practices coupled with tips and hints that will boost your STATA work. So, less time learning STATA, and more time getting results out of it!

With more than +100 detailed lectures and +9.5 hours of video, you'll get the best way to handle STATA and you will have LIFETIME access too!

Be sure to enroll now and use all resources to get the most of it: lectures, exercises, messages and more.

See you inside,

-M.A. Mauricio M.

Who is the target audience?
  • Undergraduate and graduate students needing to do quantitative analysis for your own requirements
  • Some of the careers that nowadays need quantitative analysis are: Biostatistics, Business Administration, Economics, Education, Epidemiology, Finance, Marketing Research, Medical Research, Political Science, Public Health, Public Policy, Sociology and many others
Students Who Viewed This Course Also Viewed
Curriculum For This Course
119 Lectures
12 Lectures 41:25

The first tips and hints will be presented here.

A foreword and initial tips

BONUS COUPON: For any course!

What is STATA and how to get the most out of it.

Preview 01:41

Just install one file and you are all set

Installing STATA

This is what you will see when you open STATA

Opening STATA and its windows

A few words about STATA's easy syntaxis: this will give an edge for using any command in STATA!

STATA syntax

Writing commands or writing a do-file? I tell you here

STATA commands and do-file

I present you our best friend and I explain why

Best friend: help command

You will be impressed with how much documentation Stata provides for all commands

More help - Navigating Stata Documentation

Mid-Section Quiz
4 questions

A few words about commands and abbreviations: easier work for you.

The help file of a command contains the shortest abbreviation for any command and it's marked with an underline (thanks to Maor).

Commands and abbreviation

Be sure to watch this too

One more initial tip

I describe our Action Plan for the rest of the course

Preview 01:39

Final-Section Quiz
3 questions
Input, Output and related file commands
10 Lectures 33:18

This is required for any STATA work

Open and clear a database

Good news: you don't have to edit STATA's memory for database allocation, it's now automatic

Automatic memory allocation

This is a good command for memory relieve, since STATA uses your PC's memory automatically

Compress databases

Another quick useful command

"Do" a do-file

This will tell STATA to use a specific directory for any project

Change working directory

You will be using this a lot, so I provide and explain several examples

Import databases

How to export databases

Export Databases

STATA has internally several example databases, so you do your preliminary work with them and then with your own datasets

Example Databases

Final section's note 

Recent databases and Exit

Final-Section Quiz
5 questions
Preferences and Edit options
4 Lectures 16:31

Change the color of components inside STATA

Copy, options and more

Edit STATA style to your preferences

Preferences and Edit options

Edit STATA style to your preferences (continued)

More Preferences and Edit options

Edit STATA style to your preferences (continued)

More Preferences and Edit options 2
Dataset Management
16 Lectures 01:10:45

Our first and essential commands for descriptive statistics. Use them a lot!

Describe, codebook, inspect and summarize commands

Quick Exercise 1

Know the difference between these similar commands and how they help you

View, edit and label a database

This is a very helpful command to quickly see data in the results window

List data and if statement

Quick Exercise 2

Here, I show how to combine datasets 

Append datasets

Quick Exercise 3

Learn how to merge different datasets

Merge datasets

Quick Exercise 4

More examples for merge command

More about merge datasets

Mid-Section Quiz
6 questions

Since almost always, you need to have the data in long format, here I show how to "convert" it properly if you have it originally in wide format

Convert dataset long-wide

Need to completely transpose a dataset? Look here

Transpose a dataset

A quick and useful command for comparing datasets

Compare two datasets

Make a new dataset out of an original dataset by contracting it 

Contract command

Different from contract command, but equally useful

Collapse command

Final-Section Quiz
3 questions
Variables Management - Part 1
18 Lectures 01:04:36

We start working with variables here

Set observations, create, replace and order variables

Quick Exercise 5

You can add labels to variables for easier identification

Work with variable labels

These are also essential STATA commands

Rename and drop/keep variables

Quick Exercise 6

Sort (ascending and/or descending) dataset using variables

Sort variables

Quick Exercise 7

Mid-Section Quiz
6 questions

These two are also essential for many purposes, so I show them here

If conditions and count command

Quick Exercise 8

Basic operators for your data analysis

Basic Operators

These will add to your operator arsenal

Comparison and Logical Operators

Quick Exercise 9

This will become very useful for time series analysis

Lagged and Forward variables

Quick Exercise 10

More examples and we show also Seasonal variables

Lagged, Forward and Seasonal variables

Yet another time series operator fo your arsenal: Difference variables

Lagged, Forward, Seasonal and Differences variables

Quick Exercise 11

Final-Section Quiz
4 questions
Variables Management - Part 2
16 Lectures 01:12:39

These two commands add to our workflow very well

Display expressions and stored results

Quick Exercise 12

Best workflow to end all issues with date variables!

Working with date variables

Best workflow to end all issues with date variables! (continued)

More about working with date variables

In simpler words, make dummys out of variables and make interaction dummys too

Indicator variables and interaction expansions

Quick Exercise 13

In simpler words, make dummys out of variables and make interaction dummys too (continued)

More about indicator variables and interaction expansions

Mid-Section Quiz
4 questions

STATA has a bult-in command to quickly fill missing values for any variable, nice!

Fill in missing values

This is how you interrelate commands with frequency weights

Frequency weights

This is how you interrelate commands with sampling (probabilistic) weights

Sampling weights

Quick Exercise 14

Here I want to show similarities using by and if prefixes in Stata

More about "if" command and also "by" together

Get rid of numbers being displayed as red "text" once and for all

Destring and Tostring commands

This is another command to properly display numbers as numbers (similar to destring)

Real command (similar to destring)

Some initial comments on this section
Quick Exercise 15

Final-Section Quiz
4 questions
Milestone Project 1
5 Lectures 32:38

Introduction to our first Milestone Project

Preview 00:27

Here, we start with our Milestone Project 1.

Data Analysis 1

We continue doing data analysis using STATA workflow

Preview 06:09

We continue doing even more data analysis using STATA workflow

Data Analysis 3

We do some final touches and conclude this Milestone Project. In later projects, we will return to this database once again and work with the new lectures.

Data Analysis 4
11 Lectures 57:34

How to quickly and effortless create some graphs

Quick Graphs 1 (Scatter)

More quick and effortless graphs

Quick Graphs 2 (Line)

How to combine two graphs in one plot

Combining Graphs

How to graph a "visual" correlation matrix

Quick Graphs 3 (Scatterplot Matrix)

How to do one of the most useful graphs for data inspection and analysis

Quick Graphs 4 (Histogram)

How to do bar graphs, either horizontal or vertical.

Quick Graphs 5 (Bars)

How to change the schemes of a graph using preset colors

Graphs schemes and colors

How to do a line graph with connected dots

Quick Graphs 6 (Connected)

How to do an area graph

Quick Graphs 7 (Area)

How to overlay (different than combine) several graphs together

Overlay Graphs

Final-Section Quiz
4 questions
Descriptive Statistics
8 Lectures 44:11

Here, we easily compute means by different ways

Summarize, mean and means

This will come in handy MANY times, so use it

Tabulate data

This will come in handy MANY times, so use it (continued)

More about tabulate data

This will come in handy MANY times, so use it (continued)

More about tabulate data 2

Mid-Section Quiz
3 questions

One of the quickest commands in STATA and also one of the most useful for identifying linear associations among variables

Correlations and covariances

We easily compute confidence intervals for the mean

Confidence Intervals

We easily compute confidence intervals for the mean (continued)

More about Confidence Intervals

Final-Section Quiz
3 questions
Stata Functions - Part 1
9 Lectures 55:32

Are you going to work with math and scientific concepts? These functions will save time for your results.

Math functions

Learn more math functions in STATA

More about Math functions

Learn more math functions in STATA (continued)

More about Math functions 2

Math functions Quiz
4 questions

Are you  going to work with a lot of text variables? These functions will help you a lot.

String (text) functions

Learn more string (text) functions in STATA

More about String (text) functions

Learn more string (text) functions in STATA (continued)

More about String (text) functions 2

Learn more math functions in STATA (continued)

More about String (text) functions 3

Learn more math functions in STATA (continued)

More about String (text) functions 4

String functions Quiz
5 questions
1 More Section
About the Instructor
Mauricio Maroto
4.2 Average rating
168 Reviews
2,544 Students
5 Courses
Economist Data Scientist +2,500 students and growing!


In-Development: Convolutional Neural Networks. Completion 90%. Just a few more moments for a new course launch!


Latest course: The Visual Guide on How Neural Networks Learn from Data. Average Review: 4.5/5.0. Check it out now!


Mauricio Maroto holds a Master in Industrial Economics from Carlos III University in Madrid, Spain. 

He has with extensive experience in Data Analysis and Visualization. He's proficient at Python, STATA and Microsoft Excel and he likes Machine Learning, Prediction, Optimization Methods and similar quantitative topics. He gained all experience through work, private consultancies and personal projects.

He blogs about Machine Learning, Energy, Technology and related topics at medium website.

He believes "Code is a fundamental skill" and "innovation brings progress to everyone". He loves teaching, passing knowledge and just making life easier. 

Mauricio's other passions are his family, friends, his pets and he loves to play soccer, whether indoors or outdoors. He also goes out for a run on weekends (not lately). He also loves topics such as Entrepreneurship, Cryptocurrencies and Science.