ALRChap8 - Chapter 8 Regression Diagnostics Linear Model 0...

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

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Chapter 8: Regression Diagnostics Linear Model: 0 After we fit the above linear model to the data, we wonder whether the assumptions (1) Linear relationship between X and Y 0 and (2) (3) are right has normal distribution, we need to check whether the normal Sometimes, we also assume that assumption is right for the data We will use residuals ê= Y – Ŷ as the statistic for such diagnostics. Review: Ŷ = X = X(XTX)-1XTY= HY ̂ ̂ H is called hat matrix = Properties of estimated residual 0 , where is the ith diagonal element in H ̂ 1 Properties of hat matrix: , , 0 ∑ 1 ∑ Leverage ∑ 1 As Thus 1 0 is called the leverage of the ith observation (case). In weighted least squares, some attention needs to paid on how to define residual 0 Residual: Deficiencies: 1) ∑ because the weights are ignored. 2) ̂ depends We thus define residual as ) Pearson residuals or weighted residuals The pattern of residuals when the model is correct Plot vs 1) Scatter around zero ̂ 0 ̂ 1 is not quite constant but variability is small. 2) 3) Residuals are correlated but correlation is not visible. 1. Plot: Check to see if the linear mean function is adequate ˆ ˆ ei versus y i Remedy: add x 2 terms into the model 2. Check to see if the constant variance assumption is valid ˆ ˆ Plot: ei versus y i Remedy: variance stabilizing transformations 3. Sometimes, we assume that the residuals have normal distribution ˆ Plot: QQ plot of ei to check the normality assumption. Diagnostic for Nonconstant Variance Suppose now that In general, we assume :λ | depends on λ and Z 2 A score test: 0 |, |, ̃ exp λ ̃ 1) Regress Y on X , compute 1 2) Compute the regression of SSreg(z) be the sum of squares for Regression df=q 3) ~ Remedy: Variance Stabilizing Transformation √: 1 : | | | 0 | | | 1 log Y: √ ...
View Full 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