Hi, I need help to do "mlogit" including "l( ) function.
When I put following command,
"Error in  parse(text = x) :  <text>:2:0:" is shown.
--------
res1<-(mlogit(choice~train+bus+plane+taxi+year+cost
+I(gen*train)+I(gen*bus)+I(gen*plane)+I(gen*taxi)+I(gen*year)+I(gen*cost)
+I(age*train)+I(age*bus)+I(age*plane)+I(age*taxi)+I(age*year)+I(age*cost)
+I(prep*train)+I(prep*bus)+I(prep*plane)+I(prep*taxi)+I(prep*year)+I(prep*cost)
+I(inc*train)+I(inc*bus)+I(inc*plane)+I(inc*taxi)+I(inc*year)+I(inc*cost)
+I(tour*train)+I(tour*bus)+I(tour*plane)+I(tour*taxi)+I(tour*year)+I(tour*cost)
+I(ecot*train)+I(ecot*bus)+I(ecot*plane)+I(ecot*taxi)+I(ecot*year)+I(ecot*cost)
+I(kibo*train)+I(kibo*bus)+I(kibo*plane)+I(kibo*taxi)+I(kibo*year)+I(kibo*cost)
,data=dat))
--------

I appreciate if you could provide me any suggestion.

Thank you.
Kaz

	[[alternative HTML version deleted]]

