Compute effect size from Mean and Standard Error.

esc_mean_se(
  grp1m,
  grp1se,
  grp1n,
  grp2m,
  grp2se,
  grp2n,
  r,
  es.type = c("d", "g", "or", "logit", "r", "f", "eta", "cox.or", "cox.log"),
  study = NULL
)

Arguments

grp1m

The mean of the first group.

grp1se

The standard error of the first group.

grp1n

The sample size of the first group.

grp2m

The mean of the second group.

grp2se

The standard error of the second group.

grp2n

The sample size of the second group.

r

Correlation for within-subject designs (paired samples, repeated measures).

es.type

Type of effect size that should be returned.

"d"

returns standardized mean difference effect size d

"f"

returns effect size Cohen's f

"g"

returns adjusted standardized mean difference effect size Hedges' g

"or"

returns effect size as odds ratio

"cox.or"

returns effect size as Cox-odds ratio (see convert_d2or for details)

"logit"

returns effect size as log odds

"cox.log"

returns effect size as Cox-log odds (see convert_d2logit for details)

"r"

returns correlation effect size r

"eta"

returns effect size eta squared

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.

Note

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

esc_mean_se(grp1m = 7, grp1se = 1.5, grp1n = 50, grp2m = 9, grp2se = 1.8, grp2n = 60, es.type = "or")
#> #> Effect Size Calculation for Meta Analysis #> #> Conversion: mean and se to effect size odds ratios #> Effect Size: 0.7468 #> Standard Error: 0.3479 #> Variance: 0.1210 #> Lower CI: 0.3777 #> Upper CI: 1.4769 #> Weight: 8.2634