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: hessian_factor in GLM has wrong sign as derivative #7826
Reopening. #10628 changed GLM.information to return the expected (Fisher) information with the correct sign, and the closing keyword in the author's commit message closed this issue when it was merged. The sign convention of hessian_factor, which is what this issue is about, is unchanged, so the issue is only partly resolved.
Activity
josef-pkt commentedon Oct 29, 2021
I just saw that GLM.information also has the wrong sign.
It returns the hessian, but information matrix is negative hessian.
This has also been added in 2014 https://github.com/statsmodels/statsmodels/pull/1781/files#diff-388bc0dcdcd2e88f19d0d08e3269a448719fcba4811cc5eaa0db1c0a2ec911f2R426
Obviously I wasn't much aware of signs of hessian verus IM when I wrote that.
No bug report since then, and we never use GLM.information. Remove it.
josef-pkt commentedon Dec 5, 2022
refactor for early 0.15
will need changes to generic code that currently special cases GLM
BUG: GLM.information returned the Hessian, not the Fisher information
bashtage commentedon Oct 28, 2026
Reopening. #10628 changed
GLM.informationto return the expected (Fisher) information with the correct sign, and the closing keyword in the author's commit message closed this issue when it was merged. The sign convention ofhessian_factor, which is what this issue is about, is unchanged, so the issue is only partly resolved.