bioRxivEcologyPreprint
Upstrap for estimating power and sample size in complex models
Abstract
Power and sample size calculation are major components of statistical analyses. The upstrap resampling method introduced by Crainiceanu and Crainiceanu (2018) was proposed as a general solution to this problem but has not been assessed in numerical experiments. We evaluate the power estimation properties of the upstrap for target data sets that are larger or smaller than the original observed data set. We also expand the scope of upstrap and propose a solution to estimate the power to detect: (1) an effect size observed in the original data; and (2) an effect size chosen by a researcher. Simulations include the following scenarios: one- and two-sample t-tests; linear regression with both Gaussian and binary outcomes; multilevel mixed effects models with both Gaussian and binary outcomes. In addition, our simulations consider cases where the distribution of a covariate in the target setting is preserved and when it is purposefully changed compared to the original data set. We illustrate the approach using a reanalysis of a cluster-randomized controlled trial of malaria transmission. The GitHub repository with R code used in manuscript analyses is available at https://git.io/J0TH1. The accompanying data are publicly available.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- SSP: An R package to estimate sampling effort in studies of ecological communities
E. J. Guerra-Castro, J. C. Cajas, … M. Mascaro·bioRxiv·Mar 19, 2020
- Optimal sample size calculation for null hypothesis significance tests
J. Mudge, J. Houlahan·bioRxiv·Feb 4, 2019
- Bias in data-driven estimates of the reproducibility of univariate brain-wide association studies.
Charles D. G. Burns, Alessio Fracasso, Guillaume A. Rousselet·bioRxiv·Sep 21, 2023
- Assessment of non-linear mixed effects model-based approaches to test for drug effect using simulated data: type I error and power properties
E. Chasseloup, A. Tessier, M. O. Karlsson·bioRxiv·Apr 13, 2024
- Selective peak inference: Unbiased estimation of raw and standardized effect size at local maxima
Samuel Davenport, Thomas E. Nichols·NeuroImagePeer-reviewed·Dec 20, 2019
- Calculation of a distribution free estimate of effect size and confidence intervals using VBA/Excel
Joachim Goedhart·bioRxiv·Sep 10, 2016