100BHWS1

# 100BHWS1 - STAT 100B HW1 Solution Problem1 Linear Let = E =...

This preview shows page 1. Sign up to view the full content.

STAT 100B HW1 Solution Problem1 Linear Let ˆ β = i w i y i E ( ˆ β ) = E ( X i w i y i ) = X i w i E ( y i ) = X i w i βx i = β < w, x > Unbiased < w, x > = 1 V ar ( ˆ β ) = V ar ( X i w i y i ) = X i w 2 i V ar ( y i ) = σ 2 X i w 2 i = σ 2 || w || 2 Best want to min || w || < w, x > = || w |||| x || cos θ = 1 ⇒ || w || = 1 || x || cos θ 1 || x || Smallest value happens when θ = 0 o . Let w = ax || w || = || ax || = a || x || = 1 || x || a = 1 || x || 2 w = ax = x || x || 2 ˆ β = < w, y > = < x, y > || x || 2 = x i y i x 2 i Problem2 ∂β n X i =1 ( y i - βx i ) 2 = n X i =1 ( y i - βx i )( - x i ) = 0 ˆ β = x i y i x 2 i Problem3 x i y i = 774 . 1159, x 2 i = 385, ˆ β = 2 . 0107 Problem4 E ( n i =1 ( y i /x i ) /n ) = 1 /n n i =1 E ( y i ) /x i = 1 /n n i =1 β = β , ˆ β = 2 . 1157 E ( n i =1 y i / n i =1 x i ) = n i =1 E ( y i ) / n i =1 x i = β n i =1 x i / n i =1 x i = β , ˆ β = 2 . 0408 Problem5 ˆ β 1 ˆ β 2 ˆ β 3 ˆ β 4 ˆ β 5 5 j =1 ( ˆ β j - 2) 2 / 5 x i y i / x 2 i 2.0107 1.9519 1.9695 2.0039 1.9423 0.0013 n i =1 ( y i /x i ) /n 2.1157 1.9368 1.9736 1.9960 1.9578 0.0040 n i =1 y i / n i =1 x i 2.0408 1.9596 1.9749
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern