[R] mlogit.data

2guard steve.chilton at gmail.com
Fri Jun 3 04:59:27 CEST 2011


On the same token, is it possible to run a mlogit on a data set that has
differing numbers of "alt.vars"?

would this dataset be valid with the addition of the below bolded record?

1           1   air     no   69    59    100    70     35    1 
2           1 train     no   34    31    372    71     35    1 
3           1   bus     no   35    25    417    70     35    1 
4           1   car    yes    0    10    180    30     35    1 
5           2   air     no   64    58     68    68     30    2 
6           2 train     no   44    31    354    84     30    2 
7           2   bus     no   53    25    399    85     30    2 
8           2   car    yes    0    11    255    50     30    2 
9           2  bike      no    0     14    322    33   30     2

If not, what would be the best solution for this?

Thanks in advance.....

--
View this message in context: http://r.789695.n4.nabble.com/mlogit-data-tp3328739p3569902.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list