Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Grubbs

Grubbs distribution


Description

Distribution function and quantile function for Grubbs distribution.

Usage

qgrubbs(p, n)

pgrubbs(q, n, lower.tail = TRUE)

Arguments

p

vector of probabilities.

n

total sample size.

q

vector of quantiles.

lower.tail

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

Value

pgrubbs gives the distribution function and qgrubbs gives the quantile function.

References

Grubbs, F. E. (1950) Sample criteria for testing outlying observations. Ann. Math. Stat. 21, 27–58.

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

See Also

Examples

qgrubbs(0.05, 7)

PMCMRplus

Calculate Pairwise Multiple Comparisons of Mean Rank Sums Extended

v1.9.0
GPL (>= 3)
Authors
Thorsten Pohlert [aut, cre] (<https://orcid.org/0000-0003-3855-3025>)
Initial release
2021-01-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.