Skip to content

REF/BUG generic likelihood LLRMixin use df_resid instead of df_model for llr_pvalue - #7586

Merged
josef-pkt merged 1 commit into
statsmodels:mainfrom
josef-pkt:bug_beta_llrpvalue_generic
Jul 19, 2021
Merged

josef-pkt merged 1 commit into
statsmodels:mainfrom
josef-pkt:bug_beta_llrpvalue_generic

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

fixes bug with incorrect df constraints in llr_pvalue for beta regression
#7584 (comment)

fix is to use the difference in df_resid following the pattern of RegressionResults.compare_lr_test

df_model is still ambiguous across models, and currently not counting number of slope parameters.
see #1723 (comment)

@josef-pkt
josef-pkt merged commit a26ad6e into statsmodels:main Jul 19, 2021
@josef-pkt josef-pkt mentioned this pull request Jul 19, 2021
1 task done
@bashtage bashtage added this to the 0.13 milestone Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants