if the intercept is the coefficient of the constant, then you have to
add it yourself to exog, X.
X = sm.add_constant(X) or something like this
then the intercept will be part of params.
(still no offset for Poisson, and GLM)
Josef
>
> Thanks,
Hi,
I just saw your blog by chance.
The problem we had with 0*log(0) is only fixed in trunk, I think, not
in the last release version.
Any comments about your experience with statsmodels (and bug reports
and ...) will be very welcome.
Josef
Cool. FYI there is a convenience function for adding a constant, so
you can just do
X = sm.add_constant(X)
I quickly got tired of typing ones() everywhere.
Skipper