This is an old revision of this page, as edited by Yobot(talk | contribs) at 16:30, 14 January 2021(Fix REFPUNCT + other minor fixes). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 16:30, 14 January 2021 by Yobot(talk | contribs)(Fix REFPUNCT + other minor fixes)
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
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 . 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,
Some texts incorrectly[citation needed] state that the above variance or covariance results hold without requiring to be symmetric. 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.
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.