fisher.test.cor: Fisher's correlation test

Description Usage Arguments Value Author(s) Examples

View source: R/fisher.test.cor.R

Description

Test hypotheses about the correlation using fisher's z-transform (atanh).

Usage

1
fisher.test.cor(estimate, mean, se, alternative, conf.level)

Arguments

estimate

The fisher z-transformed correlation.

mean

The fisher z-transformed null hypotheses.

se

The standard error of the estimate (usually 1/sqrt(n - 3) where n is the sample size)

alternative

specifies the alternative hypotheses.

conf.level

confidence level for the returned confidence interval.

Value

A list of values resulting from the test.

Author(s)

Anders Ellern Bilgrau <anders.ellern.bilgrau (at) gmail.com>

Examples

1
2
3
4
5
est <- matrix(3, 2, 1)
mean <- matrix(0, 2, 1)
sd <- matrix(1, 2, 1)
correlateR:::fisher.test.cor(estimate = est, mean = mean, se = sd,
                             alternative = "two.sided", conf.level = 0.95)

AEBilgrau/correlateR documentation built on Nov. 15, 2019, 9:21 a.m.