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. Christopher Winship & Larry Radbill, 1994. "Sampling Weights and Regression Analysis," Sociological Methods & Research, , vol. 23(2), pages 230-257, November.
    2. A. H. Feiveson, 2002. "Power by simulation," Stata Journal, StataCorp LP, vol. 2(2), pages 107-124, May.
    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. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. Bellmann, Lutz & Janik, Florian, 2007. "Firms and Early Retirement: Offers That One Does Not Refuse," IZA Discussion Papers 2931, Institute of Labor Economics (IZA).
    9. 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.
    10. 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.
    11. Timothy R. Wojan & Jason P. Brown & Dayton M. Lambert, 2014. "What to Do about the "Cult of Statistical Significance"? A Renewable Fuel Application using the Neyman-Pearson Protocol," Applied Economic Perspectives and Policy, Agricultural and Applied Economics Association, vol. 36(4), pages 674-695.
    12. Mario Bossler & Gregor Geis & Jens Stegmaier, 2018. "Comparing survey data with an official administrative population: assessing sample-selectivity in the IAB Establishment Panel," Quality & Quantity: International Journal of Methodology, Springer, vol. 52(2), pages 899-920, March.
    13. Uwe Jirjahn, 2016. "Works Councils and Employer Attitudes toward the Incentive Effects of HRM Practices," Research Papers in Economics 2016-07, University of Trier, Department of Economics.
    14. Ronald J. Angel & Jacqueline L. Angel & Jennifer Karas Montez, 2009. "The Work/Health Insurance Nexus: A Weak Link for Mexican‐Origin Men," Social Science Quarterly, Southwestern Social Science Association, vol. 90(5), pages 1112-1133, December.
    15. Scott Schieman & Leah Ruppanner & Melissa A. Milkie, 2018. "Who Helps with Homework? Parenting Inequality and Relationship Quality Among Employed Mothers and Fathers," Journal of Family and Economic Issues, Springer, vol. 39(1), pages 49-65, March.
    16. Uwe Jirjahn, 2012. "Non-union worker representation and the closure of establishments: German evidence on the role of moderating factors," Economic and Industrial Democracy, Department of Economic History, Uppsala University, Sweden, vol. 33(1), pages 5-27, February.
    17. Anja Iseke, 2014. "The Part-Time Job Satisfaction Puzzle: Different Types of Job Discrepancies and the Moderating Effect of Family Importance," British Journal of Industrial Relations, London School of Economics, vol. 52(3), pages 445-469, September.
    18. Stephani, Jens, 2013. "Does it matter where you work? : employer characteristics and the wage growth of low-wage workers and higher-wage workers," IAB-Discussion Paper 201304, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany].
    19. Neubert, Milena & Bannier, Christina E., 2016. "Actual and perceived financial sophistication and wealth accumulation: The role of education and gender," VfS Annual Conference 2016 (Augsburg): Demographic Change 145593, Verein für Socialpolitik / German Economic Association.
    20. Gottlieb, Aaron, 2016. "Household incarceration in early adolescence and risk of premarital first birth," Children and Youth Services Review, Elsevier, vol. 61(C), pages 126-134.

    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.