34,679 Pages

In statistics, a prediction interval bears the same relationship to a future observation that a confidence interval bears to an unobservable population parameter.

## Example

Suppose one has drawn a sample from a normally distributed population. The mean and standard deviation of the population are unknown except insofar as they can be estimated based on the sample. It is desired to predict the next observation. Let n be the sample size; let μ and σ be respectively the unobservable mean and standard deviation of the population. Let X1, ..., Xn, be the sample; let Xn+1 be the future observation to be predicted. Let and Then it is fairly routine to show that has a Student's t-distribution with n − 1 degrees of freedom. Consequently we have where A is the 100(1 − (p/2))th percentile of Student's t-distribution with n − 1 degrees of freedom. Therefore the numbers are the endpoints of a 100p% prediction interval for Xn+1.

## See also

Community content is available under CC-BY-SA unless otherwise noted.