Skip to contents

2-way power analysis

Functions to run a 2-way power analysis

power_interaction()
Power analysis for interactions
power_interaction_r2()
Analytic power analysis for interactions
generate.interaction.cov.input()
Creates the input to power_interaction_r2_covs()
power_interaction_r2_covs()
Analytic interaction power analysis with covariates

3-way power analysis

Functions to run a 3-way power analysis

power_interaction_3way_r2()
Analytic power analysis for 3-way interactions

Next steps

Interpret and visualize power analysis results

power_estimate()
Power estimate
plot_power_curve()
Plot power curve
plot_simple_slope()
Simple slope plot
cor.mat.3way()
See the correlation matrix for a 3-way interaction
simple.slopes.3way()
See the simple slopes for a 3-way interaction

A single data set

Simulate and plot a single data set

generate_interaction()
Generate interaction data set
plot_interaction()
Plot interaction
test_interaction()
Test interaction

Internal functions

Internal functions that support the package

compute_adjustment()
compute_adjustment
name_key
Name key for plotting
norm2ordinal()
norm2ordinal