Confidence and prediction bands

From HandWiki

A confidence band is used in statistical analysis to represent the uncertainty in an estimate of a curve or function based on limited or noisy data. Similarly, a prediction band is used to represent the uncertainty about the value of a new data-point on the curve, but subject to noise. Confidence and prediction bands are often used as part of the graphical presentation of results of a regression analysis.

Confidence bands are closely related to confidence intervals, which represent the uncertainty in an estimate of a single numerical value. "As confidence intervals, by construction, only refer to a single point, they are narrower (at this point) than a confidence band which is supposed to hold simultaneously at many points."[1]

Pointwise and simultaneous confidence bands

Suppose our aim is to estimate a function f(x). For example, f(x) might be the proportion of people of a particular age x who support a given candidate in an election. If x is measured at the precision of a single year, we can construct a separate 95% confidence interval for each age. Each of these confidence intervals covers the corresponding true value f(x) with confidence 0.95. Taken together, these confidence intervals constitute a 95% pointwise confidence band for f(x).

In mathematical terms, a pointwise confidence band [math]\displaystyle{ \hat{f}(x)\pm w(x) }[/math] with coverage probability 1 − α satisfies the following condition separately for each value of x:

[math]\displaystyle{ \Pr\Big(\hat{f}(x)-w(x) \le f(x) \le \hat{f}(x)+w(x)\Big) = 1-\alpha, }[/math]

where [math]\displaystyle{ \hat{f}(x) }[/math] is the point estimate of f(x).

The simultaneous coverage probability of a collection of confidence intervals is the probability that all of them cover their corresponding true values simultaneously. In the example above, the simultaneous coverage probability is the probability that the intervals for x = 18,19,... all cover their true values (assuming that 18 is the youngest age at which a person can vote). If each interval individually has coverage probability 0.95, the simultaneous coverage probability is generally less than 0.95. A 95% simultaneous confidence band is a collection of confidence intervals for all values x in the domain of f(x) that is constructed to have simultaneous coverage probability 0.95.

In mathematical terms, a simultaneous confidence band [math]\displaystyle{ \hat{f}(x)\pm w(x) }[/math] with coverage probability 1 − α satisfies the following condition:

[math]\displaystyle{ \Pr\Big(\hat{f}(x)-w(x) \le f(x) \le \hat{f}(x)+w(x) \;\; \text{ for all } x\Big) = 1-\alpha. }[/math]

In nearly all cases, a simultaneous confidence band will be wider than a pointwise confidence band with the same coverage probability. In the definition of a pointwise confidence band, that universal quantifier moves outside the probability function.

Confidence bands for simulated data depicting the proportion of voters supporting a given candidate in election, as a function of the voters' ages. Pointwise 95% confidence bands, and simultaneous 95% confidence bands constructed using the Bonferroni correction are shown.

Confidence bands in regression analysis

Confidence bands commonly arise in regression analysis.[2] In the case of a simple regression involving a single independent variable, results can be presented in the form of a plot showing the estimated regression line along with either point-wise or simultaneous confidence bands. Commonly used methods for constructing simultaneous confidence bands in regression are the Bonferroni and Scheffé methods; see Family-wise error rate controlling procedures for more.

Confidence bands for a simple linear regression analysis using simulated data. Pointwise 95% confidence bands, and simultaneous 95% confidence bands constructed using Scheffé's method are shown.

Confidence bands for probability distributions

Confidence bands can be constructed around estimates of the empirical distribution function. Simple theory allows the construction of point-wise confidence intervals, but it is also possible to construct a simultaneous confidence band for the cumulative distribution function as a whole by inverting the Kolmogorov-Smirnov test, or by using non-parametric likelihood methods.[3]

Other applications of confidence bands

Confidence bands arise whenever a statistical analysis focuses on estimating a function.

Confidence bands have also been devised for estimates of density functions, spectral density functions,[4] quantile functions, scatterplot smooths, survival functions, and characteristic functions.[citation needed]

Prediction bands

Prediction bands are related to prediction intervals in the same way that confidence bands are related to confidence intervals. Prediction bands commonly arise in regression analysis. The goal of a prediction band is to cover with a prescribed probability the values of one or more future observations from the same population from which a given data set was sampled. Just as prediction intervals are wider than confidence intervals, prediction bands will be wider than confidence bands.


In mathematical terms, a prediction band [math]\displaystyle{ \hat{f}(x)\pm w(x) }[/math] with coverage probability 1 − α satisfies the following condition for each value of x:

[math]\displaystyle{ \Pr\Big(\hat{f}(x)-w(x) \le y^* \le \hat{f}(x)+w(x)\Big) = 1-\alpha, }[/math]

where y* is an observation taken from the data-generating process at the given point x that is independent of the data used to construct the point estimate [math]\displaystyle{ \hat{f}(x) }[/math] and the confidence[vague] interval w(x). This is a pointwise prediction interval.[vague] It would be possible to construct a simultaneous interval[vague] for a finite number of independent observations using, for example, the Bonferroni method to widen the interval[vague] by an appropriate amount.

References

  1. p.65 in W. Härdle, M. Müller, S. Sperlich, A. Werwatz (2004), Nonparametric and Semiparametric Models, Springer, ISBN:3540207228 "3.5 Confidence Intervals and Confidence Bands". Archived from the original on 2013-04-12. https://archive.today/20130412073504/http://sfb649.wiwi.hu-berlin.de/fedc_homepage/xplore/ebooks/html/spm/spmhtmlnode17.html. Retrieved 2013-02-06. ,[1]
  2. Liu, W; Lin S.; Piegorsch W.W. (2008). "Construction of Exact Simultaneous Confidence Bands for a Simple Linear Regression Model". International Statistical Review 76 (1): 39–57. doi:10.1111/j.1751-5823.2007.00027.x. https://zenodo.org/record/891407. 
  3. Owen, A. B. (1995). "Nonparametric likelihood confidence bands for a distribution function". Journal of the American Statistical Association (American Statistical Association) 90 (430): 516–521. doi:10.2307/2291062. 
  4. Neumann, M.H.; Paparoditis, E. (2008). "Simultaneous confidence bands in spectral density estimation". Biometrika 95 (2): 381. doi:10.1093/biomet/asn005.