Page 2 of 2

Re: Nested Logit - fixed lambda (NNNL vs. UMNL)

Posted: 25 Jan 2022, 18:52
by bartosz
Stephane,

Could you please give me some guidance or refer me to an example of how to implement this in Apollo?

Many thanks
Bartosz

Re: Nested Logit - fixed lambda (NNNL vs. UMNL)

Posted: 26 Jan 2022, 14:20
by stephanehess
So e.g. imagine that you have created utilities in a list, you would for an MNL model with 5 alternatives just write

P[["model"]]=((choice==1)*exp(V[[1]])+ ... + (choice==5)*exp(V[[5]]))/(exp(V[[1]]+...+exp(V[[5]]))

of course replacing the ...

Re: Nested Logit - fixed lambda (NNNL vs. UMNL)

Posted: 01 Feb 2022, 14:28
by bartosz
Now it's clear. Thanks again Stephane!