NErler / JointAI

Joint Analysis and Imputation of generalized linear models and linear mixed models with missing values
https://nerler.github.io/JointAI
28 stars 4 forks source link

JM_imp(); example for unbalanced longitudinal multinomial logit models #1

Closed Erfanit64 closed 3 years ago

Erfanit64 commented 3 years ago

Hi,

I came across your project and find JM_imp() function that was explained as "joint model for longitudinal and survival data". However, I couldn't execute it on a unbalanced panel data with dependent variable being a 3 categories outcome variable. I appreciate it if you could demonstrate JM_imp() on a similar example (unbalanced longitudinal multinomial logit model).

Thanks. Erfan

NErler commented 3 years ago

The JM_imp() function fits joint models for longitudinal (panel) and time-to-event data, however, it can currently not yet handle multinomial longitudinal variables. If your setting does not involve a time-to-event outcome you probably should use mlogitmm() instead. What exactly is your setting?