powered by
Compute the required per-group sample size for the LANOVA test.
ss.lanova(k, r_sqrd, power = 0.8, alpha = 0.05)
the number of groups.
the expected explained variance (on the logged scale)
the desired statistical power (default=.8)
the significance level (default=.05)
the per-group sample size requirement
Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Hillsdale,NJ: Lawrence Erlbaum.
# NOT RUN { ss.lanova(3,.01,.14,.05) # }
Run the code above in your browser using DataLab