Computes a confidence interval for a difference in population Pearson correlations from two independent samples.
Arguments: - alpha: alpha value for 1-alpha confidence - corr1: sample correlation between y and x in group 1 - corr2: sample correlation between y and x in group 2 - n1: sample size of group 1 - n2: sample size of group 2
Values: - lower limit, upper limit
alpha = .05
corr1 = .886
corr2 = .802
n1 = 200
n2 = 200
ci.corr.is(alpha, corr1, corr2, n1, n2)
## [1] 0.02795506 0.14571029
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.