통계 , 수학
avplot (Partial Regression Plot)
visualy
2017. 8. 8. 15:11
- Compute the residuals of regressing the response
variable against the indpendent variables but omitting
Xi
- Compute the residuals from regressing Xi
against the remaining indpendent variables.
- Plot the residuals from (1) against the residuals from (2).
Velleman and Welsch (see References below) express this mathematically as:
- Y.[i] versus
Xi.[i]
where
- Y.[i] = residuals from regressing
Y (the response variable) against all the indpendent
variables except Xi
Xi.[i] = residuals from regressing Xi against the remaining indpependent variables.
Velleman and Welsch list the following useful properties for this plot:
- The least squares linear fit to this plot has the slope
i and intercept zero.
- The residuals from the least squares linear fit to
this plot are identical to the residuals from the
least squares fit of the original model (Y against
all the independent variables including
Xi).
- The influences of individual data values on the
estimation of a coefficient are easy to see in this plot.
- It is easy to see many kinds of failures of the model or violations of the underlying assumptions (nonlinearity, heteroscedasticity, unusual patterns).
===> 선형성 진단에도 쓸수 있다. (acprplot이 더 적합하지만)
http://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/partregr.htm