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

Peer review:

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

Datasets:

On CRAN:

4.42 score 19 stars 14 scripts 378 downloads 15 exports 54 dependencies

Last updated 5 months agofrom:5226f93c35. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-winOKNov 06 2024
R-4.5-linuxOKNov 06 2024
R-4.4-winOKNov 06 2024
R-4.4-macOKNov 06 2024
R-4.3-winOKNov 06 2024
R-4.3-macOKNov 06 2024

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:beeswarmbootchngptclicodetoolscolorspacecpp11doParalleldplyrfansifarverforeachgenericsggbeeswarmggplot2gluegtableisobanditeratorskyotillabelinglatticelifecyclelme4magrittrMASSMatrixmgcvminqamunsellnlmenloptrpillarpkgconfigpolynompurrrR6RColorBrewerRcppRcppEigenRhpcBLASctlrlangscalesstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviporviridisLitewithr