Learn R Programming

reproducer (version 0.5.2)

varStandardizedEffectSize: varStandardizedEffectSize

Description

Function calculates the exact variance of a standardized effect size based on the relationship between t and the standardized effect size, see Morris and DeShon, Combining Effect Size Estimates in Meta-Analysis With Repeated Measures and Independent-Groups Designs, Psychological Methods, 7 (1), pp 105-125.

Usage

varStandardizedEffectSize(d, A, f, returnVarg = TRUE)

Value

if returnVarg if set to TRUE, return var(g) otherwise var(d)

Arguments

d

An unadjusted standardized effect size

A

The squared constant linking t and d i.e. t*sqrt(A)=d

f

The degrees of freedom of the t value

returnVarg

if set to TRUE return the variance of the small sample size adjusted standardized effect size (g), otherwise returns var(d) where d is the input parameter

Author

Barbara Kitchenham and Lech Madeyski

Examples

Run this code
d <- 0.5
varStandardizedEffectSize(d, 2 / 20, 38, returnVarg = FALSE)
# [1]  0.1047567
varStandardizedEffectSize(d, 2 / 20, 38, returnVarg = TRUE)
# [1] 0.1090516

Run the code above in your browser using DataLab