JR, You need to use as.factor() for the DV (even if it is already a factor). Also, your formula includes a variable not in your sample data, "IntDist", perhaps you meant "FwyDist"?
Try: zelig(as.factor(SFsubM) ~ Slope + Exposure + FwyDist + RTotEmp + RTotHh, model="mlogit", data=TestData) Also, see http://gking.harvard.edu/zelig/docs/mlogit.pdf for more details on using the mlogit model. Best regards, Josh On Wed, Mar 10, 2010 at 1:23 PM, LCOG1 <[email protected]> wrote: > > > #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 > -- Joshua Wiley Senior in Psychology University of California, Riverside http://www.joshuawiley.com/ [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

