multinomial/conditional logit with grouped data in R

1.1k Views Asked by At

I'm looking for a way to fit a conditional logit on grouped data in R. I have multinomial choice counts with response- and individual-specific variables. Unfortunately, the expanded dataset would be too huge to work with it. Thus I can't use most of the packages I know, mlogit for example. I discovered vglm from the VGAM package but it doesn't work if one explanatory variable is missing for a response category.

Has someone tried something similar in R ?

Thanks!

1

There are 1 best solutions below

0
nikademus On

You can use clogit in the survival package by setting the strata to your group id.