Hi, Abraham.
Can you try:
anes96two <- zelig(as.factor(trade962a) ~ ...)
The other possibility is that the trade962a variable isn't in the
data96 data set. If you're using attach() to manipulate your data, I
strongly recommend not doing this, and using $ instead.
Best,
Olivia
On Fri, Mar 26, 2010 at 7:24 PM, Mathew, Abraham T <amathew(a)ku.edu> wrote:
I'm trying to run a multinomial logit with Zelig. My dependent variable has three
levels, favor, haven't thought, and oppose. However, I'm getting the following
error message.
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
Does anyone have ideas about what could be going on.
Thanks
Abraham
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/