What Is the Fisher Z Transformation?
The Fisher z transformation converts a Pearson correlation coefficient (r) into z′ = arctanh(r), a value with an approximately normal sampling distribution and a standard error of 1/√(n − 3).
The sampling distribution of r is skewed, and the skew grows as r approaches ±1, so r cannot go into a z-test directly. Ronald A. Fisher solved this in 1915 by stretching the correlation scale near ±1. After the transformation, correlations can be tested and compared with the standard normal distribution. The Fisher z test is part of the Z Test Calculator suite. It is not Fisher's exact test, which analyses 2×2 tables.
Fisher Z Formulas
The Fisher z test uses 3 formulas: the transformation, its standard error and the back-transformation.
Converting r to z′
r = 0.42 becomes z′ = 0.4477, and r = 0.62 becomes z′ = 0.7250. Values near 0 barely change, while values near ±1 stretch out.
Standard Error (1/√(n − 3))
The standard error of z′ is 1/√(n − 3), and it depends only on the sample size. For n = 60, SE = 1/√57 = 0.1325. The standard error is the same for every value of r, which makes z′ suitable for a z-test.
Converting z′ Back to r
Back-transform the ends of a z′ confidence interval with tanh to get an interval for the correlation. The resulting interval is asymmetric around r.
Test 1: Is One Correlation Different From a Value (ρ₀)?
To test one correlation against a value ρ₀, use z = (z′ − z′₀) × √(n − 3), where z′₀ = arctanh(ρ₀). Testing ρ₀ = 0 gives the usual significance test of a correlation, and testing ρ₀ = 0.30 checks whether a correlation exceeds a benchmark from earlier research.
Test 2: Do Two Independent Correlations Differ?
To compare 2 correlations from independent samples, use z = (z′₁ − z′₂) / √(1/(n₁ − 3) + 1/(n₂ − 3)). This answers questions such as "Is the link between study time and grades stronger for online students than for campus students?".
Confidence Interval for a Correlation
To build a confidence interval for ρ, follow 3 steps:
- Transform r to z′.
- Calculate z′ ± z* × 1/√(n − 3), using z* = 1.96 for 95%.
- Back-transform both ends with tanh.
For r = 0.42 and n = 60, the 95% interval is [0.186, 0.609]. The interval excludes 0, so the correlation is significant at α = 0.05.
Assumptions
The Fisher z test needs 4 assumptions:
- Bivariate normality: each pair of variables follows a roughly bivariate normal distribution.
- Independent observations: each person contributes one pair of values.
- Independent samples (Test 2): the two correlations come from different people.
- Adequate sample size: n ≥ 10 per correlation, and preferably 30 or more.
How to Use the Fisher Z Test Calculator
To use the Fisher z test calculator, follow 4 steps:
- Choose "One correlation vs a value" or "Two independent correlations".
- Enter r and n, plus ρ₀ (Test 1) or the second r and n (Test 2).
- Choose the tail.
- Set α.
The graph plots the arctanh curve with each correlation, its confidence interval on both axes and the identity line for comparison, so the stretch near ±1 is visible. Convert the z statistic to other tail areas with the z score to p-value converter.
Fisher Z Test Examples
There are 2 worked examples below.
Example 1: Testing r Against 0.30
A study of 60 employees finds r = 0.42 between training hours and performance. Earlier studies reported ρ = 0.30.
- HypothesesH₀: ρ = 0.30, H₁: ρ ≠ 0.30
- Transformz′ = arctanh(0.42) = 0.4477, z′₀ = arctanh(0.30) = 0.3095
- Standard errorSE = 1/√57 = 0.1325
- Z statisticz = (0.4477 − 0.3095) / 0.1325 = 1.043
- P-valuep = 0.2969
- 95% CI for ρ[0.186, 0.609]
- DecisionFail to reject H₀: the correlation is consistent with 0.30.
Example 2: Comparing Correlations in Two Groups
Group 1 (n = 85) has r = 0.62 and group 2 (n = 90) has r = 0.41.
- Transformz′₁ = 0.7250, z′₂ = 0.4356
- Standard errorSE = √(1/82 + 1/87) = 0.1539
- Z statisticz = (0.7250 − 0.4356) / 0.1539 = 1.880
- P-valuep = 0.0601
- Decision0.0601 > 0.05, so fail to reject H₀ at α = 0.05; the difference is significant at α = 0.10.
Independent vs. Dependent Correlations
Use the Fisher z test for correlations from different samples, and Steiger's z test for correlations from the same sample. Correlations measured on the same people are linked, and ignoring that link gives a wrong standard error. Compare same-sample correlations with the Steiger z test.
FAQs
Why does the standard error use n − 3?
The standard error uses n − 3, since Fisher showed the variance of z′ is close to 1/(n − 3) for bivariate normal data. The 3 reflects the estimation of the two means and the correlation itself. For n = 28, SE = 1/√25 = 0.20.
Can I use Spearman correlations with the Fisher z test?
Yes, Spearman correlations can be used with the Fisher z test as an approximation. The standard error is slightly larger for Spearman's rho; one common adjustment uses √(1.06/(n − 3)). For small samples or heavy ties, a bootstrap gives more reliable results.
Does it work for negative correlations?
Yes, the Fisher z test works for negative correlations. arctanh is symmetric, so r = −0.42 becomes z′ = −0.4477. Comparing r₁ = −0.50 with r₂ = 0.20 tests the full gap across zero.
Is the Fisher z test the same as Fisher's exact test?
No, the Fisher z test and Fisher's exact test are different tests. The Fisher z test compares correlations, and Fisher's exact test checks for association in a 2×2 table of counts. Analyse small 2×2 tables with the Fisher exact test.
What is the smallest sample size I can use?
The formula needs n ≥ 4, but the Fisher z test needs about 10 to 30 observations per correlation for accurate p-values. With n = 10, the standard error is 1/√7 = 0.378, so only large differences reach significance. Measure how large a correlation is in other units with the effect size calculator.