-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support for multiple response variables #42
Comments
@null-a what do you think about the feasibility of this? Are there any major stumbling blocks you're aware of? |
@eb8680: To the extent that I'm familiar with this feature, it seems perfectly feasible to me -- I see no major stumbling blocks.
Yes, that's my understanding too. When multiple responses share the same family this could also be a single
My understanding is that it is possible implement multivariate responses without this, but that once we do so this would be a useful extension to add? (Because it allows for group level terms Some further thoughts, noted for future reference:
|
I think a first version supporting only Modelling correlations in residuals across arbitrary families seems more difficult, we can punt on that for now.
I wonder if we might want to draw a distinction between multiple variables and vector/tensor-valued variables or means, in the same way that Pyro allows tensor-valued sample statements via I would also like to see categorical responses supported eventually, since one of my motivating examples for this series of issues is a hierarchical HMM where the transition and emission distributions can each be written as GLMMs.
Yeah, that sounds right. Maybe a good starting point would be to collect some examples that brms handles? |
This sounds like a promising direction to me. |
The
mvbrmsformula
function inbrms
provides support for multiple formulas with shared inputs:It would be nice if brmp supported this behavior as well. I believe that in code generation this would just correspond to generating a single model with multiple response sample statements.
Additional question for discussion: would this require implementing brms's
(expr | ID | group)
grouping syntax as well?The text was updated successfully, but these errors were encountered: