From Wikipedia, the free encyclopedia
Statistical transformation
A graph of the transformation (in orange). The untransformed sample correlation coefficient is plotted on the horizontal axis, and the transformed coefficient is plotted on the vertical axis. The identity function (gray) is also shown for comparison.
In statistics, the Fisher transformation (or Fisher z-transformation) of a Pearson correlation coefficient is its inverse hyperbolic tangent (artanh). When the sample correlation coefficient r is near 1 or -1, its distribution is highly skewed, which makes it difficult to estimate confidence intervals and apply tests of significance for the population correlation coefficient Ï.123 The Fisher transformation solves this problem by yielding a variable whose distribution is approximately normally distributed, with a variance that is stable over different values of r.
Given a set of N bivariate sample pairs (Xi, Yi), i = 1, âŠ, N, the sample correlation coefficient r is given by
Here stands for the covariance between the variables and and stands for the standard deviation of the respective variable. Fisherâs z-transformation of r is defined as
where âlnâ is the natural logarithm function and âartanhâ is the inverse hyperbolic tangent function.
If (X, Y) has a bivariate normal distribution with correlation Ï and the pairs (Xi, Yi) are independent and identically distributed, then z is approximately normally distributed with mean
and a standard deviation which does not depend on the value of the correlation rho (i.e., a Variance-stabilizing transformation)
where N is the sample size, and Ï is the true correlation coefficient.
This transformation, and its inverse
can be used to construct a large-sample confidence interval for r using standard normal theory and derivations. See also application to partial correlation.
Fisher Transformation with and . Illustrated is the exact probability density function of (in black), together with the probability density functions of the usual Fisher transformation (blue) and that obtained by including extra terms that depend on (red). The latter approximation is visually indistinguishable from the exact answer (its maximum error is 0.3%, compared to 3.4% of basic Fisher).
Hotelling gives a concise derivation of the Fisher transformation.4
To derive the Fisher transformation, one starts by considering an arbitrary increasing, twice-differentiable function of , say . Finding the first term in the large- expansion of the corresponding skewness results5 in
Setting and solving the corresponding differential equation for yields the inverse hyperbolic tangent function.
Similarly expanding the mean m and variance v of , one gets
m =
and
v =
respectively.
The extra terms are not part of the usual Fisher transformation. For large values of and small values of they represent a large improvement of accuracy at minimal cost, although they greatly complicate the computation of the inverse â a closed-form expression is not available. The near-constant variance of the transformation is the result of removing its skewness â the actual improvement is achieved by the latter, not by the extra terms. Including the extra terms, i.e., computing (z-m)/v1/2, yields:
which has, to an excellent approximation, a standard normal distribution.6
Calculator for the confidence belt of r-squared values (or coefficient of determination/explanation or goodness of fit).7
The application of Fisherâs transformation can be enhanced using a software calculator as shown in the figure. Assuming that the r-squared value found is 0.80, that there are 30 data [clarification needed], and accepting a 90% confidence interval, the r-squared value in another random sample from the same population may range from 0.656 to 0.888. When r-squared is outside this range, the population is considered to be different.
The Fisher transformation is an approximate variance-stabilizing transformation for r when X and Y follow a bivariate normal distribution. This means that the variance of z is approximately constant for all values of the population correlation coefficient Ï. Without the Fisher transformation, the variance of r grows smaller as |Ï| gets closer to 1. Since the Fisher transformation is approximately the identity function when |r|Â <Â 1/2, it is sometimes useful to remember that the variance of r is well approximated by 1/N as long as |Ï| is not too large and N is not too small. This is related to the fact that the asymptotic variance of r is 1 for bivariate normal data.
The behavior of this transform has been extensively studied since Fisher introduced it in 1915. Fisher himself found the exact distribution of z for data from a bivariate normal distribution in 1921; Gayen in 19518 determined the exact distribution of z for data from a bivariate Type A Edgeworth distribution. Hotelling in 1953 calculated the Taylor series expressions for the moments of z and several related statistics9 and Hawkins in 1989 discovered the asymptotic distribution of z for data from a distribution with bounded fourth moments.10
An alternative to the Fisher transformation is to use the exact confidence distribution density for Ï given by1112 where is the Gaussian hypergeometric function and .
While the Fisher transformation is mainly associated with the Pearson product-moment correlation coefficient for bivariate normal observations, it can also be applied to Spearmanâs rank correlation coefficient in more general cases.13 A similar result for the asymptotic distribution applies, but with a minor adjustment factor: see the cited article for details.
- Data transformation (statistics)
- Meta-analysis (this transformation is used in meta analysis for stabilizing the variance)
- Partial correlation
- Pearson correlation coefficient § Inference
Footnotes
-
Fisher, R. A. (1915). âFrequency distribution of the values of the correlation coefficient in samples of an indefinitely large populationâ. Biometrika. 10 (4): 507â521. doi:10.2307/2331838. hdl:2440/15166. JSTORÂ 2331838. â©
-
Fisher, R. A. (1921). âOn the âprobable errorâ of a coefficient of correlation deduced from a small sampleâ (PDF). Metron. 1: 3â32. â©
-
Rick Wicklin. Fisherâs transformation of the correlation coefficient. September 20, 2017. https://blogs.sas.com/content/iml/2017/09/20/fishers-transformation-correlation.html. Accessed Feb 15,2022. â©
-
Hotelling, Harold (1953). âNew Light on the Correlation Coefficient and its Transformsâ. Journal of the Royal Statistical Society, Series B (Methodological). 15 (2): 193â225. doi:10.1111/j.2517-6161.1953.tb00135.x. ISSNÂ 0035-9246. â©
-
Winterbottom, Alan (1979). âA Note on the Derivation of Fisherâs Transformation of the Correlation Coefficientâ. The American Statistician. 33 (3): 142â143. doi:10.2307/2683819. ISSNÂ 0003-1305. JSTORÂ 2683819. â©
-
Vrbik, Jan (December 2005). âPopulation moments of sampling distributionsâ. Computational Statistics. 20 (4): 611â621. doi:10.1007/BF02741318. S2CIDÂ 120592303. â©
-
Gayen, A. K. (1951). âThe Frequency Distribution of the Product-Moment Correlation Coefficient in Random Samples of Any Size Drawn from Non-Normal Universesâ. Biometrika. 38 (1/2): 219â247. doi:10.1093/biomet/38.1-2.219. JSTORÂ 2332329. â©
-
Hotelling, H (1953). âNew light on the correlation coefficient and its transformsâ. Journal of the Royal Statistical Society, Series B. 15 (2): 193â225. JSTORÂ 2983768. â©
-
Hawkins, D. L. (1989). âUsing U statistics to derive the asymptotic distribution of Fisherâs Z statisticâ. The American Statistician. 43 (4): 235â237. doi:10.2307/2685369. JSTORÂ 2685369. â©
-
Taraldsen, Gunnar (2021). âThe Confidence Density for Correlationâ. Sankhya A. doi:10.1007/s13171-021-00267-y. hdl:11250/3133125. ISSNÂ 0976-8378. S2CIDÂ 244594067. â©
-
Taraldsen, Gunnar (2020). âConfidence in Correlationâ. doi:10.13140/RG.2.2.23673.49769. â©
-
Zar, Jerrold H. (2005). âSpearman Rank Correlation: Overviewâ. Encyclopedia of Biostatistics. doi:10.1002/9781118445112.stat05964. ISBNÂ 9781118445112. â©