for i, r in data.iterrows():
vals = np.linspace(r.min(), r.max(), 100)
X1 = sm.add_constant(out)
X1 = X1.sort(depvar)
//predict out of sample
y1 = fit.predict(X1)
marker=kwds["marker"]
After Change
depvar = self.model.endog_names
if indvar == "":
indvar = self.model.exog_names[1]
params = list(self.model.exog_names)
if indvar not in params:
self.pf.showWarning("chosen col is not a parameter",ax=ax)
return
//out of sample points