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/REF: OrderedModel, df_model is k_params, not extra over null model #8482
I'm working on changing and fixing df_resid, df_model in GenericLikelihoodModel in #8476
With my latest changes df_model definition raises a Warning
The constants only model should have k_null = number of thresholds (for empty exog which cannot include a constant)
so df_model should be k_vars, exog.shape[1]
aside: the null model Results.llnull uses parameter estimates from OrderedModel.start_params
Activity
josef-pkt commentedon Nov 29, 2022
fixed in #8476
changed to
I don't see unit tests for it in the merged PR.
???
bashtage commentedon Jul 30, 2026
Fixed by PR #8476: df_model is now correctly computed as params-over-null (self.k_vars) rather than total params. Closing as fixed.