statsmodels/statsmodels — pull request #1679 by kshedden (2014-05-21 03:04:53+00:00)
Title: BUG: Fix problems with predict handling offset and exposure

This PR accomplishes three things in GLM.predict:

1. predict should ignore offset and exposure if exog is provided.

2. If offset or exposure are explicitly provided, they should override any offset or exposure that were part of the fit.

3. exposure is not allowed unless the link is the log function