Plotting regression coefficients and other estimates in Stata
Graphical presentation of regression results has become increasingly popular in the scientific literature, as graphs are much easier to read than tables in many cases. In Stata such plots can be produced by the -marginsplot- command. However, while -marginsplot- is very versatile and flexible, it has two major limitations: it can only process results left behind by -margins- and it can only handle one set of results at the time. In this article I introduce a new command called -coefplot- that overcomes these limitations. It plots results from any estimation command and combines results from several models into a single graph. The default behavior of -coefplot- is to plot markers for coefficients and horizontal spikes for confidence intervals. However, -coefplot- can also produce various other types of graphs. The capabilities of -coefplot- are illustrated in this article using a series of examples. A shorter version of this paper has been published in The Stata Journal 14(4): 708-737 (see: http://www.stata-journal.com/article.html?article=gr0059).
|Date of creation:||23 Nov 2013|
|Date of revision:||06 Jun 2014|
|Contact details of provider:|| Web page: http://www.sowi.unibe.ch/|
References listed on IDEAS
Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:
- Ben Jann, 2007.
"Making regression tables simplified,"
German Stata Users' Group Meetings 2007
01, Stata Users Group.
- Roger Newson, 2003. "Confidence intervals and p-values for delivery to the end user," Stata Journal, StataCorp LP, vol. 3(3), pages 245-269, September.
- John Luke Gallup, 2012. "A new system for formatting estimation tables," Stata Journal, StataCorp LP, vol. 12(1), pages 3-28, March.
When requesting a correction, please mention this item's handle: RePEc:bss:wpaper:1. See general information about how to correct material in RePEc.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Ben Jann)
If references are entirely missing, you can add them using this form.