ANOVA_power_simulation
ANOVA_power_simulation copied to clipboard
Code to simulate factorial ANOVA's
Effect size and power is not too coarse (2 digits) - especially for effect size should be 3 digits at least.
Code needs to be switched around (now the df is created too early). Would allow us to plot the data (datapoints) in addition to means.
Not a major issue and probably easy enough to resolve. But a limitation we might want to fix one day.
Should we rename some variables used in the functions? We now use df, r, and these seem to be better changed?
Add date and time stamp to shiny app markdown file
Calculate less biased effect sizes: result.anova SSb
like explained here http://disjointedthinking.jeffhughes.ca/2017/09/power-simulations-r/