statsmodels.graphics.regressionplots.influence_plot(results, external=True, alpha=0.05, criterion='cooks', size=48, plot_alpha=0.75, ax=None, **kwargs)
[source]
Plot of influence in regression. Plots studentized resids vs. leverage.
Parameters: 


Returns: 
fig – The matplotlib figure that contains the Axes. 
Return type: 
matplotlib figure 
Row labels for the observations in which the leverage, measured by the diagonal of the hat matrix, is high or the residuals are large, as the combination of large residuals and a high influence value indicates an influence point. The value of large residuals can be controlled using the alpha
parameter. Large leverage points are identified as hat_i > 2 * (df_model + 1)/nobs.
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.graphics.regressionplots.influence_plot.html