IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v13y2013i1p39-64.html
   My bibliography  Save this article

Sar: Automatic generation of statistical reports using Stata and Microsoft Word for Windows

Author

Listed:
  • Giovanni L. Lo Magno

    (University of Palermo)

Abstract

The output provided by most Stata commands is plain text not suitable to be presented or published. After the numerical and graphical outputs are obtained, the user has to copy them into a word processor to complete the editing process. Some Stata commands help you to obtain well-formatted output, especially tabulated results in LATEX or other formats, but they are not a complete solution nor are they friendly tools. Stata automatic report (Sar) is an easy-to-use macro for Microsoft Word for Windows that allows a powerful integration between Stata and Word. With Sar, the user can retrieve numerical results and graphs from Stata and automatically insert them into a well-formatted Word document, exploiting all the functions of Word. This process is managed by Word while Stata is executed in the background. Sar requires Stata commands and some specific Sar commands to be written in ordinary Word comments. Thus the report is well documented, and this can encourage the sharing of the workflow of data analysis and the reproducibility of the research. With Sar, the user can create an automatic report, that is, a Word document that can be automatically updated if data have changed. Sar works only on Windows systems. Copyright 2013 by StataCorp LP.

Suggested Citation

  • Giovanni L. Lo Magno, 2013. "Sar: Automatic generation of statistical reports using Stata and Microsoft Word for Windows," Stata Journal, StataCorp LP, vol. 13(1), pages 39-64, March.
  • Handle: RePEc:tsj:stataj:v:13:y:2013:i:1:p:39-64
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=pr0055
    File Function: link to article purchase
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. John Luke Gallup, 2012. "A programmer's command to build formatted statistical tables," Stata Journal, StataCorp LP, vol. 12(4), pages 655-673, December.
    2. Ben Jann, 2005. "Making regression tables from stored estimates," Stata Journal, StataCorp LP, vol. 5(3), pages 288-308, September.
    3. Rosa Gini & Jacopo Pasquini, 2006. "Automatic generation of documents," United Kingdom Stata Users' Group Meetings 2006 04, Stata Users Group.
    4. 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.
    5. Rosa Gini & Jacopo Pasquini, 2006. "Automatic generation of documents," Stata Journal, StataCorp LP, vol. 6(1), pages 22-39, March.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Michael Lokshin & Zurab Sajaia, 2008. "Creating print-ready tables in Stata," Stata Journal, StataCorp LP, vol. 8(3), pages 374-389, September.
    2. Maarten L. Buis, 2007. "Stata tip 53: Where did my p-values go?," Stata Journal, StataCorp LP, vol. 7(4), pages 584-586, December.
    3. Ben Jann, 2007. "Making regression tables simplified," Stata Journal, StataCorp LP, vol. 7(2), pages 227-244, June.
    4. Jacques Muthusi & Samuel Mwalili & Peter Young, 2019. "%svy_logistic_regression: A generic SAS macro for simple and multiple logistic regression and creating quality publication-ready tables using survey or non-survey data," PLOS ONE, Public Library of Science, vol. 14(9), pages 1-14, September.
    5. Atella, Vincenzo & Belotti, Federico & Depalo, Domenico & Piano Mortari, Andrea, 2014. "Measuring spatial effects in the presence of institutional constraints: The case of Italian Local Health Authority expenditure," Regional Science and Urban Economics, Elsevier, vol. 49(C), pages 232-241.
    6. 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.
    7. Antoni, Manfred & Heineck, Guido, 2012. "Do literacy and numeracy pay off? : on the relationship between basic skills and earnings," IAB-Discussion Paper 201221, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany].
    8. Carsten Sauer & Peter Valet & Stefan Liebig, 2013. "The Impact of within and between Occupational Inequalities on People's Justice Perceptions towards Their Own Earnings," SOEPpapers on Multidisciplinary Panel Data Research 567, DIW Berlin, The German Socio-Economic Panel (SOEP).
    9. Hlavac, Marek, 2016. "TableMaker: An Excel Macro for Publication-Quality Tables," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 70(c03).
    10. Zhao, Yuejun, 2023. "Job displacement and the mental health of households: Burden sharing counteracts spillover," Labour Economics, Elsevier, vol. 81(C).
    11. Dang, Hai-Anh & Lanjouw, Peter & Luoto, Jill & McKenzie, David, 2014. "Using repeated cross-sections to explore movements into and out of poverty," Journal of Development Economics, Elsevier, vol. 107(C), pages 112-128.
    12. Richard Williams, 2010. "Fitting heterogeneous choice models with oglm," Stata Journal, StataCorp LP, vol. 10(4), pages 540-567, December.
    13. Daniel Homocianu, 2023. "Exploring the Predictors of Co-Nationals’ Preference over Immigrants in Accessing Jobs—Evidence from World Values Survey," Mathematics, MDPI, vol. 11(3), pages 1-29, February.
    14. Maria Paola Caria & Rino Bellocco & Maria Rosaria Galanti & Nicholas J. Horton, 2011. "The impact of different sources of body mass index assessment on smoking onset: An application of multiple-source information models," Stata Journal, StataCorp LP, vol. 11(3), pages 386-402, September.
    15. Ostrihoň, Filip, 2022. "Exploring macroeconomic imbalances through EU Alert Mechanism Reports," European Journal of Political Economy, Elsevier, vol. 75(C).
    16. Stephen P. Jenkins, 2020. "Comparing distributions of ordinal data," Stata Journal, StataCorp LP, vol. 20(3), pages 505-531, September.
    17. Francisco Fernández López, 2017. "Impacto de la informalidad laboral sobre el acceso a crédito formal," Coyuntura Económica, Fedesarrollo, vol. 47(1 y 2), pages 169-204, December.
    18. Roger B. Newson, 2010. "Frequentist q-values for multiple-test procedures," Stata Journal, StataCorp LP, vol. 10(4), pages 568-584, December.
    19. John Luke Gallup, 2012. "A programmer's command to build formatted statistical tables," Stata Journal, StataCorp LP, vol. 12(4), pages 655-673, December.
    20. Ben Jann & J. Scott Long, 2010. "Tabulating SPost results using estout and esttab," Stata Journal, StataCorp LP, vol. 10(1), pages 46-60, March.

    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:tsj:stataj:v:13:y:2013:i:1:p:39-64. See general information about how to correct material in RePEc.

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

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

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

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.