Does statsmodels WLS have get_influence() function?
问题 How do I get leverage/get_influence from a WLS model fit in python statsmodels Taking the example from http://statsmodels.sourceforge.net/stable/index.html # Load data dat = sm.datasets.get_rdataset("Guerry", "HistData").data # Fit regression model (using the natural log of one of the regressors) results_ols = smf.ols('Lottery ~ Literacy + np.log(Pop1831)', data=dat).fit() results_w = smf.wls('Lottery ~ Literacy + np.log(Pop1831)', data=dat).fit() I can call results_ols.get_influence but not