convert_d2etasq: Convert effect size d into Eta Squared

Description Usage Arguments Value References Examples

View source: R/convert_d2etasq.R

Description

Compute effect size Eta Squared from effect size d.

Usage

1
convert_d2etasq(d, se, v, grp1n, grp2n, info = NULL, study = NULL)

Arguments

d

The effect size d.

se

The standard error of d. One of se or v must be specified.

v

The variance of d. One of se or v must be specified.

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 combine_esc or as.data.frame on esc-objects will add this as column in the returned data frame.

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

1
2
# d to eta squared
convert_d2etasq(d = 0.7, se = 0.5, grp1n = 70, grp2n = 80)

esc documentation built on Dec. 4, 2019, 5:07 p.m.