Description Usage Arguments Value References See Also Examples
Calculates parametric and non-parametric prediction intervals to contain the mean of m future observations given a observed sample
1 2  | precint(x, m, level=0.95, alternative="two.sided")
nparprecint(x, m, level=0.95, alternative="two.sided")
 | 
x | 
 A numeric vector with a sample of observations  | 
m | 
 Size of future sample  | 
level | 
 Confidence level  | 
alternative | 
 One of "two.sided", "less", or "greater" to calculate two- or one-sided intervals  | 
 An object inheriting from class
PrecInterval, or nparPrecInterval
Hahn, GJ and Meeker, WQ (1991): Statistical Intervals. Wiley, New York.
Chakraborti, S., Van der Laan, P., Van de Wiel, M.A. (2004): A class of distribution-free control charts. Applied Statistics 53(3):443-462.
1 2 3  | x <- rnorm(50)
precint(x, m=10)
nparprecint(x, m=10)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.