A Fifth Strip Plot in Stata
Updated: Aug 27, 2020
To use the stripplot command in Stata you first need to download it from the SSC. To do this use the following command in Stata:
This plot is generated using data that is available to download in a .zip file. You can download and even unzip files using Stata! The following is an example of how you might go about downloading and unzipping a zip file from within Stata on a Windows machine:
You could also do this on a Mac or Linux computer, you would just need to change the file paths.
Once you have the zip file unzipped, we use a dataset from within the zip folder called shuttle.dta to generate the plot above with the following commands:
For a comprehensive exploration of the many Stata graph commands and options, check out the book A Visual Guide to Stata Graphics, 3rd Edition.