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. ______________________________________________ R-help@r-project.org 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.