You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: transparams and start_params not consistent #3918
The example has huge overdispersion alpha=1700, while the log(alpha) is then around 7.
The problem doesn't affect optimization much if alpha is around 1 or in another small range because the absolute mistake is not large. example is from mailing list link in #3476
Fixed by PR #3921 (commit fe80d95), which transforms user-supplied start_params to log-alpha space when _transparams is active. The related score[-1] == score[-1] ** 2 no-op-comparison typo was separately fixed by commit 8f93160. Closing as fixed.
Activity
josef-pkt commentedon Sep 21, 2017
most likely I will fix this in a
llnullPR that I am working onjosef-pkt commentedon Sep 21, 2017
It looks like GeneralizedPoisson and NegativeBinomialP have the same problem, based on reading the code, no example yet.
edit
but in these two models transparams is False by default with a new keyword argument in fit
use_transparams = Falsejosef-pkt commentedon Sep 21, 2017
BUG, and transparams is never used in GPP, NBP
both GeneralizedPoisson and NegativeBinomialP score have
==instead of assignment=BUG/REF: NegativeBinomial, adjust start_params for transparams see st…
josef-pkt commentedon Sep 22, 2017
Fixed for NegativeBinomial in #3921, but not for GPP and NBP
BUG/REF: NegativeBinomial, adjust start_params for transparams see st…
bashtage commentedon Jul 30, 2026
Fixed by PR #3921 (commit fe80d95), which transforms user-supplied start_params to log-alpha space when _transparams is active. The related score[-1] == score[-1] ** 2 no-op-comparison typo was separately fixed by commit 8f93160. Closing as fixed.