W3cubDocs

/Statsmodels

statsmodels.graphics.regressionplots.plot_leverage_resid2

statsmodels.graphics.regressionplots.plot_leverage_resid2(results, alpha=0.05, ax=None, **kwargs) [source]

Plots leverage statistics vs. normalized residuals squared

Parameters:
  • results (results instance) – A regression results instance
  • alpha (float) – Specifies the cut-off for large-standardized residuals. Residuals are assumed to be distributed N(0, 1) with alpha=alpha.
  • ax (Axes instance) – Matplotlib Axes instance
Returns:

fig – A matplotlib figure instance.

Return type:

matplotlib Figure

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.graphics.regressionplots.plot_leverage_resid2.html