Skip to contents

Converts t-statistics and degrees of freedom to standardized mean differences (Cohen's d) and their sampling variances for meta-analysis.

Usage

t_to_d(t, df, n = NULL)

Arguments

t

Numeric vector or matrix of t-statistics

df

Numeric scalar or vector; degrees of freedom (matching t)

n

Numeric scalar; sample size per group (for two-sample t-tests)

Value

List with components:

d

Numeric vector or matrix; standardized mean differences

v

Numeric vector or matrix; sampling variances

See also