Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help with these questions, thank you A Special Case of Linear Regression 3. (14 points) In this question, we fit two models: y5 =
Please help with these questions, thank you
A Special Case of Linear Regression 3. (14 points) In this question, we fit two models: y5 = 00 + 05x1 yo = 08 + 01x1+02x2 using L2 loss. The superscript S is to denote a Simple Linear Regression (SLR) and O is used to denote an Ordinary Least Square (OLS) with two features, respectively. The data are given below: Y bias X.1 X. 2 COL (a) (3 points) Find 05 and Of using the formulas derived in lecture 10 (05 = roy and 05 = y - 05x). Show all steps. You may find it helpful to keep intermediate steps in the square root (they cancel out nicely at the end!). Homework #6 8 (b) (2 points) Find es = using the formula derived in lecture 12: 05 = (XX)-IXTY. Explicitly write out the matrix X for this problem and show all steps. How does it compare to your answer to part a)? (Hint: 8 8 - 1/a (c) (1 point) Find the MSE for the SLR model above. (As a sanity check, the sum of residuals should be 0.)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started