-
Notifications
You must be signed in to change notification settings - Fork 48
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
Allow for offset in GLMMs and simplify wts #482
Conversation
dmbates
commented
Mar 4, 2021
•
edited
Loading
edited
- closes Offset for Poisson models #453
- working on an example based on one in lme4
Codecov Report
@@ Coverage Diff @@
## master #482 +/- ##
==========================================
+ Coverage 93.36% 94.01% +0.65%
==========================================
Files 27 27
Lines 1929 2140 +211
==========================================
+ Hits 1801 2012 +211
Misses 128 128
Continue to review full report at Codecov.
|
@palday Should we go ahead and merge this, perhaps after turning off the Future ci. I would say that this is a bug fix. (I suppose now you want me to put it in News.md, don't you?) |
@dmbates you predicted my request. 😄 Can you put it under As a sidebar: should we support offsets in LMM (in a separate PR)? |
This branch is currently based on the |
Put the NEWS entry in the right spot, we'll merge into master and I'll git-magic the backport aftwards. 😄 |
The uses of an offset for a model with identity link have always seemed rather contrived to me. You might as well just shift the response by the offset and proceed normally. |
My thoughts exactly. 😄 Should we error if an offset is specified for an LMM then? |
Yes, please do. |
The constructor clearly will error, but for the I'll add it later today and then get this merged in. 😄 |
* Allow for offset in GLMMs and simplify wts * Add dataset and test for offset in Poisson GLMM * Add a NEWS item. * error on LMM offset * news formatting * NEWS links Co-authored-by: Phillip Alday <[email protected]> (cherry picked from commit 9fc9e50)
* bring back LazyArtifacts (#486) * bring back LazyArtifacts * drop Pkg dep * compat entry for lazyartifacts (not stdlib on julia <1.6) (cherry picked from commit 135e87d) * Allow for offset in GLMMs and simplify wts (#482) * Allow for offset in GLMMs and simplify wts * Add dataset and test for offset in Poisson GLMM * Add a NEWS item. * error on LMM offset * news formatting * NEWS links Co-authored-by: Phillip Alday <[email protected]> (cherry picked from commit 9fc9e50) * patch bump Co-authored-by: Douglas Bates <[email protected]>