Learn R Programming

outliers (version 0.14)

qcochran: Critical values and p-values for Cochran outlying variance test

Description

This functions calculates quantiles (critical values) and reversively p-values for Cochran test for outlying variance.

Usage

qcochran(p, n, k)
pcochran(q, n, k)

Arguments

p

vector of probabilities.

q

vector of quantiles.

n

number of values in each group (if not equal, use arithmetic mean).

k

number of groups.

Value

Vector of p-values or critical values.

References

Snedecor, G.W., Cochran, W.G. (1980). Statistical Methods (seventh edition). Iowa State University Press, Ames, Iowa.

See Also

cochran.test

Examples

Run this code
# NOT RUN {
qcochran(0.05,5,5)
pcochran(0.293,5,5)
# }

Run the code above in your browser using DataLab