115 Stata Tips

person icon F Buscha

115 Stata Tips

One hundred, no-nonsense, professional-grade tips to raise your Stata skills.

updated on icon Updated on Sep, 2023

language icon Language - English

person icon F Buscha

architecture icon Big Data,Data Analysis,Business,Economics


30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 19,000+ top Tutorialspoint courses anytime, anywhere.

Course Description

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 115 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.

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 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 immediate statistics without loading data

  • 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


  • 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 add custom ado folders

  • How to create a custom user profile

  • How to add comments to do-files

  • How to loop over non-integer values

  • How to monitor a loop

  • How to show more in the results window

  • 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 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 download word frequencies from a webpage

  • 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


What will you learn in this course:

  • Learn many useful trick in Stata
  • Learn advanced Stata code
  • Learn tips around programming, graphics, statistics and data management


What are the prerequisites for this course?

  • Basic knowledge of Stata
  • Basic knowledge of Stata code (syntax, .do files, basic commands)
  • Basic statistics
115 Stata Tips


Check out the detailed breakdown of what’s inside the course

1 Lectures
  • play icon Introduction 01:46 01:46
Data Management Tips
33 Lectures
Statistics Tips
22 Lectures
Programming Tips
30 Lectures
Graphing Tips
29 Lectures
The Stata Cheat Sheet
1 Lectures

Instructor Details

F Buscha

F Buscha

Franz is a Professor of Economics at the University of Westminster. Franz joined the University of Westminster in 2006 after completing his PhD in Economics at Lancaster University.

Franz's personal research interests are in education economics, labor economics, and applied econometrics. Franz has made scientific contributions to issues such as social mobility, measuring the returns to education, the effect of weather of happiness and identity formation. He has been involved in numerous funded research projects from research councils and government departments.

Franz has contributed to wide range of projects including policy evaluation and bespoke econometric advice to UK government departments. These include the Ministry of Defence, HM Revenue and Customs, the Department for Education and the Department for Business, Innovation and Skills.

He has published in leading journals such as Economics of Education Review, the Oxford Bulletin of Economics and Statistics, the British Journal of Political Science and the British Journal of Sociology. Franz has also contributed to numerous policy reports and his research has been covered by media outlets such as BBC news, BBC Radio 4, The Economist, The Guardian, The Times, and Huffington Post. Franz also has a monthly radio program called Policy Matters on Share Radio.

Course Certificate

User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us