Updated: Aug 27, 2020
To use the ciplot command in Stata you will first need to download and install it from SSC. To do this, use the following command in Stata:
To generate this graph use the following commands in Stata:
For a comprehensive exploration of the many Stata graph commands and options, check out the book A Visual Guide to Stata Graphics, 3rd Edition.