-
Notifications
You must be signed in to change notification settings - Fork 49
warning for GLMM with dispersion parameter #373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #373 +/- ##
==========================================
+ Coverage 94.86% 94.97% +0.11%
==========================================
Files 23 23
Lines 1576 1593 +17
==========================================
+ Hits 1495 1513 +18
+ Misses 81 80 -1
Continue to review full report at Codecov.
|
src/generalizedlinearmixedmodel.jl
Outdated
| throw(ArgumentError("use LinearMixedModel for Normal distribution with IdentityLink")) | ||
|
|
||
| if !any(isa(d, dist) for dist in (Bernoulli, Binomial, Poisson)) | ||
| @warn """Results for families with a dispersion parameter are known to be inaccurate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might change that to "Results for families with a dispersion parameter are not reliable. It is best to avoid trying to fit such models in MixedModels until the authors get a better understanding of those cases."
…ith dispersion parameter(cherry picked from commit 66b8863)
* warning for GLMM with dispersion parameter (#373)* warning for GLMM with dispersion parameter(cherry picked from commit 66b8863) * correct coeftable for GLMMs, add tests (#308) * Move methods for abstract MixedModel struct to separate file. (cherry picked from commit 5fb6f65) * chang CoefTable column names to match GLM.jl * ranef method for GLMM (#336) (cherry picked from commit 753aa6f) * make (1|x) + (y|x) equivalent to (1|x) + (0+y|x) (#338) * fix error with (1|x) + (y|x) * fix typo (cherry picked from commit 20c83ef) * update ranef docstring Co-authored-by: Douglas Bates <dmbates@gmail.com>
Closes #372.
Is the warning message okay?