corFisher {sasLM}R 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 accepts only 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 confidence interval

upper

upper limit of confidence 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)

[Package sasLM version 0.10.4 Index]