Scatter plots in Stata
May 21, 2019Scatter plots are great visualization tools, especially for smaller datasets. When exploring relationships between two variables, scatter…
Written by Johan Osterberg who lives and works in Gothenburg, Sweden as a developer specialized in e-commerce. Connect with me on Linkedin
Scatter plots are great visualization tools, especially for smaller datasets. When exploring relationships between two variables, scatter…
Just as with commands such as describe or summarize, drawing pie charts can be useful when familiarizing with a new dataset (or for…
The webuse command is used to load datasets directly from the Stata website. This is convenient as you dont have to download datasets…
The bysort command in Stata is used as a prefix before other commands, and it allows you to perform those commands within groups of…
Running a one-sample t-test in SPSS is very straight forward. For the purpose of this example, let's use the demo.sav training dataset. From…
Effectively handling missing data in Stata largely comes down to dealing with how Stata treats missing values to begin with. Stata treats…
In this tutorial we'll look at performing a chi-square test in Stata. We'll use the nlsw88 dataset for this, so In order to perform a chi…
In this quick tutorial we'll look at performing a chi-square test on a single sample. More specifically, we'll look into performing a…
The notes command is used for attaching notes to a variable. Can be useful in when it might be hard to interpret a variable, or when any…
Looping in Stata is mainly achieved by use of the foreach command. Using the nlsw88 dataset we'll generate a new variable with observations…
