nptl: Nonparametric Upper Tolerance Limit

Description Usage Arguments Value Note Author(s) References Examples

Description

Given a random sample of size n from a continuous distribution, then, with a confidence level of at least γ, at least 100p percent of the population will be below the kth largest value in the sample.

Usage

1
nptl(n , p = 0.95, gam = 0.95)

Arguments

n

the sample size

p

probability for Xp the 100pth percentile. Default is 0.95

gam

one-sided confidence level γ. Default is 0.95

Value

k

index of the order statistic

Note

The maximum non-detect must be less than the kth largest value.

Author(s)

E. L. Frome

References

Sommerville, P. N. (1958), "Tables for Obtaining Non-Parametric Confidence Limits," Annals of Mathematical Statistics, 29, 599-601.

Examples

1
2
3
data(beTWA)
k<- nptl(length(beTWA[,1]))
rev(sort(beTWA[,1]))[k]


Search within the STAND package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.