Displaying 1 result from an estimated 1 matches for "t1m".
Did you mean:
t1
2013 Mar 19
0
mlogit: block design CE model
...0 1 1
2 1 35 2 8 2 0 1 1 0 0
2 1 35 2 9 1 0 1 0 1 0
2 1 35 2 9 2 1 1 0 0 1
2 1 35 2 11 1 0 0 1 0 0
2 1 35 2 11 2 1 2 0 1 1
I have tried the following codes to set the data for mlogit and run the
model:
T1m<-mlogit.data(T1,shape="long",choice="choice",alt.var="Alt")
m1=mlogit(choice~x1+x2+x3+x4|Age+Sex, data=T1m)
I am getting the following error:
Error in if (abs(x - oldx) < ftol) { : missing value where TRUE/FALSE
needed
I have gone through the data and found no...