Package: InteractionPoweR 0.2.2

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. 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>.

Authors:David Baranger [aut, cre], Brandon Goldstein [ctb], Megan Finsaas [ctb], Thomas Olino [ctb], Colin Vize [ctb], Don Lynam [ctb]

InteractionPoweR_0.2.2.tar.gz
InteractionPoweR_0.2.2.zip(r-4.5)InteractionPoweR_0.2.2.zip(r-4.4)InteractionPoweR_0.2.2.zip(r-4.3)
InteractionPoweR_0.2.2.tgz(r-4.5-any)InteractionPoweR_0.2.2.tgz(r-4.4-any)InteractionPoweR_0.2.2.tgz(r-4.3-any)
InteractionPoweR_0.2.2.tar.gz(r-4.5-noble)InteractionPoweR_0.2.2.tar.gz(r-4.4-noble)
InteractionPoweR_0.2.2.tgz(r-4.4-emscripten)InteractionPoweR_0.2.2.tgz(r-4.3-emscripten)
InteractionPoweR.pdf |InteractionPoweR.html
InteractionPoweR/json (API)
NEWS

# Install 'InteractionPoweR' in R:
install.packages('InteractionPoweR', repos = c('https://dbaranger.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dbaranger/interactionpower/issues

Pkgdown site:https://dbaranger.github.io

Datasets:

On CRAN:

Conda-Forge:

4.19 score 22 stars 14 scripts 378 downloads 15 exports 57 dependencies

Last updated 8 months agofrom:5226f93c35. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 06 2025
R-4.5-winOKMar 06 2025
R-4.5-macOKMar 06 2025
R-4.5-linuxOKMar 06 2025
R-4.4-winOKMar 06 2025
R-4.4-macOKMar 06 2025
R-4.4-linuxOKMar 06 2025
R-4.3-winOKMar 06 2025
R-4.3-macOKMar 06 2025

Exports:compute_adjustmentcor.mat.3waygenerate_interactiongenerate.interaction.cov.inputnorm2ordinalplot_interactionplot_power_curveplot_simple_slopepower_estimatepower_interactionpower_interaction_3way_r2power_interaction_r2power_interaction_r2_covssimple.slopes.3waytest_interaction

Dependencies:beeswarmbootchngptclicodetoolscolorspacecpp11doParalleldplyrfansifarverforeachgenericsggbeeswarmggplot2gluegtableisobanditeratorskyotillabelinglatticelifecyclelme4magrittrMASSMatrixmgcvminqamunsellnlmenloptrpillarpkgconfigpolynompurrrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasRhpcBLASctlrlangscalesstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviporviridisLitewithr