Complete STATA Workflow + Tips
4.2 (847 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,538 students enrolled

Complete STATA Workflow + Tips

Master STATA for data management, graphs and data analysis with TIPS for the best workflow.
4.2 (847 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,538 students enrolled
Created by Mauricio Maroto
Last updated 3/2018
English [Auto]
Current price: $65.99 Original price: $94.99 Discount: 31% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 9.5 hours on-demand video
  • 26 articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll 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 (
  • STATA (IC, SE or MP) version 12 or higher.
  • Microsoft Office (2003 or higher) or OpenOffice
  • Desire to master Data Analysis and STATA!

Some Student Reviews are:

"Have used Stata for advanced analysis in the past but within the first two sections of the course I got exposed to very useful tips. Kudos to the instructor for putting this together." (May 2019).

"Me gusta porque habla en ingles lento lo cual se entiende perfectamente." (March 2019).

"It has made Stata clearer and easier to use." (February 2019).

"Very practical. I really like the course!" (January 2019).

"Explainations are straight forward, easy to understand" (December 2018).

"Helpful course!" (July 2018).

"It's easy to follow and a good start." (April 2018).

"Having taken the course, I feel more confident with my Stata skills." (April 2018).

"The instructor has done a good job of introducing Stata and provides some very good examples." (March 2018).

"Good explanations." (January 2018).

"For someone who has never had exposure to STATA before I really enjoy the way this is taught." (December 2017).

"I believe the content is well-presented." (November 2017).

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

Udemy's® Bestselling Choice for STATA

~2.000 Worldwide Students enrolled


MORE Student Reviews:

"really interesting and informative course. it gives a good grasp of basic STATA. there should be the next course to more advanced level." (November 2017)

"Really thorough and well explained on how to use the basics and access the help to understand the syntax better" (October 2017)

"Instructor is knowledgeable, willing to help and very responsive." (September 2017)

"The course is comprehensive, well organized and well explained. It covers the most fundamental topics of Stata so that you can use it confidently." (August 2017)

"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 2017)

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

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

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

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

"well done Introduction" (January 2017)

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

"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 2017)

"No complaints so far" (December 2016)

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

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

"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 2016)

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

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


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 this course is for:
  • 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
Course content
Expand all 119 lectures 09:30:11
+ Introduction
12 lectures 41:19

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:17

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

How to export databases

Export Databases

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

Import 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:43

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:33

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:37

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
+ Graphs
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:31

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