Skip to content
Prev 17813 / 20628 Next

lme4 multivariate

You could the put the two outcomes one underneath the other, create a factor variable denoting the outcome, and interactions of this factor with the fixed and random effects you want to include.

Best,
Dimitris


From: Angelo Moretti <angelo.moretti at manchester.ac.uk<mailto:angelo.moretti at manchester.ac.uk>>
Date: Monday, 22 Jul 2019, 18:08
To: r-sig-mixed-models at r-project.org <r-sig-mixed-models at r-project.org<mailto:r-sig-mixed-models at r-project.org>>
Subject: [R-sig-ME] lme4 multivariate

Hello,
I am writing regarding the R package lme4. My aim is to estimate a bivariate generalised mixed-effect model for binary responses (with logit link function). Does the package allow to do this instead of estimating two separate models? I am trying to do that under ML.
Thank you very much for your help.





_______________________________________________
R-sig-mixed-models at r-project.org mailing list
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mixed-models&amp;data=02%7C01%7Cd.rizopoulos%40erasmusmc.nl%7C85a37960ee95419e5fe608d70eb66b71%7C526638ba6af34b0fa532a1a511f4ac80%7C0%7C1%7C636994048951660335&amp;sdata=VZnnHz6pkV5EujoGzi%2BXeFm4hfBhtJW%2FjHQIgE6Rkzs%3D&amp;reserved=0