Description Usage Arguments Details Value Author(s) References See Also Examples
The function computes the Fisher z transformation useful to calculate the confidence interval of Pearson's correlation coefficient.
1 |
x |
value, e.g. Pearson's correlation coefficient |
inv |
|
eps |
tolerance for extreme cases, i.e. |x| \approx 1 when inv = |x| \approx Inf when inv = |
The sampling distribution of Pearson's ρ is not normally distributed. R. A. Fisher developed a transformation now called “Fisher's z transformation” that converts Pearson's ρ to the normally distributed variable z. The formula for the transformation is
z = 1 / 2 [ \log(1 + ρ) - \log(1 - ρ) ]
Two attributes of the distribution of the z statistic: (1) It is normally distributed and (2) it has a known standard error of
σ_z = 1 / √{N - 3}
where N is the number of samples.
Fisher's z is used for computing confidence intervals on Pearson's correlation and for confidence intervals on the difference between correlations.
Fisher's z statistic
Benjamin Haibe-Kains
R. A. Fisher (1915) "Frequency distribution of the values of the correlation coefficient in samples of an indefinitely large population". Biometrika, 10,pages 507–521.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.