# Confidence region

In statistics, a **confidence region** is a multi-dimensional generalization of a confidence interval. It is a set of points in an *n*-dimensional space, often represented as an ellipsoid around a point which is an estimated solution to a problem, although other shapes can occur.

## Interpretation

The confidence region is calculated in such a way that if a set of measurements were repeated many times and a confidence region calculated in the same way on each set of measurements, then a certain percentage of the time (e.g. 95%) the confidence region would include the point representing the "true" values of the set of variables being estimated. However, unless certain assumptions about prior probabilities are made, it does **not** mean, when one confidence region has been calculated, that there is a 95% probability that the "true" values lie inside the region, since we do not assume any particular probability distribution of the "true" values and we may or may not have other information about where they are likely to lie.

## The case of independent, identically normally-distributed errors

Suppose we have found a solution [math]\displaystyle{ \boldsymbol{\beta} }[/math] to the following overdetermined problem:

- [math]\displaystyle{ \mathbf{Y} = \mathbf{X}\boldsymbol{\beta} + \boldsymbol{\varepsilon} }[/math]

where **Y** is an *n*-dimensional column vector containing observed values of the dependent variable, **X** is an *n*-by-*p* matrix of observed values of independent variables (which can represent a physical model) which is assumed to be known exactly, [math]\displaystyle{ \boldsymbol{\beta} }[/math] is a column vector containing the *p* parameters which are to be estimated, and [math]\displaystyle{ \boldsymbol{\varepsilon} }[/math] is an *n*-dimensional column vector of errors which are assumed to be independently distributed with normal distributions with zero mean and each having the same unknown variance [math]\displaystyle{ \sigma^2 }[/math].

A joint 100(1 − *α*) % confidence region for the elements of [math]\displaystyle{ \boldsymbol{\beta} }[/math] is represented by the set of values of the vector **b** which satisfy the following inequality:^{[1]}

- [math]\displaystyle{ (\boldsymbol{\hat{\beta}} - \mathbf{b})^\prime \mathbf{X}^\prime\mathbf{X}(\boldsymbol{\hat{\beta}} - \mathbf{b}) \le ps^2 F_{1 - \alpha}(p,\nu) , }[/math]

where the variable **b** represents any point in the confidence region, *p* is the number of parameters, i.e. number of elements of the vector [math]\displaystyle{ \boldsymbol{\beta}, }[/math] [math]\displaystyle{ \boldsymbol{\hat{\beta}} }[/math] is the vector of estimated parameters, and *s*^{2} is the reduced chi-squared, an unbiased estimate of [math]\displaystyle{ \sigma^2 }[/math] equal to

- [math]\displaystyle{ s^2=\frac{\varepsilon^\prime\varepsilon}{n - p}. }[/math]

Further, *F* is the quantile function of the F-distribution, with *p* and [math]\displaystyle{ \nu = n - p }[/math] degrees of freedom, [math]\displaystyle{ \alpha }[/math] is the statistical significance level, and the symbol [math]\displaystyle{ X^\prime }[/math] means the transpose of [math]\displaystyle{ X }[/math].

The expression can be rewritten as:

- [math]\displaystyle{ (\boldsymbol{\hat{\beta}} - \mathbf{b})^\prime \mathbf{C}_\mathbf{\beta}^{-1} (\boldsymbol{\hat{\beta}} - \mathbf{b}) \le p F_{1 - \alpha}(p,\nu) , }[/math]

where [math]\displaystyle{ \mathbf{C}_\mathbf{\beta} = s^2 \left( \mathbf{X}^\prime\mathbf{X} \right)^{-1} }[/math] is the least-squares scaled covariance matrix of [math]\displaystyle{ \boldsymbol{\hat{\beta}} }[/math].

The above inequality defines an ellipsoidal region in the *p*-dimensional Cartesian parameter space R^{p}. The centre of the ellipsoid is at the estimate [math]\displaystyle{ \boldsymbol{\hat{\beta}} }[/math]. According to Press et al., it is easier to plot the ellipsoid after doing singular value decomposition. The lengths of the axes of the ellipsoid are proportional to the reciprocals of the values on the diagonals of the diagonal matrix, and the directions of these axes are given by the rows of the 3rd matrix of the decomposition.

## Weighted and generalised least squares

Now consider the more general case where some distinct elements of [math]\displaystyle{ \boldsymbol{\varepsilon} }[/math] have known nonzero covariance (in other words, the errors in the observations are not independently distributed), and/or the standard deviations of the errors are not all equal. Suppose the covariance matrix of [math]\displaystyle{ \boldsymbol{\varepsilon} }[/math] is [math]\displaystyle{ \mathbf{V}\sigma^2 }[/math], where **V** is an *n*-by-*n* nonsingular matrix which was equal to [math]\displaystyle{ \mathbf{I} }[/math] in the more specific case handled in the previous section, (where **I** is the identity matrix,) but here is allowed to have nonzero off-diagonal elements representing the covariance of pairs of individual observations, as well as not necessarily having all the diagonal elements equal.

It is possible to find^{[2]} a nonsingular symmetric matrix **P** such that

- [math]\displaystyle{ \mathbf{P}^\prime\mathbf{P} = \mathbf{P}\mathbf{P} = \mathbf{V} }[/math]

In effect, **P** is a square root of the covariance matrix **V**.

The least-squares problem

- [math]\displaystyle{ \mathbf{Y} = \mathbf{X}\boldsymbol{\beta} + \boldsymbol{\varepsilon} }[/math]

can then be transformed by left-multiplying each term by the inverse of **P**, forming the new problem formulation

- [math]\displaystyle{ \mathbf{Z} = \mathbf{Q}\boldsymbol{\beta} + \mathbf{f} , }[/math]

where

- [math]\displaystyle{ \mathbf{Z} = \mathbf{P}^{-1}\mathbf{Y} }[/math]
- [math]\displaystyle{ \mathbf{Q} = \mathbf{P}^{-1}\mathbf{X} }[/math] and
- [math]\displaystyle{ \mathbf{f} = \mathbf{P}^{-1}\boldsymbol{\varepsilon} }[/math]

A joint confidence region for the parameters, i.e. for the elements of [math]\displaystyle{ \boldsymbol{\beta} }[/math], is then bounded by the ellipsoid given by:^{[3]}

- [math]\displaystyle{ (\mathbf{b} - \boldsymbol{\hat{\beta}})^\prime \mathbf{Q}^\prime\mathbf{Q}(\mathbf{b} - \boldsymbol{\hat{\beta}}) = {\frac{p}{n - p}} (\mathbf{Z}^\prime\mathbf{Z} - \mathbf{b}^\prime\mathbf{Q}^\prime\mathbf{Z})F_{1 - \alpha}(p,n-p). }[/math]

Here *F* represents the percentage point of the *F*-distribution and the quantities *p* and *n-p* are the degrees of freedom which are the parameters of this distribution.

## Nonlinear problems

Confidence regions can be defined for any probability distribution. The experimenter can choose the significance level and the shape of the region, and then the size of the region is determined by the probability distribution. A natural choice is to use as a boundary a set of points with constant [math]\displaystyle{ \chi^2 }[/math] (chi-squared) values.

One approach is to use a linear approximation to the nonlinear model, which may be a close approximation in the vicinity of the solution, and then apply the analysis for a linear problem to find an approximate confidence region. This may be a reasonable approach if the confidence region is not very large and the second derivatives of the model are also not very large.

Bootstrapping approaches can also be used.^{[4]}

See Uncertainty Quantification Methodologies for forward uncertainty propagation for related concepts.

## See also

- Circular error probable
- Linear regression
- Confidence band

## Notes

- ↑ Draper and Smith (1981, p. 94)
- ↑ Draper and Smith (1981, p. 108)
- ↑ Draper and Smith (1981, p. 109)
- ↑ Hutton TJ, Buxton BF, Hammond P, Potts HWW (2003). Estimating average growth trajectories in shape-space using kernel smoothing.
*IEEE Transactions on Medical Imaging*,**22**(6):747-53

## References

- Draper, N.R.; H. Smith (1981).
*Applied Regression Analysis*(2nd ed.). USA: John Wiley and Sons Ltd. ISBN 0-471-02995-5. https://archive.org/details/appliedregressio0000drap. - Press, W.H.; S.A. Teukolsky; W.T. Vetterling; B.P. Flannery (1992).
*Numerical Recipes in C: The Art of Scientific Computing*(2nd ed.). Cambridge UK: Cambridge University Press. https://archive.org/details/numericalrecipes00pres_0.

Original source: https://en.wikipedia.org/wiki/Confidence region.
Read more |