pwrss

Statistical Power and Sample Size Calculation Tools

CRAN Package

Statistical power and minimum required sample size calculations for (1) testing a proportion (one-sample) against a constant, (2) testing a mean (one-sample) against a constant, (3) testing difference between two proportions (independent samples), (4) testing difference between two means or groups (parametric and non-parametric tests for independent and paired samples), (5) testing a correlation (one-sample) against a constant, (6) testing difference between two correlations (independent samples), (7) testing a single coefficient in multiple linear regression, logistic regression, and Poisson regression (with standardized or unstandardized coefficients, with no covariates or covariate adjusted), (8) testing an indirect effect (with standardized or unstandardized coefficients, with no covariates or covariate adjusted) in the mediation analysis (Sobel, Joint, and Monte Carlo tests), (9) testing an R-squared against zero in linear regression, (10) testing an R-squared difference against zero in hierarchical regression, (11) testing an eta-squared or f-squared (for main and interaction effects) against zero in analysis of variance (could be one-way, two-way, and three-way), (12) testing an eta-squared or f-squared (for main and interaction effects) against zero in analysis of covariance (could be one-way, two-way, and three-way), (13) testing an eta-squared or f-squared (for between, within, and interaction effects) against zero in one-way repeated measures analysis of variance (with non-sphericity correction and repeated measures correlation), and (14) testing goodness-of-fit or independence for contingency tables. Alternative hypothesis can be formulated as "not equal", "less", "greater", "non-inferior", "superior", or "equivalent" in (1), (2), (3), and (4); as "not equal", "less", or "greater" in (5), (6), (7) and (8); but always as "greater" in (9), (10), (11), (12), (13), and (14). Reference: Bulus and Polat (2023) https://osf.io/ua5fc.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 1,421 times in the last 30 days. Now we’re talking! This work is officially 'heard of in academic circles', just like those wild research papers on synthetic bananas. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 23 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 16, 2025
0 downloadsMar 17, 2025
0 downloadsMar 18, 2025
0 downloadsMar 19, 2025
0 downloadsMar 20, 2025
57 downloadsMar 21, 2025
21 downloadsMar 22, 2025
33 downloadsMar 23, 2025
72 downloadsMar 24, 2025
63 downloadsMar 25, 2025
60 downloadsMar 26, 2025
49 downloadsMar 27, 2025
69 downloadsMar 28, 2025
12 downloadsMar 29, 2025
21 downloadsMar 30, 2025
63 downloadsMar 31, 2025
64 downloadsApr 1, 2025
48 downloadsApr 2, 2025
62 downloadsApr 3, 2025
41 downloadsApr 4, 2025
13 downloadsApr 5, 2025
26 downloadsApr 6, 2025
49 downloadsApr 7, 2025
59 downloadsApr 8, 2025
48 downloadsApr 9, 2025
73 downloadsApr 10, 2025
43 downloadsApr 11, 2025
49 downloadsApr 12, 2025
34 downloadsApr 13, 2025
61 downloadsApr 14, 2025
57 downloadsApr 15, 2025
55 downloadsApr 16, 2025
49 downloadsApr 17, 2025
47 downloadsApr 18, 2025
23 downloadsApr 19, 2025
12
73

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 13,519 times in the last 365 days. That's enough downloads to make it mildly famous in niche technical communities. A badge of honor! The day with the most downloads was Sep 11, 2024 with 136 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Suggests2 packages