Displaying 2 results from an estimated 2 matches for "travelmode".
Did you mean:
travelmate
2010 Jun 03
1
mlogit and weights
Hello,
I can't figure out why using and not using weights in mlogit yields
identical results. My motivation is for the case when an
"observation" or "individual" represents a number of individuals. For
example,
library(mlogit)
library(AER)
data("TravelMode", package = "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(m...
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