graphics.regressionplots.plot_leverage_resid2()

statsmodels.graphics.regressionplots.plot_leverage_resid2

statsmodels.graphics.regressionplots.plot_leverage_resid2(results, alpha=0.05, label_kwargs={}, 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.

label_kwargs : dict

The keywords to pass to annotate for the labels.

ax : Axes instance

Matplotlib Axes instance

Returns:

fig : matplotlib Figure

A matplotlib figure instance.

doc_statsmodels
2017-01-18 16:10:16
Comments
Leave a Comment

Please login to continue.