# Mixed Logit Model

**URL:** <https://discourse.mc-stan.org/t/mixed-logit-model/3513>\
**Category:** Modeling\
**Created:** [March 8, 2018, 4:22pm UTC](https://discourse.mc-stan.org/t/mixed-logit-model/3513 "2018-03-08T16:22:56Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![TOM](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@TOM](https://discourse.mc-stan.org/u/TOM)\
**Post date:** [March 15, 2018, 1:19pm UTC](https://discourse.mc-stan.org/t/mixed-logit-model/3513/7 "2018-03-15T13:19:50Z")

</div>

Hi James

Thanks!

I had a hard time getting my head around your indexing part. So I tried it with a different style of indexing. If I’m not mistaken, it includes individual data (demographics) as well as attributes of the alternatives. My model looks like this:

> <https://github.com/ThomasWilli/mixed-logit/blob/master/stan/mnl_cl.stan>

It seems to me that this model is much more sparse… In other words what am I missing here?

---

_[View the full topic](https://discourse.mc-stan.org/t/mixed-logit-model/3513)._
