InteractionPoweR: Power Analyses for Interaction Effects in Cross-Sectional
Regressions
Power analysis for regression models which test the interaction of
two or three independent variables on a single dependent variable. Includes options
for correlated interacting variables and specifying variable reliability.
Two-way interactions can include continuous, binary, or ordinal variables.
Power analyses can be done either analytically or via simulation. Includes
tools for simulating single data sets and visualizing power analysis results.
The primary functions are power_interaction_r2() and power_interaction() for two-way
interactions, and power_interaction_3way_r2() for three-way interactions. The function
run_pos_power_search() provides a stability analysis for two-way interactions.
Please cite as: Baranger DAA, Finsaas MC, Goldstein BL, Vize CE, Lynam DR,
Olino TM (2023). "Tutorial: Power analyses for interaction effects in
cross-sectional regressions." <doi:10.1177/25152459231187531>.
If you use the stability analyses, please cite: Castillo A, Miller JD, Vize C,
Baranger DAA, Lynam DR. "When Do Interaction/Moderation Effects Stabilize in
Linear Regression?"<doi:10.1177/25152459251407860>.
| Version: |
0.2.4 |
| Depends: |
R (≥ 3.5.0) |
| Imports: |
dplyr, parallel, doParallel, foreach, ggplot2, polynom, chngpt, rlang, tidyr, stats, ggbeeswarm, Matrix |
| Published: |
2026-03-24 |
| DOI: |
10.32614/CRAN.package.InteractionPoweR |
| Author: |
David Baranger [aut, cre],
Andrew Castillo [aut],
Brandon Goldstein [ctb],
Megan Finsaas [ctb],
Thomas Olino [ctb],
Colin Vize [ctb],
Don Lynam [ctb] |
| Maintainer: |
David Baranger <dbaranger at gmail.com> |
| BugReports: |
https://github.com/dbaranger/InteractionPoweR/issues |
| License: |
GPL (≥ 3) |
| URL: |
https://dbaranger.github.io/InteractionPoweR/,
https://doi.org/10.1177/25152459231187531,
https://doi.org/10.1177/25152459251407860 |
| NeedsCompilation: |
no |
| Citation: |
InteractionPoweR citation info |
| Materials: |
README, NEWS |
| CRAN checks: |
InteractionPoweR results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=InteractionPoweR
to link to this page.