powered by
Provides statistical inference upon the difference between two independent correlations.
corr_diff(r1, n1, r2, n2, conf.int = 0.9, plot = FALSE)
correlation of group 1
sample size of group 1
correlation of group 2
sample size of group 2
(optional) confidence level of the interval. Defaults to 0.90
0.90
(optional) logical indicator specifying to print associated plot. Defaults to FALSE
FALSE
Refer to vignette for further information.
Zou GY. (2007). Toward using confidence intervals to compare correlations. Psychological Methods, 12, 399-413.
# NOT RUN { corr_diff(r1 = 0.20, n1 = 71, r2 = 0.55, n2 = 46) # }
Run the code above in your browser using DataLab