Question: Let \({x_1}\,,{x_2}\) denote the variables for the two-dimensional data in Exercise 1. Find a new variable \({y_1}\) of the form \({y_1} = {c_1}{x_1} + {c_2}{x_2}\), with\(c_1^2 + c_2^2 = 1\), such that \({y_1}\) has maximum possible variance over the given data. How much of the variance in the data is explained by \({y_1}\)?

Short Answer

Expert verified

The variance of the data by \({y_1}\) obtained as \(93.3374\% \).

Step by step solution

01

Mean Deviation form and Covariance Matrix

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

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

Whose \(p \times p\)covariance matrix is:

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

02

The Change in Variance

From exercise 1, the maximum eigenvalue is:

\({\lambda _1} = 95.2041\)

The respective unit vector is:

\({u_1} = \left( {\begin{array}{*{20}{c}}{0.946515}\\{ - 0.322659}\end{array}} \right)\)

The new variable will be:

\({y_1} = 0.946515{x_1} - 0.322659{x_2}\)

Now, the percentage of change in variance can be obtained as:

\(\begin{array}{c}\Delta = \frac{{{\lambda _1}}}{{tr\left( S \right)}} \times 100\\ = \frac{{95.2041}}{{86 + 16}} \times 100\\ = 93.3374\% \end{array}\)

Hence, this is the required answer.

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

Question: If A is \(m \times n\), then the matrix \(G = {A^T}A\) is called the Gram matrix of A. In this case, the entries of G are the inner products of the columns of A. (See Exercises 9 and 10).

9. Show that the Gram matrix of any matrix A is positive semidefinite, with the same rank as A. (See the Exercises in Section 6.5.)

Question: Mark Each statement True or False. Justify each answer. In each part, A represents an \(n \times n\) matrix.

  1. If A is orthogonally diagonizable, then A is symmetric.
  2. If A is an orthogonal matrix, then A is symmetric.
  3. If A is an orthogonal matrix, then \(\left\| {A{\bf{x}}} \right\| = \left\| {\bf{x}} \right\|\) for all x in \({\mathbb{R}^n}\).
  4. The principal axes of a quadratic from \({{\bf{x}}^T}A{\bf{x}}\) can be the columns of any matrix P that diagonalizes A.
  5. If P is an \(n \times n\) matrix with orthogonal columns, then \({P^T} = {P^{ - {\bf{1}}}}\).
  6. If every coefficient in a quadratic form is positive, then the quadratic form is positive definite.
  7. If \({{\bf{x}}^T}A{\bf{x}} > {\bf{0}}\) for some x, then the quadratic form \({{\bf{x}}^T}A{\bf{x}}\) is positive definite.
  8. By a suitable change of variable, any quadratic form can be changed into one with no cross-product term.
  9. The largest value of a quadratic form \({{\bf{x}}^T}A{\bf{x}}\), for \(\left\| {\bf{x}} \right\| = {\bf{1}}\) is the largest entery on the diagonal A.
  10. The maximum value of a positive definite quadratic form \({{\bf{x}}^T}A{\bf{x}}\) is the greatest eigenvalue of A.
  11. A positive definite quadratic form can be changed into a negative definite form by a suitable change of variable \({\bf{x}} = P{\bf{u}}\), for some orthogonal matrix P.
  12. An indefinite quadratic form is one whose eigenvalues are not definite.
  13. If P is an \(n \times n\) orthogonal matrix, then the change of variable \({\bf{x}} = P{\bf{u}}\) transforms \({{\bf{x}}^T}A{\bf{x}}\) into a quadratic form whose matrix is \({P^{ - {\bf{1}}}}AP\).
  14. If U is \(m \times n\) with orthogonal columns, then \(U{U^T}{\bf{x}}\) is the orthogonal projection of x onto ColU.
  15. If B is \(m \times n\) and x is a unit vector in \({\mathbb{R}^n}\), then \(\left\| {B{\bf{x}}} \right\| \le {\sigma _{\bf{1}}}\), where \({\sigma _{\bf{1}}}\) is the first singular value of B.
  16. A singular value decomposition of an \(m \times n\) matrix B can be written as \(B = P\Sigma Q\), where P is an \(m \times n\) orthogonal matrix and \(\Sigma \) is an \(m \times n\) diagonal matrix.
  17. If A is \(n \times n\), then A and \({A^T}A\) have the same singular values.

Question: 11. Given multivariate data \({X_1},................,{X_N}\) (in \({\mathbb{R}^p}\)) in mean deviation form, let \(P\) be a \(p \times p\) matrix, and define \({Y_k} = {P^T}{X_k}{\rm{ for }}k = 1,......,N\).

  1. Show that \({Y_1},................,{Y_N}\) are in mean-deviation form. (Hint: Let \(w\) be the vector in \({\mathbb{R}^N}\) with a 1 in each entry. Then \(\left( {{X_1},................,{X_N}} \right)w = 0\) (the zero vector in \({\mathbb{R}^p}\)).)
  2. Show that if the covariance matrix of \({X_1},................,{X_N}\) is \(S\), then the covariance matrix of \({Y_1},................,{Y_N}\) is \({P^T}SP\).

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}\)

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)\)

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