[R] input data format of multinom in nnet

From: sun <as_at_hut.at>
Date: Wed 13 Sep 2006 - 13:24:47 GMT

Hi,

  I 'd like to use multinom to estimate a multinomial logit model of a conjoint survey with a format like:

individual 1 ------choice ------ X1-----X2-----X3
1-----------------A------------1.2----blue----12
1-----------------0-------------1.4----red-----13
1-----------------B------------3.1----green---17
1-----------------0-------------4.2----red-----14

......
2----------------C------------2.1-----blue----11

.......

0 means this alternative did not be chosen. choice set size is 2 for each choice.

As I know at this moment, multinom deal with count data format (iris data). Anybody knows if multinom can take this format as input?

Thanks.



R-help@stat.math.ethz.ch 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. Received on Wed Sep 13 23:27:29 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 13 Sep 2006 - 14:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.