IDEAS home Printed from https://ideas.repec.org/a/plo/pcbi00/1010061.html
   My bibliography  Save this article

Analyzing nested experimental designs—A user-friendly resampling method to determine experimental significance

Author

Listed:
  • Rishikesh U Kulkarni
  • Catherine L Wang
  • Carolyn R Bertozzi

Abstract

While hierarchical experimental designs are near-ubiquitous in neuroscience and biomedical research, researchers often do not take the structure of their datasets into account while performing statistical hypothesis tests. Resampling-based methods are a flexible strategy for performing these analyses but are difficult due to the lack of open-source software to automate test construction and execution. To address this, we present Hierarch, a Python package to perform hypothesis tests and compute confidence intervals on hierarchical experimental designs. Using a combination of permutation resampling and bootstrap aggregation, Hierarch can be used to perform hypothesis tests that maintain nominal Type I error rates and generate confidence intervals that maintain the nominal coverage probability without making distributional assumptions about the dataset of interest. Hierarch makes use of the Numba JIT compiler to reduce p-value computation times to under one second for typical datasets in biomedical research. Hierarch also enables researchers to construct user-defined resampling plans that take advantage of Hierarch’s Numba-accelerated functions.Author summary: An important step in analyzing experimental data is quantifying uncertainty in the experimenter’s conclusions. One mechanism for doing so is by using a statistical hypothesis test, which allows the experimenter to control what percentage of the time they make erroneous conclusions over the course of their career. Biological experimental designs often have hierarchical data-gathering schemes that traditional hypothesis tests are not well-suited for (for example, an experimenter may make measurements of several tissue samples that were collected from subjects who were given a treatment). While traditional tests can be adapted to hierarchical experimental designs, we propose a simple resampling-based hypothesis test that applies to a variety of experimental designs while maintaining control over error rate. In this manuscript, we describe Hierarch, the Python package that enables users to carry out this test and validate it under several conditions.

Suggested Citation

  • Rishikesh U Kulkarni & Catherine L Wang & Carolyn R Bertozzi, 2022. "Analyzing nested experimental designs—A user-friendly resampling method to determine experimental significance," PLOS Computational Biology, Public Library of Science, vol. 18(5), pages 1-26, May.
  • Handle: RePEc:plo:pcbi00:1010061
    DOI: 10.1371/journal.pcbi.1010061
    as

    Download full text from publisher

    File URL: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1010061
    Download Restriction: no

    File URL: https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1010061&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pcbi.1010061?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Erika L Moen & Catherine J Fricano-Kugler & Bryan W Luikart & A James O’Malley, 2016. "Analyzing Clustered Data: Why and How to Account for Multiple Observations Nested within a Study Participant?," PLOS ONE, Public Library of Science, vol. 11(1), pages 1-17, 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. Anesu Gelfand Kuhudzai & Guido Van Hal & Stefan Van Dongen & Muhammad Ehsanul Hoque, 2022. "Modelling of South African Hypertension: Application of Panel Quantile Regression," IJERPH, MDPI, vol. 19(10), pages 1-10, May.
    2. McNabb, Carolyn Beth & Murayama, Kou, 2021. "Unnecessary reliance on multilevel modelling to analyse nested data in neuroscience: When a traditional summary-statistics approach suffices," OSF Preprints h4s9f, Center for Open Science.
    3. Shahin Davoudpour, 2024. "Superficial Allies: The Role of Legal Inclusion and Social Obedience in Stigma Processes," Sociological Research Online, , vol. 29(1), pages 101-119, March.
    4. repec:osf:osfxxx:h4s9f_v1 is not listed on IDEAS

    More about this item

    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:plo:pcbi00:1010061. 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: ploscompbiol (email available below). General contact details of provider: https://journals.plos.org/ploscompbiol/ .

    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.