A prediction interval is a random interval designed to contain a future observation with prescribed repeated-sampling probability. Unlike a confidence interval for a mean response, it includes both uncertainty in the fitted mean and the new observation's irreducible random variation.
For independent normal random variables with unknown common mean and variance, let and . The standardized future difference is normal with variance and is independent of the residual sum of squares. Thus the ratio using the displayed standard error has Student's t-distribution with degrees of freedom. This is unconditional repeated-sampling prediction coverage, not a confidence interval for the mean.
For the full-rank normal linear model and an independent future response , putThen an exact prediction interval isThe additional one inside the square root is the future observation's irreducible error variance; a confidence interval for its mean omits it.
When a full-rank normal regression with positive residual degrees of freedom happens to fit all supplied observations exactly, its residual estimate of variance is zero. The ordinary Studentized prediction-interval formula formally collapses, but the statistic divides by zero. Under positive true Gaussian variance such samples form a null set; exact rounded or constructed data must not be treated as proof that future randomness vanishes.
Suppose independent future log responses satisfy , where the errors have variance . Conditional on a fitted normal linear model, the predicted log ratio has estimated mean and estimated varianceA Student t interval on this logarithmic scale can be exponentiated to obtain a prediction interval for the positive ratio.
Articles by others on the same topic
A prediction interval is a statistical range that is used to estimate the likely value of a single future observation based on a fitted model. It provides an interval that is expected to contain the actual value of that future observation with a specified level of confidence (e.g., 95% confidence).