IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v13y2013i1p3-20.html

Stata as a numerical tool for scientific thought experiments: A tutorial with worked examples

Author

Listed:
  • Theresa Wimberley

    (Aarhus University)

  • Erik Parner

    (Aarhus University)

  • Henrik Støvring

    (Aarhus University)

Abstract

Thought experiments based on simulation can be used to explain the impact of the chosen study design, statistical analysis strategy, or the sensitivity of results to fellow researchers. In this article, we demonstrate with two examples how to implement quantitative thought experiments in Stata. The first example uses a large-sample approach to study the impact on the estimated effect size of dichotomizing an exposure variable at different values. The second example uses simulations of datasets of realistic size to illustrate the necessity of using sampling fractions as inverse probability weights in statistical analysis for protection against bias in a complex sampling design. We also give a brief outline of the general steps needed for implementing quantitative thought experiments in Stata. We demonstrate how Stata provides programming facilities for conveniently implementing such thought experiments, with the advantage of saving researchers time, speculation, and debate as well as improving communication in interdisciplinary research groups. Copyright 2013 by StataCorp LP.

Suggested Citation

  • Theresa Wimberley & Erik Parner & Henrik Støvring, 2013. "Stata as a numerical tool for scientific thought experiments: A tutorial with worked examples," Stata Journal, StataCorp LLC, vol. 13(1), pages 3-20, March.
  • Handle: RePEc:tsj:stataj:v:13:y:2013:i:1:p:3-20
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj13-1/st0281/
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. A. H. Feiveson, 2002. "Power by simulation," Stata Journal, StataCorp LLC, vol. 2(2), pages 107-124, May.
    2. Christopher Winship & Larry Radbill, 1994. "Sampling Weights and Regression Analysis," Sociological Methods & Research, , vol. 23(2), pages 230-257, November.
    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. Brendon McConnell & Marcos Vera-Hernandez, 2015. "Going beyond simple sample size calculations: a practitioner's guide," IFS Working Papers W15/17, Institute for Fiscal Studies.
    2. Blind, Knut & Petersen, Sören S. & Riillo, Cesare A.F., 2017. "The impact of standards and regulation on innovation in uncertain markets," Research Policy, Elsevier, vol. 46(1), pages 249-264.
    3. Oberfichtner Michael & Schnabel Claus, 2019. "The German Model of Industrial Relations: (Where) Does It Still Exist?," Journal of Economics and Statistics (Jahrbuecher fuer Nationaloekonomie und Statistik), De Gruyter, vol. 239(1), pages 5-37, January.
    4. Charles Bellemare & Luc Bissonnette & Sabine Kröger, 2014. "Statistical Power of Within and Between-Subjects Designs in Economic Experiments," CESifo Working Paper Series 5055, CESifo.
    5. Williams, Colin C. & Horodnic, Adrian V., 2017. "Rethinking informal payments by patients in Europe: An institutional approach," Health Policy, Elsevier, vol. 121(10), pages 1053-1062.
    6. Brenzel, Hanna & Gartner, Hermann & Schnabel, Claus, 2014. "Wage bargaining or wage posting? Evidence from the employers' side," Labour Economics, Elsevier, vol. 29(C), pages 41-48.
    7. Möller, Iris, 2000. "Produktivitätswirkung von Mitarbeiterbeteiligungen (Productivity effect of employee participation in asset formation)," Mitteilungen aus der Arbeitsmarkt- und Berufsforschung, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany], vol. 33(4), pages 565-582.
    8. Stan Becker & Amanda Kalamar, 2018. "Sampling Weights for Analyses of Couple Data: Example of the Demographic and Health Surveys," Demography, Springer;Population Association of America (PAA), vol. 55(4), pages 1447-1473, August.
    9. Schneider, Lutz, 2006. "Sind ältere Beschäftigte weniger produktiv? Eine empirische Analyse anhand des LIAB," IWH Discussion Papers 13/2006, Halle Institute for Economic Research (IWH).
    10. John S. Heywood & Uwe Jirjahn, 2014. "Variable Pay, Industrial Relations and Foreign Ownership: Evidence from Germany," British Journal of Industrial Relations, London School of Economics, vol. 52(3), pages 521-552, September.
    11. Ioana Alexandra Horodnic & Colin C. Williams, 2016. "An evaluation of the shadow economy in Baltic states: a tax morale perspective," International Journal of Entrepreneurship and Small Business, Inderscience Enterprises Ltd, vol. 28(2/3), pages 339-358.
    12. Philip B Mason & Frank M. Howell & Jeremy R. Porter, 2014. "Examining Rural-Urban Obesity Trends among Youth in the U.S.: Testing the Socioeconomic Gradient Hypothesis," International Journal of Business and Social Research, MIR Center for Socio-Economic Research, vol. 4(12), pages 27-42, December.
    13. Bozeman, Barry & Gaughan, Monica, 2007. "Impacts of grants and contracts on academic researchers' interactions with industry," Research Policy, Elsevier, vol. 36(5), pages 694-707, June.
    14. Strully, Kate, 2009. "Racial-ethnic disparities in health and the labor market: Losing and leaving jobs," Social Science & Medicine, Elsevier, vol. 69(5), pages 768-776, September.
    15. Andrew Hanson & Hal Martin, 2014. "Housing Market Distortions and the Mortgage Interest Deduction," Public Finance Review, , vol. 42(5), pages 582-607, September.
    16. Uwe Jirjahn, 2018. "The adoption and termination of profit sharing for employees: does management’s attitude play a role?," Applied Economics, Taylor & Francis Journals, vol. 50(2), pages 108-127, January.
    17. Uwe Jirjahn & Jens Mohrenweiser, 2019. "Performance Pay and Applicant Screening," British Journal of Industrial Relations, London School of Economics, vol. 57(3), pages 540-575, September.
    18. Geoffrey T. Wodtke & Matthew Parbst, 2017. "Neighborhoods, Schools, and Academic Achievement: A Formal Mediation Analysis of Contextual Effects on Reading and Mathematics Abilities," Demography, Springer;Population Association of America (PAA), vol. 54(5), pages 1653-1676, October.
    19. Smith, Kimberly V. & Goldman, Noreen, 2007. "Socioeconomic differences in health among older adults in Mexico," Social Science & Medicine, Elsevier, vol. 65(7), pages 1372-1385, October.
    20. Williams Colin C. & Horodnic Ioana A., 2015. "Explaining The Prevalence Of The Informal Economy In The Baltics: An Institutional Asymmetry Perspective," European Spatial Research and Policy, Sciendo, vol. 22(2), pages 127-145, December.

    More about this item

    Keywords

    ;
    ;

    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:tsj:stataj:v:13:y:2013:i:1:p:3-20. 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.