Expected Value of the Quadratic Form of a Random Vector
📂Mathematical StatisticsExpected Value of the Quadratic Form of a Random Vector
Let the population mean vector μ∈Rn and the covariance matrix Σ∈Rn×n be given such that the random vector X is X∼(μ,Σ). For a symmetric matrix A, the expected value of the quadratic form of a random vector is as follows.
E(Q)=trAΣ+μTAμ
Here, μT is the transpose matrix of μ, and tr is the trace.
Derivation
Cyclic property of the trace:
tr(ABC)=tr(BCA)=tr(CAB)
Expectation and trace of a random vector: E(tr(X))=tr(E(X))
Covariance matrix: Given as μ∈Rp is μ:=(EX1,⋯,EXp)
Cov(X)=E[XXT]−μμT
=======E(Q)E(trXTAX)E(trAXXT)trAE(XXT)trA(Σ+μμT)trAΣ+trAμμTtrAΣ+trμTAμtrAΣ+μTAμ
■