Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You're given a dataset (X_1,Y_1 ), ..., (X_n, Y_n) which are i.i.d. with unknown distribution, but you do know thet X and Y are positively

You're given a dataset (X_1,Y_1 ), ..., (X_n, Y_n) which are i.i.d. with unknown distribution, but you do know thet X and Y are positively (but not perfectly) correlated. In linear regression, we fit a line y=a+bx and find (a,b) that minimizes some loss function. The usual choice of loss function is the mean squared vertical distance from the line of best fit (i.e. (Y_i a bX_i )^2 ); let the resulting parameters be (a_1,b_1 ). Another possible choice of loss function is the mean squared horizontal distance from the line of best fit (i.e. (X_i(Y_ia)/b)^2 ; let the resulting parameters be (a_2,b_2 ). 3(a) Suppose we observe the data points (1,1), (2,5), (3,4), (4,7), (5,9). What are the values of b_1 and b_2 for this dataset? (Hint: for b_2, consider performing LSE on (Y_1,X_1 ), ..., (Y_n, X_n ); the slope obtained here is the reciprocal of b_2.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Algebra 1

Authors: Mary P. Dolciani, Richard A. Swanson

(McDougal Littell High School Math)

9780395535899, 0395535891

More Books

Students also viewed these Mathematics questions