Plotting regression coefficients and other estimates in Stata
AbstractGraphical 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.
Download InfoIf you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.
Bibliographic InfoPaper provided by University of Bern, Department of Social Sciences in its series University of Bern Social Sciences Working Papers with number 1.
Length: 35 pages
Date of creation: 23 Nov 2013
Date of revision: 31 Jan 2014
Contact details of provider:
Web page: http://www.sowi.unibe.ch/
coefplot; marginsplot; margins; regression plot; coefficients plot;
Other versions of this item:
- Ben Jann, 2013. "COEFPLOT: Stata module to plot regression coefficients and other results," Statistical Software Components S457686, Boston College Department of Economics, revised 01 Feb 2014.
- C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software
This paper has been announced in the following NEP Reports:
- NEP-ALL-2013-08-31 (All new papers)
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.:
- John Luke Gallup, 2012. "A new system for formatting estimation tables," Stata Journal, StataCorp LP, vol. 12(1), pages 3-28, March.
- 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.
- Ben Jann & Simon Seiler, 2014. "A new methodological approach for studying intergenerational mobility with an application to Swiss data," University of Bern Social Sciences Working Papers 5, University of Bern, Department of Social Sciences.
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.