statsmodels/statsmodels — pull request #544 by jseabold (2012-10-25 23:47:36+00:00)
Title: ENH: Make kosher for wrapped results

Should fix issue #542, though I can't be sure this was the issue seen. Does this look like what the problem was? Passing a Series to sm.OLS shouldn't be a problem.

```
dta = sm.datasets.macrodata.load_pandas().data
dta["const"] = 1
res = sm.OLS(dta["realgdp"], dta[["const", "realinv", "realint"]]).fit()
from statsmodels.graphics.regressionplots import plot_fit
plot_fit(res, 1)
```