IDEAS home Printed from https://ideas.repec.org/p/bss/wpaper/1.html
   My bibliography  Save this paper

Plotting regression coefficients and other estimates in Stata

Author

Listed:
  • Ben Jann

    ()

Abstract

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).

Suggested Citation

  • Ben Jann, 2013. "Plotting regression coefficients and other estimates in Stata," University of Bern Social Sciences Working Papers 1, University of Bern, Department of Social Sciences, revised 18 Sep 2017.
  • Handle: RePEc:bss:wpaper:1
    as

    Download full text from publisher

    File URL: http://repec.sowi.unibe.ch/files/wp1/jann-2013-coefplot.pdf
    File Function: Revised version, 2017
    Download Restriction: no

    File URL: http://www.stata-journal.com/article.html?article=gr0059
    File Function: Published version, 2014
    Download Restriction: no

    Other versions of this item:

    References listed on IDEAS

    as
    1. 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.
    2. John Luke Gallup, 2012. "A new system for formatting estimation tables," Stata Journal, StataCorp LP, vol. 12(1), pages 3-28, March.
    3. Ben Jann, 2007. "Making regression tables simplified," Stata Journal, StataCorp LP, vol. 7(2), pages 227-244, June.
    Full references (including those not matched with items on IDEAS)

    Citations

    Blog mentions

    As found by EconAcademics.org, the blog aggregator for Economics research:
    1. Coefplot for Stata
      by Mark Egan in Economics, Psychology and Policy on 2014-04-04 00:43:00

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. repec:eee:inecon:v:108:y:2017:i:c:p:431-443 is not listed on IDEAS
    2. Temple, Jonathan & Van de Sijpe, Nicolas, 2017. "Foreign aid and domestic absorption," Journal of International Economics, Elsevier, vol. 108(C), pages 431-443.
    3. Hagen, Tobias & Waldeck, Stefanie, 2014. "Using panel econometric methods to estimate the effect of milk consumption on the mortality rate of prostate and ovarian cancer," Working Paper Series: Business and Law 03, Frankfurt University of Applied Sciences, Faculty of Business and Law.
    4. 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.

    More about this item

    Keywords

    coefplot; marginsplot; margins; regression plot; coefficients plot; ropeladder plot;

    JEL classification:

    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. 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). General contact details of provider: http://www.sowi.unibe.ch/ .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.