DOC: Update after refactor. Use ipython directive.

I don't think we did this in any of the main `rst` files. It's just supposed to be an illustration, with reference to real examples.  http://statsmodels.sourceforge.net/devel/regression.html and others

should we change this? 
I don't know how it looks like, but it might be distracting at the top level