InteractionPoweR
0.2.4Power Analyses for Interaction Effects in Cross-Sectional Regressions
Overview
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.
Install
Health
- OK2026-03-2814 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 88%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Issues over time
Repository practices
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/dbaranger/interactionpower on 2026-07-30.
Dependencies
Code & Tests
Datasets
People & History
5 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2022-08-24
- Total releases
- 5 / 4 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 0.4 KB / 1 file
- Download size
- 272 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet