[R] length of variable in mlogit

Lee van Cleef l.van.cleef at gmx.net
Tue Aug 14 15:25:32 CEST 2012


Hi Michael,

many thanks for the useful hints which gave me some deeper knowledge of R.
It is definitely much appreciated.

I think I have found the mistake - the problems did not arise from variable
definitions etc. It was an intellectual mistake. 

The cause  for the problems was that I had to divide a variable into single
alternatives. The problematic variable referred to Party Identity. The whole
matrix with the single parties as columns was of course not suitable for a
variable with an alternative specific coefficient. Instead, each
column/party was a single individual specific variable with an alternative
specific coefficient.

Now it works.

Best wishes!



--
View this message in context: http://r.789695.n4.nabble.com/length-of-variable-in-mlogit-tp4638323p4640266.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list