/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q-6.8-1E Find the least-squares line \(y ... [FREE SOLUTION] | 91影视

91影视

Find the least-squares line \(y = {\beta _0} + {\beta _1}x\) that best fits the data \(\left( { - 2,0} \right),\left( { - 1,0} \right),\left( {0,2} \right),\left( {1,4} \right),{\rm{ and }}\left( {2,4} \right)\), assuming that the first and last data points are less reliable. Weight them half as much as the three interior points.

Short Answer

Expert verified

The least-square line is: \(y = 2 + \left( {\frac{3}{2}} \right)x\).

Step by step solution

01

Inner Product

The Inner Productfor any two arbitrary functions is given by:

\(\left\langle {f,g} \right\rangle = \int_0^{2\pi } {f\left( t \right)g\left( t \right)dt} \)

02

Find the line 

As per the question, we have the weighting matrix\(W\), design matrix\(X\), parametric matrix\(\beta \),and the observation matrix\(y\)as:

\[\begin{array}{l}W = \left[ {\begin{array}{*{20}{c}}1&0&0&0&0\\0&2&0&0&0\\0&0&2&0&0\\0&0&0&2&0\\0&0&0&0&1\end{array}} \right]\\X = \left[ {\begin{array}{*{20}{c}}1&{ - 2}\\1&{ - 1}\\1&0\\1&1\\1&2\end{array}} \right]\\\beta = \left[ {\begin{array}{*{20}{c}}{{\beta _1}}\\{{\beta _2}}\end{array}} \right]\\y = \left[ {\begin{array}{*{20}{c}}0\\0\\2\\4\\4\end{array}} \right]\end{array}\]

Usingscaling parameters, we have:

\[\begin{array}{l}WX = \left[ {\begin{array}{*{20}{c}}1&{ - 2}\\2&{ - 2}\\2&0\\2&2\\1&2\end{array}} \right]\\Wy = \left[ {\begin{array}{*{20}{c}}0\\0\\4\\8\\4\end{array}} \right]\end{array}\]

Now, the parameter vector will be:

\[\begin{array}{c}\hat \beta = {\left\{ {{{\left( {WX} \right)}^T}WX} \right\}^{ - 1}}{\left( {WX} \right)^T}Wy\\ = \left[ {\begin{array}{*{20}{c}}{\frac{1}{{14}}}&0\\0&{\frac{1}{{16}}}\end{array}} \right]\left[ {\begin{array}{*{20}{c}}{28}\\{24}\end{array}} \right]\\ = \left[ {\begin{array}{*{20}{c}}2\\{\frac{3}{2}}\end{array}} \right]\end{array}\]

Hence, the least square line is \(y = 2 + \left( {\frac{3}{2}} \right)x\).

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 91影视!

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

Consider a consistent system Ax=b.

(a) Show that this system has a solution x0 in (kerA) .

(b) Show that the systemAx=b has only one solution in (kerA) .

(c) Ifx0 is the solution in (kerA) androle="math" localid="1660124695419" x1is another solution of the system Ax=b , show that||x0||<||x1|| . The vectorx0 is called the minimal solution of the linear system Ax=b .

Let S(t)be the number of daylight hours on the tth day of the year 2012 in Rome, Italy. We are given the following data for S(t):

We wish to fit a trigonometric function of the form

f(t)=a+bsin(2蟿蟿366t)+ccos(2蟿蟿366t)

To these data. Find the best approximation of this form, using least squares. How many daylight hours does your model predict for the longest day of the year 2012? (The actual value is 15 hours, 13 minutes, 39 seconds.)

To make a trend analysis of six evenly spaced data points, one can use orthogonal polynomials with respect to evaluation at the points \(t = - 5, - 3, - 1,\,\,1,\,\,3,{\rm{ and }}5\).

  1. Show that the first three orthogonal polynomials are

\({p_0}\left( t \right) = 1,\,\,\,\,\,\,{p_1}\left( t \right) = t,{\rm{ and }}{p_2}\left( t \right) = \frac{3}{8}{t^2} - \frac{{35}}{8}\)

(The polynomial \({p_2}\) has been scaled so that its values at the evaluation points are small integers.)

  1. Fit a quadratic trend function to the data \(\left( { - 5,1} \right),\left( { - 3,1} \right),\left( { - 1,4} \right),\left( {1,4} \right),\left( {3,6} \right),\left( {5,8} \right)\).

The formulaA(ATA)-1 for the matrix of an orthogonalprojection is derived in Exercise 67. Now considerthe QRfactorization of A, and express the matrixA(ATA)-1ATin terms of Q.

Consider the linear systemAx=b , where

A=[1326]and b=[1020].

a. Draw a sketch showing the following subsets of 2:

  • The kernel ofA , and(kerA)
  • The image of AT
  • The solution setSof the system Ax=b

b.What relationship do you observe between(kerA) and im(AT)? Explain.

c. What relationship do you observe betweenrole="math" localid="1660916844921" ker(A) and S? Explain.

d. Find the unique vectorx0 in the intersection ofS and(kerA) . Show x0on your sketch.

e. What can you say about the length of x0compared with the length of all other vectors in S?

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.