Skip to content
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

Document equivalence of re_formula = NA and re_formula = ~0 in predict methods #1629

Open
wpetry opened this issue Mar 19, 2024 · 0 comments

Comments

@wpetry
Copy link

wpetry commented Mar 19, 2024

Users can specify which group-level "random" effects to condition on when making predictions. brms is consistent with other mixed modeling packages (lme4, rstanarm, etc.) in allowing (i) a one-sided formula specifying the effects to condition on, (ii) NULL to condition on all effects in the model, or (iii) NA to include no group-level effects.

Like the other packages, brms accepts re_formula = ~0 as an equivalent to re_formula = NA, but this is not documented for the predict.brmsfit method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants