IDEAS home Printed from https://ideas.repec.org/p/boc/lsug23/16.html
   My bibliography  Save this paper

How to check a simulation study

Author

Listed:
  • Ian R White

    (MRC Clinical Trials Unit at UCL, London, UK)

  • Tra My Pham

    (MRC Clinical Trials Unit at UCL, London, UK)

  • Matteo Quartagno

    (MRC Clinical Trials Unit at UCL, London, UK)

  • Tim P Morris

    (MRC Clinical Trials Unit at UCL, London, UK)

Abstract

Simulation studies are a powerful tool in biostatistics, but they can be hard to conduct successfully. Sometimes unexpected results are obtained. We offer advice on how to check a simulation study when this occurs, and how to design and conduct the study to give results that are easier to check. Simulation studies should be designed to include some settings where answers are already known. Code should be written in stages and data generating mechanisms should be checked before simulated data are analysed. Results should be explored carefully, with scatterplots of standard error estimates against point estimates a surprisingly powerful tool. When estimation fails or there are outlying estimates, these should be identified, understood, and dealt with by changing data generating mechanisms or coding realistic hybrid analysis procedures. Finally, we give a series of ideas that have been useful to us in the past for checking unexpected results. Following our advice may help to prevent errors and to improve the quality of published simulation studies. We illustrate the ideas with a simple but realistic simulation study in Stata.

Suggested Citation

  • Ian R White & Tra My Pham & Matteo Quartagno & Tim P Morris, 2023. "How to check a simulation study," UK Stata Conference 2023 16, Stata Users Group.
  • Handle: RePEc:boc:lsug23:16
    as

    Download full text from publisher

    File URL: http://repec.org/lsug2023/Stata_UK23_Pham.pptx
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Julian P. T. Higgins & Simon G. Thompson & David J. Spiegelhalter, 2009. "A re‐evaluation of random‐effects meta‐analysis," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 172(1), pages 137-159, January.
    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. Yeojin Chung & Sophia Rabe-Hesketh & Vincent Dorie & Andrew Gelman & Jingchen Liu, 2013. "A Nondegenerate Penalized Likelihood Estimator for Variance Parameters in Multilevel Models," Psychometrika, Springer;The Psychometric Society, vol. 78(4), pages 685-709, October.
    2. Sofia Dias & Alex J. Sutton & Nicky J. Welton & A. E. Ades, 2013. "Evidence Synthesis for Decision Making 3," Medical Decision Making, , vol. 33(5), pages 618-640, July.
    3. Amanda Kvarven & Eirik Strømland & Conny Wollbrant & David Andersson & Magnus Johannesson & Gustav Tinghög & Daniel Västfjäll & Kristian Ove R. Myrseth, 2020. "The intuitive cooperation hypothesis revisited: a meta-analytic examination of effect size and between-study heterogeneity," Journal of the Economic Science Association, Springer;Economic Science Association, vol. 6(1), pages 26-42, June.
    4. Areti Angeliki Veroniki & Jesmin Antony & Sharon E Straus & Huda M Ashoor & Yaron Finkelstein & Paul A Khan & Marco Ghassemi & Erik Blondal & John D Ivory & Brian Hutton & Kevin Gough & Brenda R Hemme, 2018. "Comparative safety and effectiveness of perinatal antiretroviral therapies for HIV-infected women and their children: Systematic review and network meta-analysis including different study designs," PLOS ONE, Public Library of Science, vol. 13(6), pages 1-23, June.
    5. Fabio Vieira & Roger Leenders & Joris Mulder, 2024. "Fast meta-analytic approximations for relational event models: applications to data streams and multilevel data," Journal of Computational Social Science, Springer, vol. 7(2), pages 1823-1859, October.
    6. Cinar, Ozan & Nakagawa, Shinichi & Viechtbauer, Wolfgang, 2020. "Phylogenetic multilevel meta-analysis: A simulation study on the importance of modeling the phylogeny," EcoEvoRxiv su4zv, Center for Open Science.
    7. Bakbergenuly, Ilyas & Hoaglin, David C. & Kulinskaya, Elena, 2020. "Simulation study of estimating between-study variance and overall effect in meta-analyses of log-response-ratio for normal data," MetaArXiv 3bnxs, Center for Open Science.
    8. Nelson, Jon Paul, 2020. "Fixed-effect versus random-effects meta-analysis in economics: A study of pass-through rates for alcohol beverage excise taxes," Economics Discussion Papers 2020-1, Kiel Institute for the World Economy (IfW Kiel).
    9. Ibrahim Y. Tawbe, 2023. "Environmental disclosure programs and birth weight: a meta- analysis," Working Papers 2023-02, CRESE.
    10. Devin S. Johnson & Brian M. Brost & Mevin B. Hooten, 2022. "Greater Than the Sum of its Parts: Computationally Flexible Bayesian Hierarchical Modeling," Journal of Agricultural, Biological and Environmental Statistics, Springer;The International Biometric Society;American Statistical Association, vol. 27(2), pages 382-400, June.
    11. Vanesa Bellou & Lazaros Belbasis & Ioanna Tzoulaki & Evangelos Evangelou, 2018. "Risk factors for type 2 diabetes mellitus: An exposure-wide umbrella review of meta-analyses," PLOS ONE, Public Library of Science, vol. 13(3), pages 1-27, March.
    12. Alberto Aiolfi & Emanuele Asti & Emanuele Rausa & Giulia Bonavina & Gianluca Bonitta & Luigi Bonavina, 2018. "Use of C-reactive protein for the early prediction of anastomotic leak after esophagectomy: Systematic review and Bayesian meta-analysis," PLOS ONE, Public Library of Science, vol. 13(12), pages 1-13, December.
    13. Shijie Ren & Jeremy E. Oakley & John W. Stevens, 2018. "Incorporating Genuine Prior Information about Between-Study Heterogeneity in Random Effects Pairwise and Network Meta-analyses," Medical Decision Making, , vol. 38(4), pages 531-542, May.
    14. Karthik Darmasseelane & Matthew J Hyde & Shalini Santhakumaran & Chris Gale & Neena Modi, 2014. "Mode of Delivery and Offspring Body Mass Index, Overweight and Obesity in Adult Life: A Systematic Review and Meta-Analysis," PLOS ONE, Public Library of Science, vol. 9(2), pages 1-15, February.
    15. Ying Li & JiWen Wang & XiaoJing Zhong & Zhen Tian & Peipei Wu & Wenbo Zhao & Chenjin Jin, 2014. "Refractive Error and Risk of Early or Late Age-Related Macular Degeneration: A Systematic Review and Meta-Analysis," PLOS ONE, Public Library of Science, vol. 9(3), pages 1-11, March.
    16. Ian R. White, 2011. "Multivariate random-effects meta-regression: Updates to mvmeta," Stata Journal, StataCorp LLC, vol. 11(2), pages 255-270, June.
    17. repec:osf:metaar:3bnxs_v1 is not listed on IDEAS
    18. Miao Jenny Hua & Gisela Butera & Oluwaseun Akinyemi & Deborah Porterfield, 2024. "Biases and limitations in observational studies of Long COVID prevalence and risk factors: A rapid systematic umbrella review," PLOS ONE, Public Library of Science, vol. 19(5), pages 1-19, May.
    19. Ajaree Rayanakorn & Hooi-Leng Ser & Priyia Pusparajah & Kok-Gan Chan & Bey Hing Goh & Tahir Mehmood Khan & Surasak Saokaew & Shaun Wen Huey Lee & Learn-Han Lee, 2020. "Comparative efficacy of antibiotic(s) alone or in combination of corticosteroids in adults with acute bacterial meningitis: A systematic review and network meta-analysis," PLOS ONE, Public Library of Science, vol. 15(5), pages 1-17, May.
    20. Sukhmani Sidhu & Kanchan Jain & Suresh Kumar Sharma, 2018. "Bayesian estimation of generalized gamma shared frailty model," Computational Statistics, Springer, vol. 33(1), pages 277-297, March.
    21. Rainer J Klement & Colin E Champ & Christoph Otto & Ulrike Kämmerer, 2016. "Anti-Tumor Effects of Ketogenic Diets in Mice: A Meta-Analysis," PLOS ONE, Public Library of Science, vol. 11(5), pages 1-16, May.

    More about this item

    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:boc:lsug23:16. 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 (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    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.