Repository navigation
Conversation
Member
|
Thanks a lot! I committed a suggestion, which integrates (or keeps) a few parts from the old vignettes, and the Bayesian part is moved to the bottom, not removed. WDTY? I commited this as additional file, mixed_models2.Rmd for now. I attached both versions (your and my revised) as PDF to this post. |
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Separate two choices in the mixed-model vignette: which random effects enter each prediction and which prediction rows are averaged. Explain how
re.form/re_formulaandestimatecontrol those choices, why averaging can narrow posterior intervals, and how to predict for a new group.Fixes #579.
Evidence
options(warn = 2).predict()calls for both random-effect settings and for the three averaging modes.brmsposterior draws. All 31 existing mixed-model assertions passed.OpenAI Codex assisted with the edit and verification.