The Stata Guide

Here we showcase a series of articles on the Stata software covering topics ranging from data science to statistical analysis.

Member-only story

The awesome Stata Tips collection!

20 min readJan 11, 2022

--

Stata is a fairly extensive software that has been out there for a while now. And there are plenty of features, shortcuts, and commands hiding in plain sight that can significantly boost user experience and provided much needed quality-of-life improvements.

Photo by Sam Dan Truong on Unsplash

In 2020 and 2021, I was regularly posting Stata tips on Twitter. Sometimes others joined in as well. Therefore, in the past years a lot of great tips have been tweeted. In case you missed all the action, this article provides a collection of these tips, together with some additional explanations. It also helps you find code snippets!

This post does not cover everything, but it does contain some really interesting stuff, for example, how to tab graphs, auto-scaling of the graph axes, adding text boxes to figures, dealing with conditionals, using locals to your advantage, shortcuts to data management, and a lot more!

This is a working document and will be updated once in a while with new awesome tips. Some of the tips (maybe one or two currently) might only work on newer versions (Stata 16 or higher) so do check for compatibility issues if you are using older versions.

--

--

The Stata Guide
The Stata Guide

Published in The Stata Guide

Here we showcase a series of articles on the Stata software covering topics ranging from data science to statistical analysis.

Asjad Naqvi
Asjad Naqvi

Written by Asjad Naqvi

Here you will find stuff on Stata, data visualizations, data wrangling, workflows, and programming.

Responses (2)