q_stat_test_homo_r {kim} | R Documentation |
Q statistic for testing homogeneity of correlations
Description
Calculate the Q statistic to test for homogeneity of correlation coefficients. See p. 235 of the book Hedges & Olkin (1985), Statistical Methods for Meta-Analysis (ISBN: 0123363802).
Usage
q_stat_test_homo_r(z = NULL, n = NULL)
Arguments
z |
a vector of z values |
n |
a vector of sample sizes which will be used to calculate the weights, which in turn will be used to calculate the weighted z. |
Value
the output will be a weighted z value.
Examples
q_stat_test_homo_r(1:3, c(100, 200, 300))
q_stat_test_homo_r(z = c(1:3, NA), n = c(100, 200, 300, NA))
[Package kim version 0.5.422 Index]