Convert a Pearson correlation coefficient to Fisher's \(z\) scale and back. The transformation stabilizes the variance of the correlation coefficient and yields approximately normally distributed values.
Value
A numeric vector as follows:
fisherZFisher \(z\)-transformed values.
fisherZInvcorrelation coefficients.
Details
The forward transformation is defined as $$ z = \tanh^{-1}(r) = \frac{1}{2}\log\left(\frac{1 + r}{1 - r}\right), $$ and the inverse transformation as $$ r = \tanh(z). $$
Fisher's \(z\)-transformation is commonly used to construct confidence intervals and perform hypothesis tests for correlation coefficients.
See also
Other test.correlation:
corTest()
