Partial residual plot in linear regression - nonlinearity

preview_player
Показать описание
An assumption in linear regression is that Y is linear in the Xs. The partial residual (components plus residual) plot picks up a certain form of nonlinearity between Y and X.

0:00 Introduction - linearity assumption in regression
0:43 Partial residual plot
1:05 Typo: should be "+" before beta_p in the model
1:35 Example 1
2:25 Example 2: Leakage effect in partial residual plots
3:44 Summary and references

REFERENCES

Fox (2015). Applied Regression Analysis and Generalized Linear
Рекомендации по теме
Комментарии
Автор

Do you use R for making these plots? It would be nice if you could provide us the R codes. Thank you!

muriloafurtado
Автор

How did you add those smoothed line to reveal the trend?

ishtiakahmed