dCorrs: Differential correlation between two conditions.
Description
Z-transforms correlation coefficients (Pearson or Spearman) and then calculates the difference in z-scores between the two conditions divided by the square root of the standard errors (which is inversely proportion to the sample sizes used to calculate the correlations).
Usage
dCorrs(rho1, n1, rho2, n2, corrType = "pearson")
Value
Numeric vector with scaled difference in z-scores of correlations between the two conditions.
Arguments
rho1
Numeric vector of correlation coefficients in condition 1.
n1
Numeric vector of the number of samples used in the correlation calculations in condition 1.
rho2
Numeric vector of correlation coefficients in condition 2.
n2
Numeric vector of the number of samples used in the correlation calculations in condition 2.
corrType
The correlation type of the analysis, limited to "pearson" or "spearman".
References
Tests For Rank Correlation Coefficients, I. http://biomet.oxfordjournals.org/content/44/3-4/470.full.pdf+html