Ok, here is my question. I have a data frame that looks like this: y x1 x2 (say, age) x3 yes car 23 catholic no bus 34 muslim maybe bus 16 jew
You see, the multinomial dependent variable is y, but I also have multi-factors in the right side of the equation. I want to use mlogit, but it seems to me that my database isn't like the examples in the package's vignette. Say my dataframe is "new". I don't know if it's just: new1<-mlogit.data(new, choice="y", shape="long", alt.levels=c("yes", "no", "maybe")) Or should I also input levels for x1 and x3? Any help would be appreciated. Thanks a lot Obrigado / Thanks for your time and attention. Claudio D. Shikida http://www.cdshikida.net and http://works.bepress.com/claudio_shikida/ Esta mensagem pode conter informação confidencial e/ou privilegiada. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não poderá usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada nessas informações. Se você recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o presente e-mail e apague-o em seguida. This message may contain confidential and/or privileged ...{{dropped:9}} ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.