Learn R Programming

psych (version 1.0-33)

paired.r: Test the difference between paired correlations

Description

Test the difference between paired correlations. Given 3 variables, x, y, z, is the correlation between xy different than that between xz? If y and z are independent, this is a simple t-test. But, if they are dependent, it is a bit more complicated.

Usage

paired.r(xy, xz, yz, n)

Arguments

xy
r(xy)
xz
r(xz)
yz
r(yz)
n
Number of subjects

Value

  • t2

Details

Find a t2 statistic for the difference of two dependent correlations.

Examples

Run this code
paired.r(.5,.3, .4, 100)

Run the code above in your browser using DataLab