Plot partial regression for a set of regressors.
Parameters : | endog : ndarray
exog : ndarray
exog_idx : None or list of int
grid : None or tuple of int (nrows, ncols)
fig : Matplotlib figure instance, optional
|
---|---|
Returns : | fig : Matplotlib figure instance
|
Notes
A subplot is created for each explanatory variable given by exog_idx. The partial regression plot shows the relationship between the response and the given explanatory variable after removing the effect of all other explanatory variables in exog.
References
See http://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/partregr.htm