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

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 LP, 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 LP, 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. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. Andrew Hanson & Hal Martin, 2014. "Housing Market Distortions and the Mortgage Interest Deduction," Public Finance Review, , vol. 42(5), pages 582-607, September.
    11. 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.
    12. 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.
    13. 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.
    14. Eszter Czibor & David Jimenez‐Gomez & John A. List, 2019. "The Dozen Things Experimental Economists Should Do (More of)," Southern Economic Journal, John Wiley & Sons, vol. 86(2), pages 371-432, October.
    15. Kim, Yeonwoo & Padilla, Yolanda C. & Zhang, Anao & Oh, Sehun, 2018. "Young children's internalizing and externalizing behaviors after mothers exit welfare: Comparisons with children of non-welfare mothers," Children and Youth Services Review, Elsevier, vol. 86(C), pages 316-323.
    16. Colin C. Williams & Ioana A. Horodnic, 2015. "Explaining and tackling the shadow economy in Estonia, Latvia and Lithuania: a tax morale approach," Baltic Journal of Economics, Baltic International Centre for Economic Policy Studies, vol. 15(2), pages 81-98.
    17. Bellmann, Lutz & Janik, Florian, 2007. "Firms and Early Retirement: Offers That One Does Not Refuse," IZA Discussion Papers 2931, Institute of Labor Economics (IZA).
    18. van Dalen, H.P. & Henkens, K., 2008. "Emigration Intentions : Mere Words or True Plans? Explaining International Migration Intentions and Behavior," Other publications TiSEM d78ea768-e1d5-4a80-baff-2, Tilburg University, School of Economics and Management.
    19. Riccardo Fiorito & Giulio Zanella, 2012. "The Anatomy of the Aggregate Labor Supply Elasticity," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 15(2), pages 171-187, April.
    20. Guillermo Montt & Francesca Borgonovi, 2018. "Combining Achievement and Well-Being in the Assessment of Education Systems," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 138(1), pages 271-296, July.

    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.