ci.cor2 | R Documentation |
Computes a confidence interval for a difference in population Pearson correlations in a 2-group design. A bias adjustment is used to reduce the bias of each Fisher transformed correlation.
ci.cor2(alpha, cor1, cor2, n1, n2)
alpha |
alpha level for 1-alpha confidence |
cor1 |
estimated Pearson correlation for group 1 |
cor2 |
estimated Pearson correlation for group 2 |
n1 |
sample size for group 1 |
n2 |
sample size for group 2 |
Returns a 1-row matrix. The columns are:
Estimate - estimated correlation difference
SE - standard error
LL - lower limit of the confidence interval
UL - upper limit of the confidence interval
Zou2007statpsych
ci.cor2(.05, .886, .802, 200, 200)
# Should return:
# Estimate SE LL UL
# 0.084 0.02967934 0.02803246 0.1463609
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.