Learn R Programming

PMCMRplus (version 1.9.12)

Cochran: Cochran's distribution

Description

Distribution function and quantile function for Cochran's distribution.

Usage

qcochran(p, k, n, lower.tail = TRUE, log.p = FALSE)

pcochran(q, k, n, lower.tail = TRUE, log.p = FALSE)

Value

pcochran gives the distribution function and qcochran gives the quantile function.

Arguments

p

vector of probabilities.

k

number of groups.

n

(average) sample size of the k groups.

lower.tail

logical; if TRUE (default), probabilities are \(P[X \leq x]\) otherwise, \(P[X > x]\).

log.p

logical; if TRUE, probabilities p are given as log(p).

q

vector of quantiles.

References

Cochran, W.G. (1941) The distribution of the largest of a set of estimated variances as a fraction of their total. Ann. Eugen. 11, 47--52.

Wilrich, P.-T. (2011) Critical values of Mandel's h and k, Grubbs and the Cochran test statistic. Adv. Stat. Anal.. tools:::Rd_expr_doi("10.1007/s10182-011-0185-y").

See Also

Examples

Run this code
qcochran(0.05, 7, 3)

Run the code above in your browser using DataLab