Displaying 1 result from an estimated 1 matches for "v1700".
Did you mean:
1700
2011 Apr 10
2
Multinomial Logit Model with lots of Dummy Variables
...my_data_frame<-as.data.frame(my_data)
#check data frame headers
head(my_data_frame)
#load dataframe into mldata with choice variable
mldata<-mlogit.data(my_data_frame, varying=NULL, choice="V1771",
shape="wide")
#V1771 = dependent var
#V1-V965 = variable 1 dummies
#V966-V1700 = variable 2 dummies
#regress V1771 against all 1700 variables...
mlogit.model<-mlogit(V1771~0|V1+V2+V3...+V1700,data=mldata, reflevel="0")
[/code]
--
View this message in context: http://r.789695.n4.nabble.com/Multinomial-Logit-Model-with-lots-of-Dummy-Variables-tp3439492p343949...