search for: real_avaliability

Displaying 2 results from an estimated 2 matches for "real_avaliability".

2016 Apr 13
0
reduced set of alternatives in package mlogit
...t is if one uses it with shape = ?long? . > So basically one can create an alternative specific variable with > availability (let?s call it is_avaliable) and use mlogit.data normally > that is : > all_avaliable <- mlogit.data(df , shape = ?wide? , ?) > then one can subset it > real_avaliability <- all_avaliable[all_avaliable$is_avaliable ,] > and resend it through mlogit.data with format long > mlogit.data(real_avaliability , shape = "long" , alt.var = "alt" , > chid.var = "chid", ?) > please observe that alt and chid will have been created by...
2016 Apr 01
1
reduced set of alternatives in package mlogit
Hi Jose, You're referring to your response variable when you're saying it's missing some of the choices, right? Are your response choices ever known or do they just occur with extremely low frequency? Either way, I think the mlogit package would be inappropriate for you. I imagine you would have much better luck using MCMCpack or writing a model with rstan or something Bayesian.