umx_r_test: Test the difference between correlations for significance.
Description
umx_r_test is a wrapper around the cocor test of difference between correlations.
Usage
umx_r_test(data = NULL, vars = vars, alternative = c("two.sided",
"greater", "less"))
Arguments
data
the dataset
vars
the 4 vars needed: "j & k" and "h & m"
alternative
two (default) or one-sided (greater less) test
Value
-
Details
Currently it handles the test of whether r.jk and r.hm differ in magnitude.
i.e, two non-overlapping (no variable in common) correlations in the same dataset.
In the future it will be expanded to handle overlapping correlations, and to take correlation matrices as input.