Displaying 3 results from an estimated 3 matches for "depfactorvar".
2010 Mar 10
1
trouble getting multinimial logit model to work properly
...subM<-c(0,1,1,0,0,0,0,0,0,1,0,0)
TestData<-data.frame(Slope,Exposure,FwyDist,RTotEmp,RTotHh,SFsubM)
#Run Model
z.out <- zelig(SFsubM ~ Slope + IntDist + Exposure + RTotEmp + RTotHh,
model="mlogit", data=TestData)
I get the error
Error in attr(tt, "depFactors")$depFactorVar :
$ operator is invalid for atomic vectors
Which i dont know what it means. The data is a subset of my real data but
should reflect what im trying to do. Thanks
JR
--
View this message in context: http://n4.nabble.com/trouble-getting-multinimial-logit-model-to-work-properly-tp1588079p158807...
2010 Mar 29
1
Question about 'logit' and 'mlogit' in Zelig
...wrong?
## MULTINOMIAL LOGIT
anes96two <- zelig(trade962a ~ age962 + education962 + personal962 + economy962 + partisan962 + employment962 + union962 + home962 + market962 + race962 + income962, model="logit", data=data96)
summary(anes96two)
#Error in attr(tt, "depFactors")$depFactorVar :
# $ operator is invalid for atomic vectors
## LOGIT
Call:
zelig(formula = trade962a ~ age962 + education962 + personal962 +
economy962 + partisan962 + employment962 + union962 + home962 +
market962 + race962 + income962, model = "logit", data = data96)
Deviance Residuals:...
2010 Mar 24
0
Zelig: Error message for 'mlogit'
...age. However I get the following error. HELP
anes96two <- zelig(trade962a ~ age962 + education962 + personal962 + economy962 + partisan962 + employment962 + union962 + home962 + market962 + race962 + income962, model="mlogit", data=data96)
#Error in attr(tt, "depFactors")$depFactorVar :
# $ operator is invalid for atomic vectors