```python model = smf.ols(formula, one_y) model.fit() for y in ys: model.wendog = y results = model.fit() ``` Asked for advice on the mailing list: https://groups.google.com/forum/#!topic/pystatsmodels/ms1a9IftQQk
Asked for advice on the mailing list: https://groups.google.com/forum/#!topic/pystatsmodels/ms1a9IftQQk