corFisher: Correlation test by Fisher's Z transformation

View source: R/corFisher.R

corFisherR Documentation

Correlation test by Fisher's Z transformation

Description

Testing correlation between two numeric vectors by Fisher's Z transformation

Usage

  corFisher(x, y, conf.level=0.95, rho=0) 

Arguments

x

the first input numeric vector

y

the second input numeric vector

conf.level

confidence level

rho

population correlation rho under null hypothesis

Details

This only accept two numeric vectors.

Value

N

sample size, length of input vectors

r

sample correlation

Fisher.z

Fisher's z

bias

bias to correct

rho.hat

point estimate of population rho

conf.level

confidence level for the confidence interval

lower

lower limit of condidence interval

upper

upper limit of condidence interval

rho0

population correlation rho under null hypothesis

p.value

p value under the null hypothesis

Author(s)

Kyun-Seop Bae k@acr.kr

References

Fisher RA. Statistical Methods for Research Workers. 14e. 1973

Examples

  corFisher(mtcars$disp, mtcars$hp, rho=0.6)

sasLM documentation built on Nov. 10, 2022, 5:07 p.m.