120 Quick Stata Tips

Becomes a Stata Pro! One hundred and twenty, no-nonsense, professional-grade tips to raise your Stata skills.

Make sure to check out my twitter feed for promo codes and other updates (easystats3)

What you’ll learn

• Fast, and to the point, useful tricks to use in Stata.
• Data management.
• Programming.
• Graphics.
• Statistics.
• Professional level tips.

Course Content

• Introduction –> 1 lecture • 2min.
• Data Management –> 35 lectures • 46min.
• Statistics –> 22 lectures • 32min.
• Programming –> 31 lectures • 44min.
• Graphing –> 31 lectures • 55min.
• The Stata Cheat Sheet –> 1 lecture • 1min. Requirements

• Basic knowledge of Stata.
• Basic knowledge of Stata code.
• Basic statistics.

Make sure to check out my twitter feed for promo codes and other updates (easystats3)

If you want to learn more about Stata but don’t have a lot of time, this is the course for you!

In this course I provide 120 fast and to-the-point tips for Stata. These tips are professional grade and aimed at helping you become a Stata master! They cover a wide range of issues in data management, graphing, statistics and programming.

Each video is designed to be stand-alone and will take no more than 2 minutes.

Learn years worth of hard Stata knowledge in 3 hours!

You should have basic knowledge of Stata and do-files. If you do not have this check out my “Essential Guide to Stata”.

The following themes are covered:

Data Management

• How to create a code book
• How to create a label book
• How to list only variable names
• How to describe unopened data
• How to search in variables
• How to drop/keep variables sequentially
• How to check a digital data signature
• How to verify data
• How to compare two datasets
• How to compare variables
• How to use tabulate to generate dummy variables
• How to avoid many logical OR operators
• How to number labels
• How to use labels in expressions
• How to attach one value label to many variables
• How to store single values
• How to use Stata’s hand-calculator
• How to use text with Stata’s hand-calculator
• How to select column of data in a do-file
• How to rectangularize data
• How to check if variables uniquely identify observations
• How to drop duplicate observations
• How to draw a sample
• How to transpose a dataset
• How to quickly expand and interact many variables
• How to create publication quality tables in word
• How to create publication quality tables in excel
• How to export regression results
• How to delete files from within Stata
• How to display directory content
• How to clone a variable
• How to re-order variables

Statistics

• How to create many one-way tables quickly
• How to create many two-way tables quickly
• How to sort and plot one-way tables
• How to expand data instead of using weights
• How to contract data to frequencies and percentages
• How to compute elasticities
• How to set the default confidence level
• How to show base levels of factor variables
• How to estimate a constrained linear regression
• How to bootstrap any regression
• How to interpolate missing values
• How to compute row statistics
• How to compute standardized coefficients after linear regression
• How to compute faster marginal effects
• How to reduce collinearity in polynomial variables
• How to use contrasting margins
• How to use pairwise comparison with margins
• How to define the constant in a regression
• How to visualise complex polynomial models
• How to identify outliers from a regression

Programming

• How to hide unwanted output
• How to force show wanted output
• How to hide a graph
• How to suppress error messages
• How to force do-files to run to the end
• How to execute programmes outside Stata
• How to check memory usage
• How to reduce files sizes
• How timestamp commands
• How to set a stopwatch
• How to pause Stata
• How to debug error messages
• How to pause for large output
• How to create a custom user profile
• How to loop over non-integer values
• How to monitor a loop
• How to display coefficient legends
• How to squish a table
• How to use and modify the Function keys
• How to view command sourcecode
• How to create custom correlations
• How to insert current time & date into log files
• How to save interactive commands
• How to launch the interactive dialog box

Graphing

• How to recover data from a graph
• How to generate a combined graph with one legend
• How to display RGB colors in graphs
• How to make colors opaque
• Why are SVG graphs useful?
• How to apply log scaling to a graph
• How to reverse and switch off axes
• How to have multiple axes on a graph
• How to display ASCII characters in graphs
• How to graph the variance-covariance matrix
• How to quickly plot estimated results
• How to randomly displace markers
• How to range plot
• How to create a violin plot
• How to show the Stata color palette
• How to create custom titles
• How to customize the look of graphs
• How to show a correlation matrix as graphical table
• How to plot a histogram with a boxplot
• How to draw histograms with custom bins
• How to graph a one/two/three-way table
• How to recover graph code
• How to do polar smoothing
• How to separate scatter
• How to range a graph
• How to foreground/background plot
• How to plotstyle
• How to show multiple axes
Get Tutorial