Displaying 2 results from an estimated 2 matches for "economy962".
Did you mean:
economy2
2010 Mar 29
1
Question about 'logit' and 'mlogit' in Zelig
...(trade962a), my dependent variable is a factor with three levels. When I run the multinomial logit I get an error message. However, when I run 'model=logit' it works fine. any ideas on whats 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 +...
2010 Mar 24
0
Zelig: Error message for 'mlogit'
I'm running a multinomial logit in R using the Zelig package. 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