-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fix issue #268 #287
Fix issue #268 #287
Conversation
new group-level effects are drawn when predicting from a multilevel submodel). Also adapt the docs.
I think your suggestions make sense |
I think what you've done here is fine, thanks for asking (I'll forward this to other lme4-authors in case they have strong opinions, but I'm pretty sure they'll be fine with this too). |
Great, thanks. |
I'm also happy with your attribution to us for the code reused from |
files `LICENSE` and `LICENSE.md`. File `LICENSE` contains some detailed information about external components (including their full license texts). The GPL-2 license text was downloaded from <https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>. File `LICENSE.md` contains the full GPL-3 license text (as recommended at <https://r-pkgs.org/license.html#key-files>) and was downloaded from <https://www.gnu.org/licenses/gpl.md>.
files `LICENSE` and `LICENSE.md`. File `LICENSE` contains some detailed information about external components (including their full license texts). The GPL-2 license text was downloaded from <https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>. File `LICENSE.md` contains the full GPL-3 license text (as recommended at <https://r-pkgs.org/license.html#key-files>) and was downloaded from <https://www.gnu.org/licenses/gpl.md>.
useful in the future).
This fixes issue #268 for GLMMs by drawing the random effects for new group levels from a (multivariate) Gaussian distribution.
Note that by this PR, issue #268 is not fixed for GAMMs yet.
Copyright/license:
The code for the new
repair_re.merMod()
is inspired by (i.e., it uses code snippets from)lme4:::predict.merMod()
. I included a corresponding statement right beforerepair_re.merMod()
(these lines). Since lme4 is licensed under GPL (>=2) and projpred is licensed under GPL-3, the inclusion of code snippets from lme4 should be ok. (For a proof that GPL (>=2) and GPL-3 are compatible, see here and the table here.) However, some remaining questions I have are:LICENSE
file where we explain which code snippets from lme4 are used (and change the "License" field inDESCRIPTION
correspondingly toGPL-3 | file LICENSE
)? This is what is done in package shiny, for example. (But I guess the external components in shiny are larger than the code snippets used here.)LICENSE.md
file containing the full GPL-3 license text (see here)?DESCRIPTION
file? If you would like such a copyright-holder entry in the "Authors@R" field, which persons should it include? Or simply "The LME4 Authors"?