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 |
| Reference manual: | InteractionPoweR.html , InteractionPoweR.pdf |
| Package source: | InteractionPoweR_0.2.4.tar.gz |
| Windows binaries: | r-devel: InteractionPoweR_0.2.4.zip, r-release: InteractionPoweR_0.2.4.zip, r-oldrel: InteractionPoweR_0.2.4.zip |
| macOS binaries: | r-release (arm64): InteractionPoweR_0.2.4.tgz, r-oldrel (arm64): InteractionPoweR_0.2.2.tgz, r-release (x86_64): InteractionPoweR_0.2.4.tgz, r-oldrel (x86_64): InteractionPoweR_0.2.4.tgz |
| Old sources: | InteractionPoweR archive |
| Reverse imports: | simpr.interaction |
Please use the canonical form https://CRAN.R-project.org/package=InteractionPoweR to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.