A CI Plot in Stata

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:

ssc install ciplot

To generate this graph use the following commands in Stata:

webuse citytemp, clear
ciplot heatdd cooldd, by(division) xlabel(, angle(45))

For a comprehensive exploration of the many Stata graph commands and options, check out the book A Visual Guide to Stata Graphics, 3rd Edition.