CIrho: Confidence intervals for Spearman's rho.

View source: R/basics.R

CIrhoR Documentation

Confidence intervals for Spearman's ρ.

Description

Using Fisher's z-transformation (atanh) and the classic normal approximation confidence intervals for a vector of correlations is computed.

Usage

CIrho(rho, N, level = 0.95)

Arguments

rho

numeric vector, must be between -1 and 1.

N

integer vector, sample sizes.

level

numeric, confidence level.

Value

A matrix with first column rho and two further columns with the lower and upper bound.

Author(s)

Philipp Doebler <philipp.doebler@googlemail.com>

Examples

CIrho(c(0.34,0.19), c(22, 48), level = 0.80)

mada documentation built on Sept. 9, 2022, 3:01 p.m.