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

Exercises 19 and 20 involve a design matrix \(X\) with two or more columns and a least-squares solution \(\hat \beta \) of \({\bf{y}} = X\beta \). Consider the following numbers.

(i) \({\left\| {X\hat \beta } \right\|^2}\)—the sum of the squares of the “regression term.” Denote this number by \(SS\left( R \right)\).

(ii) \({\left\| {{\bf{y}} - X\hat \beta } \right\|^2}\)—the sum of the squares for error term. Denote this number by \(SS\left( E \right)\).

(iii) \({\left\| {\bf{y}} \right\|^2}\)—the “total” sum of the squares of the -values. Denote this number by \(SS\left( T \right)\).

Every statistics text that discusses regression and the linear model \(y = X\beta + \in \) introduces these numbers, though terminology and notation vary somewhat. To simplify matters, assume that the mean of the -values is zero. In this case, \(SS\left( T \right)\) is proportional to what is called the variance of the set of \(y\)-values.

20. Show that \({\left\| {X\hat \beta } \right\|^2} = {\hat \beta ^T}{X^T}{\bf{y}}\). (Hint: Rewrite the left side and use the fact that \(\hat \beta \) satisfies the normal equations.) This formula for is used in statistics. From this and from Exercise 19, obtain the standard formula for \(SS\left( E \right)\):

\(SS\left( E \right) = {y^T}y - \hat \beta {X^T}y\)

Short Answer

Expert verified

It is verified that \({\left\| {X\hat \beta } \right\|^2} = {\hat \beta ^T}{X^T}{\bf{y}}\) and the standard formula for \(SS\left( E \right)\) is \(SS\left( E \right) = {\left\| {\bf{y}} \right\|^2} - {\hat \beta ^T}{X^T}{\bf{y}}\).

Step by step solution

01

Write the property

  1. \({\left\| {\bf{v}} \right\|^2} = {{\bf{v}}^T}{\bf{v}}\)
  2. \({\left( {AB} \right)^T} = {B^T}{A^T}\)
02

Solve \({\left\| {X\hat \beta } \right\|^2}\)

Solve \({\left\| {X\hat \beta } \right\|^2}\) by using the properties \({\left\| {\bf{v}} \right\|^2} &= {{\bf{v}}^T}{\bf{v}}\) and \({\left( {AB} \right)^T} &= {B^T}{A^T}\).

\(\begin{aligned}{\left\| {X\hat \beta } \right\|^2} = {\left( {X\hat \beta } \right)^T}\left( {X\hat \beta } \right)\\ = {{\hat \beta }^T}{X^T}X\hat \beta \end{aligned}\)

Use \({\bf{y}} = X\beta \) in the obtained expression.

\({\left\| {X\hat \beta } \right\|^2} = {\hat \beta ^T}{X^T}{\bf{y}}\)

Hence proved.

03

Find the value of \(SS\left( E \right)\)

From exercise (19),\(SS\left( T \right) = SS\left( R \right) + SS\left( E \right)\), which implies \(SS\left( E \right) = SS\left( T \right) - SS\left( R \right)\). It is given that \(SS\left( T \right) = {\left\| {\bf{y}} \right\|^2}\) and \(SS\left( R \right) = {\left\| {X\hat \beta } \right\|^2}\).

Substitute the required expressions into \(SS\left( T \right) = SS\left( R \right) + SS\left( E \right)\) and simplify by using \({\left\| {X\hat \beta } \right\|^2} = {\hat \beta ^T}{X^T}{\bf{y}}\).

\(\begin{aligned}SS\left( E \right) = {\left\| {\bf{y}} \right\|^2} - {\left\| {X\hat \beta } \right\|^2}\\ = {\left\| {\bf{y}} \right\|^2} - {{\hat \beta }^T}{X^T}{\bf{y}}\end{aligned}\)

Hence, the standard formula for \(SS\left( E \right)\) is \(SS\left( E \right) = {\left\| {\bf{y}} \right\|^2} - {\hat \beta ^T}{X^T}{\bf{y}}\).

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

Find the distance between \({\mathop{\rm u}\nolimits} = \left( {\begin{aligned}{*{20}{c}}0\\{ - 5}\\2\end{aligned}} \right)\) and \({\mathop{\rm z}\nolimits} = \left( {\begin{aligned}{*{20}{c}}{ - 4}\\{ - 1}\\8\end{aligned}} \right)\).

Compute the quantities in Exercises 1-8 using the vectors

\({\mathop{\rm u}\nolimits} = \left( {\begin{aligned}{*{20}{c}}{ - 1}\\2\end{aligned}} \right),{\rm{ }}{\mathop{\rm v}\nolimits} = \left( {\begin{aligned}{*{20}{c}}4\\6\end{aligned}} \right),{\rm{ }}{\mathop{\rm w}\nolimits} = \left( {\begin{aligned}{*{20}{c}}3\\{ - 1}\\{ - 5}\end{aligned}} \right),{\rm{ }}{\mathop{\rm x}\nolimits} = \left( {\begin{aligned}{*{20}{c}}6\\{ - 2}\\3\end{aligned}} \right)\)

6. \(\left( {\frac{{{\mathop{\rm x}\nolimits} \cdot {\mathop{\rm w}\nolimits} }}{{{\mathop{\rm x}\nolimits} \cdot {\mathop{\rm x}\nolimits} }}} \right){\mathop{\rm x}\nolimits} \)

Find an orthonormal basis of the subspace spanned by the vectors in Exercise 4.

Exercises 13 and 14, the columns of \(Q\) were obtained by applying the Gram Schmidt process to the columns of \(A\). Find anupper triangular matrix \(R\) such that \(A = QR\). Check your work.

14.\(A = \left( {\begin{aligned}{{}{r}}{ - 2}&3\\5&7\\2&{ - 2}\\4&6\end{aligned}} \right)\), \(Q = \left( {\begin{aligned}{{}{r}}{\frac{{ - 2}}{7}}&{\frac{5}{7}}\\{\frac{5}{7}}&{\frac{2}{7}}\\{\frac{2}{7}}&{\frac{{ - 4}}{7}}\\{\frac{4}{7}}&{\frac{2}{7}}\end{aligned}} \right)\)

To measure the take-off performance of an airplane, the horizontal position of the plane was measured every second, from \(t = 0\) to \(t = 12\). The positions (in feet) were: 0, 8.8, 29.9, 62.0, 104.7, 159.1, 222.0, 294.5, 380.4, 471.1, 571.7, 686.8, 809.2.

a. Find the least-squares cubic curve \(y = {\beta _0} + {\beta _1}t + {\beta _2}{t^2} + {\beta _3}{t^3}\) for these data.

b. Use the result of part (a) to estimate the velocity of the plane when \(t = 4.5\) seconds.

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