fishersTrans: Fisher Transformation of Pearson Correlation Coefficients to...

Description Usage Arguments Details Value References Examples

View source: R/utils.R

Description

Transforms Pearsons correlation coefficients into z scores using Fishers method.

Usage

1

Arguments

rho

Integer or numeric vector of Pearson's correlation coefficients

Details

Fisher's transformation is when correlation coefficients are transformed into a z score. These z scores have an approximately normal distribution.

Value

Returns Fisher-transformed correlation coefficients

References

Fisher, R.A. (1915). "Frequency distribution of the values of the correlation coefficient in samples of an indefinitely large population". Biometrika (Biometrika Trust) 10 (4).

Examples

1
2
3
4
5
6
7
## Create integer or list of Pearson's correlation coefficients.

library(MASS)
rhoV <- as.vector(cor(t(mvrnorm(10,rep(3,100),diag(100)))))

## Determine Fisher-Transformed z scores of rho
zV <- fishersTrans(rhoV)

siskac/discordant documentation built on Feb. 11, 2022, 2:52 p.m.