Question: AVERAGE PEAK AVERAGE PEAK AGE EEG FREQUENCY AGE EEG FREQUENCY X, years y. hertz X, years y. hertz 5.33 7.28 5.75 7.06 5.80 7.60 5.60


AVERAGE PEAK AVERAGE PEAK AGE EEG FREQUENCY AGE EEG FREQUENCY X, years y. hertz X, years y. hertz 5.33 7.28 5.75 7.06 5.80 7.60 5.60 7.45 10 00 -1 Q UI + WN 6.00 8.23 5.78 8.50 5.90 16 9.38 6.23Least squares prediction equations: 5? = 4.44 + 0.26:: a.) Write down the model in a matrix notation. Specify X and . (Hint: See R code from class). b) Using R, compute X 'X . What is the dimension of this matrix? c) Using R, compute (X'X)'1X'y. d) Is this result in (c) the same as the coefcients from Exercise 3.12 that used 11110? e) Using R compute the hat matrix, H = X (X'X)'1X'. Obtain the leverage points. f) Explain the geometrical meaning of g = Hy. g) Using R, obtain 3": using Hy. What do these numbers from the output represent? Explain
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
