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

Multivariate Model #108

Open
inti opened this issue Nov 16, 2017 · 3 comments
Open

Multivariate Model #108

inti opened this issue Nov 16, 2017 · 3 comments

Comments

@inti
Copy link

inti commented Nov 16, 2017

Hi,
Is it possible with bambi to fit multivariate models. I am looking into fitting a model with (at leas) one covariance matrix and two outcomes. I want to estimate the variance components associated with the known covariance (kernel) matrix on each outcome and also the covariance between the outcomes associated with the kernel.

Is that possible to do with bambi

Many thanks in advance

@jake-westfall
Copy link
Collaborator

jake-westfall commented Nov 17, 2017

It's not currently possible to fit models like that. If I understood correctly, you seem to be talking about two separate features: (a) fitting models with multiple response variables where you estimate the covariance between responses (/their errors), and (b) fitting models where the realizations of each response are not independent but rather have a certain covariance matrix with parameters to be estimated, as in e.g. serial autocorrelation. (That's my best guess at what you mean by "the variance components associated with the known covariance (kernel) matrix on each outcome.")

Both of these features would be nice to eventually have, at least for Gaussian responses. For non-Gaussian responses I think it would potentially be quite tricky, as you're basically in GEE territory at that point.

@inti
Copy link
Author

inti commented Nov 20, 2017 via email

@jake-westfall
Copy link
Collaborator

The title of this issue corresponds to case (a) from above, so I just created #110 to handle case (b).

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