Displaying 2 results from an estimated 2 matches for "is_avali".
Did you mean:
in_avail
2016 Apr 13
0
reduced set of alternatives in package mlogit
...reference, I would like to post here that I found the answer.
> Apparently it is not possible if one uses mlogit.data with shape =
> ?wide?, but it 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_avaliab...
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.