search for: vcost

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

Did you mean: cost
2010 Jun 03
1
mlogit and weights
...t;AER") TM <- mlogit.data(TravelMode, choice = "choice", shape = "long", alt.levels = c("air", "train", "bus", "car")) myweight = rep(floor(1000*runif(nrow(TravelMode)/4)), each = 4) summary(mlogit(choice ~ wait + vcost + travel + gcost, data=TM)) summary(mlogit(choice ~ wait + vcost + travel + gcost, weights=income, data=TM)) summary(mlogit(choice ~ wait + vcost + travel + gcost, weights=myweight, data=TM)) Each gives the same result. Am I specifying "weights" incorrectly? Is there a better way to do...
2011 Feb 28
4
mlogit.data
I am trying to estimate multinomial logit models off of a .csv table in IDCASE IDALT format where I have ROWS HHID PERID CASE ALTNUM NUMALTS CHOSEN IVTT OVTT TVTT COST DIST WKZONE HMZONE RSPOPDEN RSEMPDEN WKPOPDEN.... 1 1 2 1 1 1 5 1 13.38 2.00 15.38 70.63 7.69 664 726 15.52 9.96 37.26 2 2 2 1 1 2 5 0 18.38 2.00