Skip to contents

Main functions

Functions for power analysis and simulation.

power_curve()
Simulate ANOVA power from a balanced factorial design
power_n()
Search for the sample size needed for target ANOVA power
plot_power_curve()
Plot a simulation-based power curve
print(<anovapowersim_curve>)
Print an anovapowersim power curve
summary(<anovapowersim_curve>)
Summarise an anovapowersim power curve

Design components

Component functions for power analyses.

balanced_anova_design()
Create a balanced factorial ANOVA design specification
design_term_means()
Build calibrated default means for a design term
simulate_design_dataset()
Simulate data from a balanced ANOVA design
compute_scale_factor()
Compute the mean-deviation scaling factor from a change in partial eta squared