Sample Size Analysis Tools

powerly

Sample Size Analysis for Psychological Networks ...and more

Get Started Reference

Repository statusCRAN versionCRAN RStudio mirror downloadsCode coverageR-CMD-checkCRAN checks

powerly is an R package for conducting sample size analysis that implements the method by Constantin et al. (2021)open in new window. The implementation takes the form of a three-step recursive algorithm designed to find an optimal sample size given a model specification and an outcome measure of interest. It starts with a Monte Carlo simulation step for computing the outcome at various sample sizes. It continues with a monotone curve-fitting step for interpolating the outcome. The final step employs stratified bootstrapping to quantify the uncertainty around the fitted curve. For more details, consult the manuscriptopen in new window or check out the tutorial section.

Step 1

powerly Step 1

Step 2

powerly Step 2

Step 3

powerly Step 3