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
ENH: Move compare_lr_test to LikelihoodModelResults - #2641
This needs unit tests, if possible against R, e.g. for GLM and for MixedLM
Otherwise, I think it's fine. It's a plain version, that doesn't fix nuisance parameters like scale across models, but I still don't know how to implement that generically.
(Two cases: 1) parameter estimates are independent of nuisance parameter, e.g. scale GLM/OLS, we could just use the argument in loglike. 2) nuisance parameter affects the mean parameters, then we would have to reestimate with a fixed nuisance parameter, which would end up being more similar to the structure of multi model comparison in anova_lm
Possibly still buggy: loglike of normal models is defined as concentrated likelihood with MLE scale)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #2436
Closes #2440
Part of my unfinished GSoC(another PR pending)