esc_f {esc} | R Documentation |
Compute effect size from One-way Anova
Description
Compute effect size from One-way Anova with two independent groups.
Usage
esc_f(
f,
totaln,
grp1n,
grp2n,
es.type = c("d", "g", "or", "logit", "r", "f", "eta", "cox.or", "cox.log"),
study = NULL
)
Arguments
f |
The F-value of the F-test. |
totaln |
Total sample size. Either |
grp1n |
Treatment group sample size. |
grp2n |
Control group sample size. |
es.type |
Type of effect size that should be returned.
|
study |
Optional string with the study name. Using |
Value
The effect size es
, the standard error se
, the variance
of the effect size var
, the lower and upper confidence limits
ci.lo
and ci.hi
, the weight factor w
and the
total sample size totaln
.
Note
This function only applies to one-way Anova F-tests with
two independent groups, either equal or unequal sample sizes.
If es.type = "r"
, Fisher's transformation for the effect size
r
and their confidence intervals are also returned.
References
Lipsey MW, Wilson DB. 2001. Practical meta-analysis. Thousand Oaks, Calif: Sage Publications
Wilson DB. 2016. Formulas Used by the "Practical Meta-Analysis Effect Size Calculator". Unpublished manuscript: George Mason University
Examples
# unequal sample size
esc_f(f = 5.5, grp1n = 100, grp2n = 150)
# equal sample size
esc_f(f = 5.5, totaln = 200)