Prediction interval
In statistical inference, specifically predictive inference, a prediction interval is an estimate of an interval in which a future observation will fall, with a certain probability, given what has already been observed. Prediction intervals are often used in regression analysis. A simple example is given by a six-sided dice with face values ranging from 1 to 6. The confidence interval for the estimated expected value of the face value will be around 3.5 and will become narrower with a larger sample size. However, the prediction interval for the next roll will approximately range from 1 to 6, even with any number of sampling points seen so far. Prediction intervals are used in both... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
In statistical inference, specifically predictive inference, a prediction interval is an estimate of an interval in which a future observation will fall, with a certain probability, given what has already been observed. Prediction intervals are often used in regression analysis. A simple example is given by a six-sided dice with face values ranging from 1 to 6. The confidence interval for the estimated expected value of the face value will be around 3.5 and will become narrower with a larger sample size. However, the prediction interval for the next roll will approximately range from 1 to 6, even with any number of sampling points seen so far. Prediction intervals are used in both frequentist statistics and Bayesian statistics: a prediction interval bears the same relationship to a future observation that a frequentist confidence interval or Bayesian credible interval bears to an unobservable population parameter: prediction intervals predict the distribution of individual future points, whereas confidence intervals and credible intervals of parameters predict the distribution of estimates of the true population mean or other quantity of interest that cannot be observed. \gamma=P(\ell where Z=\frac{X-\mu}{\sigma} , the standard score of X, is distributed as standard normal. Hence \frac{\ell-\mu} \sigma = -z, \quad \frac{u-\mu} \sigma = z, or \ell=\mu-z\sigma, \quad u=\mu+z\sigma, with z the quantile in the standard normal distribution for which: \gamma=P(-z or equivalently; \tfrac 12(1-\gamma)=P(Z>z). ) given from z (the quantile of the standard score, on the x-axis). The y-axis is logarithmically compressed (but the values on it are not modified). The prediction interval is conventionally written as: \left[\mu- z\sigma,\ \mu + z\sigma \right]. For example, to calculate the 95% prediction interval for a normal distribution with a mean (μ) of 5 and a standard deviation (σ) of 1, then z is approximately 2. Therefore, the lower limit of the prediction interval is approximately 5 ‒ (2⋅1) = 3, and the upper limit is approximately 5 + (2⋅1) = 7, thus giving a prediction interval of approximately 3 to 7. for the normal distribution with mean (μ) 0 and variance (σ 2 ) 1. In addition to the quantile function, the prediction interval for any standard score can be calculated by (1 − (1 − Φ μ,σ 2 (standard score))⋅2). For example, a standard score of x = 1.96 gives Φ μ,σ 2 (1.96) = 0.9750 corresponding to a prediction interval of (1 − (1 − 0.9750)⋅2) = 0.9500 = 95%. \overline{X} = (X_1+\cdots+X_n)/n and the (unbiased) sample variance: S^2 = {1 \over n-1}\sum_{i=1}^n (X_i-\overline{X})^2 \Pr\left(\overline{X}-t_{1-\alpha/2,n-1} \sqrt{S+S/n}\leq X_{n+1} \leq\overline{X}+t_{1-\alpha/2,n-1} \sqrt{S+S/n}\,\right)=1-\alpha where t_{1-\alpha/2,n-1} is the 100(1-\alpha/2)^{th} percentile of Student's t-distribution with n − 1 degrees of freedom. y_i=\alpha+\beta x_i +\varepsilon_i\, where y_i is the response variable, x_i is the explanatory variable, ε i is a random error term, and \alpha and \beta are parameters. Given estimates \hat \alpha and \hat \beta for the parameters, such as from a ordinary least squares, the predicted response value y d for a given explanatory value x d is \hat{y}_d=\hat\alpha+\hat\beta x_d , (the point on the regression line), while the actual response would be y_d=\alpha+\beta x_d +\varepsilon_d. \, The point estimate \hat{y}_d is called the mean response, and is an estimate of the expected value of y d , E(y\mid x_d). A prediction interval instead gives an interval in which one expects y d to fall; this is not necessary if the actual parameters α and β are known (together with the error term ε i ), but if one is estimating from a sample, then one may use the standard error of the estimates for the intercept and slope ( \hat\alpha and \hat\beta ), as well as their correlation, to compute a prediction interval. So, in regression there is a distinction between intervals for predictions of the mean response and intervals for predictions of a future value —affecting essentially the inclusion or not of the unity term within the square root in the expansion factors above. The variance for the prediction of a future value y_d given x_d is the same as variance of the predicted residual y_d-\hat{y_d} (not to be confused with the variance of an observed residual y_i-\hat{y_i} ). So, in multiple linear regression, the variance for the prediction of a future value \sigma^2=\operatorname{Var}(y_d) is \operatorname{Var}(y_d-\hat{y_d})=\sigma^2(1+x^T_d(X^TX)^{-1}x_d) While the variance for the prediction of the mean response would be \operatorname{Var}(\hat{y_d})=\sigma^2(x^T_d(X^TX)^{-1}x_d) The first one will be always greater than the second, as the two terms below are uncorrelated: \operatorname{Var}(y_d-\hat{y_d})=\operatorname{Var}(y_d) + \operatorname{Var}(\hat{y_d}) Finally, the variance of an observed residual will be: \operatorname{Var}(y_i-\hat{y_i})=\operatorname{Var}(y_i) - \operatorname{Var}(\hat{y_i}) In a simple linear regression (only one predictor) the formulas become, respectively: \operatorname{Var}(y_d-\hat{y_d})=\sigma^2\biggl(1+{\frac{1}{n}+\frac{(x_d-\bar{x})^2}{\displaystyle\textstyle\sum_{i=1}^n(x_i-\bar{x})^2}}\biggl) and \operatorname{Var}(\hat{y_d})=\sigma^2\biggl({\frac{1}{n}+\frac{(x_d-\bar{x})^2}{\displaystyle\textstyle\sum_{i=1}^n(x_i-\bar{x})^2}}\biggl) Where n is the number of data points. Both depend on the standard errors of the estimated parameters \hat\alpha and \hat\beta , but in the first one we also have to consider the effect of \operatorname{Var}(y_d) on the location of the invidual future value around the line. If n\longrightarrow+\infty , then \operatorname{Var}(\hat{y_d})\longrightarrow0 because it's the variance of an estimator, while \operatorname{Var}(y_d-\hat{y_d})\longrightarrow\sigma^2 , the sample variance. They both increase when x_d is far from \bar{x} . Finally, the prediction interval for a sigle future value is \hat{y_d}\pm t_{1-\alpha/2,n-2}s(y_d-\hat{y_d}) , and for the mean response is \hat{y_d}\pm t_{1-\alpha/2,n-2}s(\hat{y_d}) where s(y_d-\hat{y_d})=\sqrt{\operatorname{Var}(y_d-\hat{y_d})} , s(\hat{y_d})=\sqrt{\operatorname{Var}(\hat{y_d})} The factor t_{1-\alpha/2,n-2} follows from the 100(1-\alpha/2)^{th} percentile of the Student's t-distribution with n-2 degrees of freedom. ==Applications== Prediction intervals are commonly used as definitions of reference ranges, such as reference ranges for blood tests to give an idea of whether a blood test is normal or not. For this purpose, the most commonly used prediction interval is the 95% prediction interval, and a reference range based on it can be called a standard reference range. ==Multivariate== A prediction region is a multivariate generalization of a prediction interval, analogous to a confidence region. ==See also== Extrapolation Posterior probability Prediction Prediction band Seymour Geisser Statistical model validation Trend estimation ==Notes== ==References== ==Further reading== ISO 16269-8 Standard Interpretation of Data, Part 8, Determination of Prediction Intervals
Cite this
"Prediction interval". 1790119540. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1376249995 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy