Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Question: 13. The sample covariance matrix is a generalization of a formula for the variance of a sample of \(N\) scalar measurements, say \({t_1},................,{t_N}\). If \(m\) is the average of \({t_1},................,{t_N}\), then the sample variance is given by

\(\frac{1}{{N - 1}}\sum\limits_{k = 1}^n {{{\left( {{t_k} - m} \right)}^2}} \)

Show how the sample covariance matrix, \(S\), defined prior to Example 3, may be written in a form similar to (1). (Hint: Use partitioned matrix multiplication to write \(S\) as \(\frac{1}{{N - 1}}\) times the sum of \(N\) matrices of size \(p \times p\). For \(1 \le k \le N\), write \({X_k} - M\) in place of \({\hat X_k}\).)

Short Answer

Expert verified

It is verified that the sample covariance matrix can be written in the form:

\(S = \frac{1}{{N - 1}}\sum\limits_{k = 1}^N {\left( {{X_k} - M} \right){{\left( {{X_k} - M} \right)}^T}} \)

Step by step solution

01

Mean Deviation form and Covariance Matrix.

The Mean Deviation formof any \(p \times N\)is given by:

\(B = \left( {\begin{array}{*{20}{c}}{{{{\bf{\hat X}}}_1}}&{{{{\bf{\hat X}}}_2}}&{........}&{{{{\bf{\hat X}}}_N}}\end{array}} \right)\)

Whose \(p \times p\) covariance matrixis:

\(S = \frac{1}{{N - 1}}B{B^T}\)

02

The Mean Deviation Form

Let the sample mean be\(M\). Then,we have:

\({{\bf{\hat X}}_k} = {{\bf{X}}_k} - M\)

The mean deviation formis given by:

\(B = \left( {\begin{array}{*{20}{c}}{{{{\bf{\hat X}}}_1}}&{......}&{{{{\bf{\hat X}}}_N}}\end{array}} \right)\)

Now, thecovariance matrixcan be given as:

\(\begin{array}{c}S = \frac{1}{{N - 1}}B{B^T}\\ = \frac{1}{{N - 1}}\left( {\begin{array}{*{20}{c}}{{{{\bf{\hat X}}}_1}}&{......}&{{{{\bf{\hat X}}}_N}}\end{array}} \right){\left( {\begin{array}{*{20}{c}}{{{{\bf{\hat X}}}_1}}&{......}&{{{{\bf{\hat X}}}_N}}\end{array}} \right)^T}\\ = \frac{1}{{N - 1}}\sum\limits_{k = 1}^N {\left( {{{{\bf{\hat X}}}_k}} \right){{\left( {{{{\bf{\hat X}}}_k}} \right)}^T}} \\ = \frac{1}{{N - 1}}\sum\limits_{k = 1}^N {\left( {{{\bf{X}}_k} - M} \right){{\left( {{{\bf{X}}_k} - M} \right)}^T}} \end{array}\)

Hence, this is the required proof.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Let \(A = PD{P^{ - {\bf{1}}}}\), where P is orthogonal and D is diagonal, and let \(\lambda \) be an eigenvalue of A of multiplicity k. Then \(\lambda \) appears k times on the diagonal of D.Explain why the dimension of the eigenspace for \(\lambda \) is k.

Find the matrix of the quadratic form. Assume x is in \({\mathbb{R}^2}\).

a. \(3x_1^2 + 2x_2^2 - 5x_3^2 - 6{x_1}{x_2} + 8{x_1}{x_3} - 4{x_2}{x_3}\)

b. \(6{x_1}{x_2} + 4{x_1}{x_3} - 10{x_2}{x_3}\)

Orthogonally diagonalize the matrices in Exercises 13–22, giving an orthogonal matrix \(P\) and a diagonal matrix \(D\). To save you time, the eigenvalues in Exercises 17–22 are: (17) \( - {\bf{4}}\), 4, 7; (18) \( - {\bf{3}}\), \( - {\bf{6}}\), 9; (19) \( - {\bf{2}}\), 7; (20) \( - {\bf{3}}\), 15; (21) 1, 5, 9; (22) 3, 5.

15. \(\left( {\begin{aligned}{{}}{\,3}&4\\4&9\end{aligned}} \right)\)

Question: In Exercises 15 and 16, construct the pseudo-inverse of \(A\). Begin by using a matrix program to produce the SVD of \(A\), or, if that is not available, begin with an orthogonal diagonalization of \({A^T}A\). Use the pseudo-inverse to solve \(A{\rm{x}} = {\rm{b}}\), for \({\rm{b}} = \left( {6, - 1, - 4,6} \right)\) and let \(\mathop {\rm{x}}\limits^\^ \)be the solution. Make a calculation to verify that \(\mathop {\rm{x}}\limits^\^ \) is in Row \(A\). Find a nonzero vector \({\rm{u}}\) in Nul\(A\), and verify that \(\left\| {\mathop {\rm{x}}\limits^\^ } \right\| < \left\| {\mathop {\rm{x}}\limits^\^ + {\rm{u}}} \right\|\), which must be true by Exercise 13(c).

16. \(A = \left( {\begin{array}{*{20}{c}}4&0&{ - 1}&{ - 2}&0\\{ - 5}&0&3&5&0\\{\,\,\,2}&{\,\,0}&{ - 1}&{ - 2}&0\\{\,\,\,6}&{\,\,0}&{ - 3}&{ - 6}&0\end{array}} \right)\)

Orthogonally diagonalize the matrices in Exercises 13–22, giving an orthogonal matrix\(P\)and a diagonal matrix\(D\). To save you time, the eigenvalues in Exercises 17–22 are: (17)\( - {\bf{4}}\), 4, 7; (18)\( - {\bf{3}}\),\( - {\bf{6}}\), 9; (19)\( - {\bf{2}}\), 7; (20)\( - {\bf{3}}\), 15; (21) 1, 5, 9; (22) 3, 5.

22. \(\left( {\begin{aligned}{{}}4&0&1&0\\0&4&0&1\\1&0&4&0\\0&1&0&4\end{aligned}} \right)\)

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free