es_map: Map between various effect sizes

View source: R/power.R

es_mapR Documentation

Map between various effect sizes

Description

Map between various effect sizes

Usage

es_map(
  size,
  type = c("r", "R^2", "d", "or", "f", "f^2", "eta^2", "omega^2", "cl")
)

Arguments

size

effect size to convert (see details)

type

the effect type to convert

Details

Ported from Microsoft Excel Spreadsheet created by Jamie DeCoster on 2012-06-19 http://www.stat-help.com with the addition of R^2, f^2, and omega^2.

Expected values for type include:

r Pearson's r
R^2 Coefficient of Determination
d Cohen's d
or Odds ratio
f Cohen's f
f^2 Cohen's f^2
eta^2 Eta-squared
omega^2 Omega-squared
cl Common Language Effect Size

Value

list containing converted effects

References

Formulas for converting between f, f-squared, r-squared, eta-squared, and d were taken from:
Cohen J. (1988). Statistical Power Analysis for the Behavioral Sciences (2nd ed.), Hillsdale, NJ: Erlbaum. pp. 281, 284, 285

Formulas for converting between r and d were taken from:
Rosenthal, R. (1994). Parametric measures of effect size. In H. Cooper & L. V. Hedges (Eds.), The Handbook of Research Synthesis. New York, NY: Sage. pp. 239.

Formulas for converting between the odds ratio and d were taken from:
Borenstein, M., Hedges, L. V., Higgins, J. P. T., & Rothstein, H. R. (2009). Introduction to Meta-Analysis. Chichester, West Sussex, UK: Wiley.

Formulas for converting between the cl (also called the "Common Language Effect Size") and d were taken from:
Ruscio, J. (2008). A probability-based measure of effect size: Robustness to base rates and other factors. Psychological Methods, 13, 19-30.

Formulas for converting between f-squared and omega-squared were taken from:
Steiger, J. H. (2004). Beyond the F test: Effect size confidence intervals and tests of close fit in the analysis of variance and contrast analysis. Psychological Methods, 9(2), 164-182.

Examples

# small Cohen's d
es_map(0.20, "d")

# medium Cohen's d
es_map(0.50, "d")

# large Cohen's d
es_map(0.80, "d")

# testing code
sapply(
  unlist(
    as.list(
      formals(es_map)$type[2:10]
    )
  ),
  function(x) es_map(0.10, x)
)

the-mad-statter/washu documentation built on May 11, 2023, 7:24 p.m.