transformRtoHg function

transformRtoHg

transformRtoHg

This function coverts a vector of point bi-serial r values with associated sample size information back to the mean difference effect size Hedges g.

transformRtoHg(r, Nc, Nt)

Arguments

  • r: A vector of point bi-serial correlation values.
  • Nc: A vector of the number of observations in the control condition for the related experiments.
  • Nt: A vector of the number of observations in the treatment condition for the related experiments.

Returns

value of Hedges' g

Examples

transformRtoHg(c(0.4, 0.2), c(20, 20), c(20, 20)) # [1] 0.8728716 0.4082483

Author(s)

Barbara Kitchenham and Lech Madeyski