fbpx
Wikipedia

Quadratic form (statistics)

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

Expectation edit

It can be shown that[1]

 

where   and   are the expected value and variance-covariance matrix of  , respectively, and tr denotes the trace of a matrix. This result only depends on the existence of   and  ; in particular, normality of   is not required.

A book treatment of the topic of quadratic forms in random variables is that of Mathai and Provost.[2]

Proof edit

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 edit

In general, the variance of a quadratic form depends greatly on the distribution of  . However, if   does follow a multivariate normal distribution, the variance of the quadratic form becomes particularly tractable. Assume for the moment that   is a symmetric matrix. Then,

 .[3]

In fact, this can be generalized to find the covariance between two quadratic forms on the same   (once again,   and   must both be symmetric):

 .[4]

In addition, a quadratic form such as this follows a generalized chi-squared distribution.

Computing the variance in the non-symmetric case edit

The case for general   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   is replaced by   therein.

Examples of quadratic forms edit

In the setting where one has a set of observations   and an operator matrix  , then the residual sum of squares can be written as a quadratic form in  :

 

For procedures where the matrix   is symmetric and idempotent, and the errors are Gaussian with covariance matrix  ,   has a chi-squared distribution with   degrees of freedom and noncentrality parameter  , 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   estimates   with no bias, then the noncentrality   is zero and   follows a central chi-squared distribution.

See also edit

References edit

  1. ^ Bates, Douglas. "Quadratic Forms of Random Variables" (PDF). STAT 849 lectures. Retrieved August 21, 2011.
  2. ^ Mathai, A. M. & Provost, Serge B. (1992). Quadratic Forms in Random Variables. CRC Press. p. 424. ISBN 978-0824786915.
  3. ^ Rencher, Alvin C.; Schaalje, G. Bruce. (2008). Linear models in statistics (2nd ed.). Hoboken, N.J.: Wiley-Interscience. ISBN 9780471754985. OCLC 212120778.
  4. ^ Graybill, Franklin A. Matrices with applications in statistics (2. ed.). Wadsworth: Belmont, Calif. p. 367. ISBN 0534980384.

quadratic, form, statistics, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, quadratic, form, statistics, news, news. This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Quadratic form statistics news newspapers books scholar JSTOR December 2009 Learn how and when to remove this template message In multivariate statistics if e displaystyle varepsilon is a vector of n displaystyle n random variables and L displaystyle Lambda is an n displaystyle n dimensional symmetric matrix then the scalar quantity eTLe displaystyle varepsilon T Lambda varepsilon is known as a quadratic form in e displaystyle varepsilon Contents 1 Expectation 1 1 Proof 2 Variance in the Gaussian case 2 1 Computing the variance in the non symmetric case 3 Examples of quadratic forms 4 See also 5 ReferencesExpectation editIt can be shown that 1 E eTLe tr LS mTLm displaystyle operatorname E left varepsilon T Lambda varepsilon right operatorname tr left Lambda Sigma right mu T Lambda mu nbsp where m displaystyle mu nbsp and S displaystyle Sigma nbsp are the expected value and variance covariance matrix of e displaystyle varepsilon nbsp respectively and tr denotes the trace of a matrix This result only depends on the existence of m displaystyle mu nbsp and S displaystyle Sigma nbsp in particular normality of e displaystyle varepsilon nbsp is not required A book treatment of the topic of quadratic forms in random variables is that of Mathai and Provost 2 Proof edit Since the quadratic form is a scalar quantity eTLe tr eTLe displaystyle varepsilon T Lambda varepsilon operatorname tr varepsilon T Lambda varepsilon nbsp Next by the cyclic property of the trace operator E tr eTLe E tr LeeT displaystyle operatorname E operatorname tr varepsilon T Lambda varepsilon operatorname E operatorname tr Lambda varepsilon varepsilon T nbsp 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 E tr LeeT tr LE eeT displaystyle operatorname E operatorname tr Lambda varepsilon varepsilon T operatorname tr Lambda operatorname E varepsilon varepsilon T nbsp A standard property of variances then tells us that this is tr L S mmT displaystyle operatorname tr Lambda Sigma mu mu T nbsp Applying the cyclic property of the trace operator again we get tr LS tr LmmT tr LS tr mTLm tr LS mTLm displaystyle operatorname tr Lambda Sigma operatorname tr Lambda mu mu T operatorname tr Lambda Sigma operatorname tr mu T Lambda mu operatorname tr Lambda Sigma mu T Lambda mu nbsp Variance in the Gaussian case editIn general the variance of a quadratic form depends greatly on the distribution of e displaystyle varepsilon nbsp However if e displaystyle varepsilon nbsp does follow a multivariate normal distribution the variance of the quadratic form becomes particularly tractable Assume for the moment that L displaystyle Lambda nbsp is a symmetric matrix Then var eTLe 2tr LSLS 4mTLSLm displaystyle operatorname var left varepsilon T Lambda varepsilon right 2 operatorname tr left Lambda Sigma Lambda Sigma right 4 mu T Lambda Sigma Lambda mu nbsp 3 In fact this can be generalized to find the covariance between two quadratic forms on the same e displaystyle varepsilon nbsp once again L1 displaystyle Lambda 1 nbsp and L2 displaystyle Lambda 2 nbsp must both be symmetric cov eTL1e eTL2e 2tr L1SL2S 4mTL1SL2m displaystyle operatorname cov left varepsilon T Lambda 1 varepsilon varepsilon T Lambda 2 varepsilon right 2 operatorname tr left Lambda 1 Sigma Lambda 2 Sigma right 4 mu T Lambda 1 Sigma Lambda 2 mu nbsp 4 In addition a quadratic form such as this follows a generalized chi squared distribution Computing the variance in the non symmetric case edit The case for general L displaystyle Lambda nbsp can be derived by noting that eTLTe eTLe displaystyle varepsilon T Lambda T varepsilon varepsilon T Lambda varepsilon nbsp so eTL e eT L LT e 2 displaystyle varepsilon T tilde Lambda varepsilon varepsilon T left Lambda Lambda T right varepsilon 2 nbsp is a quadratic form in the symmetric matrix L L LT 2 displaystyle tilde Lambda left Lambda Lambda T right 2 nbsp so the mean and variance expressions are the same provided L displaystyle Lambda nbsp is replaced by L displaystyle tilde Lambda nbsp therein Examples of quadratic forms editIn the setting where one has a set of observations y displaystyle y nbsp and an operator matrix H displaystyle H nbsp then the residual sum of squares can be written as a quadratic form in y displaystyle y nbsp RSS yT I H T I H y displaystyle textrm RSS y T I H T I H y nbsp For procedures where the matrix H displaystyle H nbsp is symmetric and idempotent and the errors are Gaussian with covariance matrix s2I displaystyle sigma 2 I nbsp RSS s2 displaystyle textrm RSS sigma 2 nbsp has a chi squared distribution with k displaystyle k nbsp degrees of freedom and noncentrality parameter l displaystyle lambda nbsp where k tr I H T I H displaystyle k operatorname tr left I H T I H right nbsp l mT I H T I H m 2 displaystyle lambda mu T I H T I H mu 2 nbsp 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 displaystyle Hy nbsp estimates m displaystyle mu nbsp with no bias then the noncentrality l displaystyle lambda nbsp is zero and RSS s2 displaystyle textrm RSS sigma 2 nbsp follows a central chi squared distribution See also editQuadratic form Covariance matrix Matrix representation of conic sectionsReferences edit Bates Douglas Quadratic Forms of Random Variables PDF STAT 849 lectures Retrieved August 21 2011 Mathai A M amp Provost Serge B 1992 Quadratic Forms in Random Variables CRC Press p 424 ISBN 978 0824786915 Rencher Alvin C Schaalje G Bruce 2008 Linear models in statistics 2nd ed Hoboken N J Wiley Interscience ISBN 9780471754985 OCLC 212120778 Graybill Franklin A Matrices with applications in statistics 2 ed Wadsworth Belmont Calif p 367 ISBN 0534980384 Retrieved from https en wikipedia org w index php title Quadratic form statistics amp oldid 1188987277, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.