(a) Please derive the least squares regression line, y = ax + b, for the points (x₁, y₁), i = 1,..., n. (Hint: find a and b such that minimize S = -₁(y₁ - axi — b)².)< - (b) Graph the three points (2, 2), (2, 1), (2.1, 1.5) and estimate the least squares regression line for these data by the formulas to find a better linear approximation for these points. (c) Repeat (b) if these points (-2, 2), (0, 1), (2, 1.5).

Elementary Linear Algebra (MindTap Course List)
8th Edition
ISBN:9781305658004
Author:Ron Larson
Publisher:Ron Larson
Chapter5: Inner Product Spaces
Section5.CM: Cumulative Review
Problem 21CM
icon
Related questions
Question
(a) Please derive the least squares regression line, y = ax + b, for the points (x, y), i = 1,..., n.
(Hint: find a and b such that minimize S = ₁(y₁ - axi - b)².)<
Σ=1(y;
(b) Graph the three points (2, 2), (2, 1), (2.1, 1.5) and estimate the least squares regression line for these data by
the formulas to find a better linear approximation for these points.
(c) Repeat (b) if these points (-2, 2), (0, 1), (2, 1.5).
Transcribed Image Text:(a) Please derive the least squares regression line, y = ax + b, for the points (x, y), i = 1,..., n. (Hint: find a and b such that minimize S = ₁(y₁ - axi - b)².)< Σ=1(y; (b) Graph the three points (2, 2), (2, 1), (2.1, 1.5) and estimate the least squares regression line for these data by the formulas to find a better linear approximation for these points. (c) Repeat (b) if these points (-2, 2), (0, 1), (2, 1.5).
Expert Solution
steps

Step by step

Solved in 5 steps with 30 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Elementary Linear Algebra (MindTap Course List)
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:
9781305658004
Author:
Ron Larson
Publisher:
Cengage Learning