Learn R Programming

vcmeta (version 1.5.0)

meta.chitest: Computes a chi-square test of effect-size homogeneity

Description

Computes a chi-square test of effect size homogeneity and p-value using effect-size estimates and their standard errors from two or more studies. This test should not be used to justify the use of a constant coeffient (fixed-effect) meta-analysis.

Usage

meta.chitest(est, se)

Value

Returns a one-row matrix:

  • Q - chi-square test statitic

  • df - degrees of freedom

  • p - p-value

Arguments

est

vector of effect-size estimates

se

vector of effect-size standard errors

References

Borenstein2009vcmeta

Examples

Run this code
est <- c(.297, .324, .281, .149) 
se <- c(.082, .051, .047, .094)
meta.chitest(est, se)

# Should return:
#         Q df         p
#  2.706526  3 0.4391195


Run the code above in your browser using DataLab