es.anova.f | R Documentation |
Calculates teh Cohen f effect size for a one- or two-way ANOVA. Takes as input the cell or group means for a one- or two-way ANOVA and the common standard deviation and outputs the f effect size, as defined by Cohen (1988). Note that this effect size calculation is only valid when cell/group sizes are equal.
es.anova.f(means = NULL, sd = NULL, v = TRUE)
means |
A vector or matrix of group means. |
sd |
The estimated standard deviation within each group. |
v |
Either TRUE for verbose output or FALSE to output computed argument only. |
Cohen J (1988) Statistical Power Analysis for the Behavioral Sciences, 2nd edition. Lawrence Erlbaum Associates, Hillsdale, New Jersey
Various calculated f effect sizes.
es.anova.f(means = c(5, 10, 12), sd = 10)
mmatrix <- matrix(c(9.3, 8.9, 8.5, 8.7, 8.3, 7.9), nrow = 2, byrow = TRUE)
es.anova.f(means = mmatrix, sd = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.