Python, Data Analysis, Data Science, R, Machine Learning.
using Python The conclusion is the same as displayed when using R. # residuals vs leverage plot fig2 = sm.graphics.influence_plot(slr2, criterion="cooks") fig2.tight_layout(pad=1.0) Figure 9. Residuals vs Leverage plot (Influence Plot) The display is quite different compared to shown in R. The