Quadratic form (statistics)

1

In multivariate statistics, if \varepsilon is a vector of n random variables, and \Lambda is an n-dimensional symmetric matrix, then the scalar quantity is known as a quadratic form in \varepsilon.

Expectation

It can be shown that where \mu and \Sigma are the expected value and variance-covariance matrix of \varepsilon, respectively, and tr denotes the trace of a matrix. This result only depends on the existence of \mu and \Sigma; in particular, normality of \varepsilon is not required. A book treatment of the topic of quadratic forms in random variables is that of Mathai and Provost.

Proof

Since the quadratic form is a scalar quantity,. Next, by the cyclic property of the trace operator, Since the trace operator is a linear combination of the components of the matrix, it therefore follows from the linearity of the expectation operator that A standard property of variances then tells us that this is Applying the cyclic property of the trace operator again, we get

Variance in the Gaussian case

In general, the variance of a quadratic form depends greatly on the distribution of \varepsilon. However, if \varepsilon does follow a multivariate normal distribution, the variance of the quadratic form becomes particularly tractable. Assume for the moment that \Lambda is a symmetric matrix. Then, In fact, this can be generalized to find the covariance between two quadratic forms on the same \varepsilon (once again, \Lambda_1 and \Lambda_2 must both be symmetric): In addition, a quadratic form such as this follows a generalized chi-squared distribution.

Computing the variance in the non-symmetric case

The case for general \Lambda can be derived by noting that so is a quadratic form in the symmetric matrix, so the mean and variance expressions are the same, provided \Lambda is replaced by therein.

Examples of quadratic forms

In the setting where one has a set of observations y and an operator matrix H, then the residual sum of squares can be written as a quadratic form in y: For procedures where the matrix H is symmetric and idempotent, and the errors are Gaussian with covariance matrix \sigma^2I, has a chi-squared distribution with k degrees of freedom and noncentrality parameter \lambda, where may be found by matching the first two central moments of a noncentral chi-squared random variable to the expressions given in the first two sections. If Hy estimates \mu with no bias, then the noncentrality \lambda is zero and follows a central chi-squared distribution.

This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Bliptext is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation.

Edit article