We would like to fit the quadratic curve y = 1 + 2x + 3x2 to a

Question:

We would like to fit the quadratic curve y = β1 + β2x + β3x2 to a set of points (x1, y1), (x2, y2), . . . , (xn, yn) by the method of least squares. To do this, let
We would like to fit the quadratic curve y =

(a) By setting the three first partial derivatives of h with respect to β1, β2, and β3 equal to 0, show that β1, β2, and β3 satisfy the following set of equations (called normal equations), all of which are sums going from 1 to n:

We would like to fit the quadratic curve y =

(b) For the data

We would like to fit the quadratic curve y =

Show that
a = ˆ’1.88, b = 9.86, and c = ˆ’0.995.
(c) Plot the points and the linear regression line for these data.
(d) Calculate and plot the residuals. Does linear regression seem to be appropriate?
(e) Show that the least squares quadratic regression line is 6y = ˆ’1.88 + 9.86x ˆ’ 0.995x2.
(f) Plot the points and this least squares quadratic regression curve on the same graph.
(g) Plot the residuals for quadratic regression and compare this plot with that in part (d).

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Probability And Statistical Inference

ISBN: 579

9th Edition

Authors: Robert V. Hogg, Elliot Tanis, Dale Zimmerman

Question Posted: