-
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
Feature Request [enhancement]: Support for Multiple Response Variables using Syntax in TuringGLM.jl #93
Comments
No ongoing work going but PRs are welcomed. |
Related to this, we (also tagging @itsdfish) would like indeed to see if it's possible to provide a TuringGLM interface for the reaction time models implemented in SequentialSamplingModels.jl. If I understand, most of the heavy lifting is done in turing_model() that defines the model / priors etc, so my guess is that we should implement a Could you perhaps guide us (or add a section to the documentation) what are the necessary methods that one needs to implement in order to add new model families? like Perhaps the new package extension system would be useful? From there, we could see how to extend the formula macro to work with multi-parameters formulas Thanks a lot! |
You would need to extract the multiple responses from the Line 29 in 864bfe2
then, indeed, create a Of course you would also need to add docs and tests |
I don't mind reviewing PRs. If you want to implement inside |
Last year we had a discussion and tentatively converged on the following syntax:
where drift is an unbounded vector, and threshold and ndt are non-negative scalars. Before I dig into the package more, I was hoping to get an idea about the feasibility of implimenting the macro for these types of models. If you don't mind, can you please tell me whether the following are possible?
Edit Maybe the solution to item 2 is as simple as using a truncated normal? |
Yes,
Maybe with |
I would like to inquire if any ongoing work exists for a feature in TuringGLM.jl that supports a syntax for specifying multiple response variables within a single model. Based on my understanding, the current formula syntax in TuringGLM.jl only allows modeling of a single response variable. However, having the capability to model multiple response variables would significantly enhance the usability and convenience of TuringGLM.jl.
Requested Feature
Compact Syntax for Multiple Response Variables: Implement a compact syntax in TuringGLM.jl that enables users to specify multiple response variables within a single model specification. This would allow users to model the relationships between multiple dependent variables and independent variables.
Proposed Formula Syntax
Compact Syntax for Multiple Response Variables could look something similar to that of brms:
In this proposed syntax, each response variable (
y
,w
,v
) is specified on a separate line, followed by the fixed effects (condition
) and the random effects ((condition | id)
).If someone could provide guidance on where to start with these modifications, I would be happy to contribute to the implementation.
The text was updated successfully, but these errors were encountered: