You have a sample of size n = 1 with data y₁ = 2 and £₁ = 1. You are interested in the value of 3 in the regression Y = XB+ u. (Note there is no intercept.) (a) Plot the sum of squared residuals (y₁ - br₁)² as function of b. Use the range #₁ € [−2,5] for your plot, and combine all plots of this exercise in one figure. (Use any software you prefer. Excel is one option.) (b) Show that the least squares estimate of 3 is BOLS = 2.

College Algebra
10th Edition
ISBN:9781337282291
Author:Ron Larson
Publisher:Ron Larson
Chapter3: Polynomial Functions
Section: Chapter Questions
Problem 18T
icon
Related questions
Question
Problem 2. [SW 14.9]
You have a sample of size n = 1 with data y₁ = 2 and x₁ = 1. You are interested in the value of
3 in the regression Y = XB+ u. (Note there is no intercept.)
(a) Plot the sum of squared residuals (y₁ - bx₁)² as function of b.
Use the range x₁ € [−2,5] for
your plot, and combine all plots of this exercise in one figure. (Use any software you prefer.
Excel is one option.)
(b) Show that the least squares estimate of 3 is BOLS = 2.
(c) Using ARidge = 1, plot the Ridge penalty term ARidgeb² as a function of b.
Transcribed Image Text:Problem 2. [SW 14.9] You have a sample of size n = 1 with data y₁ = 2 and x₁ = 1. You are interested in the value of 3 in the regression Y = XB+ u. (Note there is no intercept.) (a) Plot the sum of squared residuals (y₁ - bx₁)² as function of b. Use the range x₁ € [−2,5] for your plot, and combine all plots of this exercise in one figure. (Use any software you prefer. Excel is one option.) (b) Show that the least squares estimate of 3 is BOLS = 2. (c) Using ARidge = 1, plot the Ridge penalty term ARidgeb² as a function of b.
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning