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.

`predint`

1 2 3 | ```
x <- rnorm(50)
precint(x, m=10)
nparprecint(x, m=10)
``` |

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

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