convert_d2etasq {esc} | R Documentation |
Convert effect size d into Eta Squared
Description
Compute effect size Eta Squared from effect size d
.
Usage
convert_d2etasq(d, se, v, grp1n, grp2n, info = NULL, study = NULL)
Arguments
d |
The effect size |
se |
The standard error of |
v |
The variance of |
grp1n |
Treatment group sample size. |
grp2n |
Control group sample size. |
info |
String with information on the transformation. Used for the print-method. Usually, this argument can be ignored |
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
.
References
Cohen J. 1988. Statistical Power Analysis for the Behavioral Sciences. 2nd ed. Hillsdale, NJ: Erlbaum
Examples
# d to eta squared
convert_d2etasq(d = 0.7, se = 0.5, grp1n = 70, grp2n = 80)