Dear all,

does anybody have experience with building logits in Mlogit?

I want to test the use of a couple of alternative specific variables with a
generic regression coefficient. However, one of them simply does not work. R
says the length of this variable is different.

Problem: If I check the length of this special variable, I get a value,
which also other variables have – and with those, the logit model works! I
also checked the class of the explaining variables. The problem-laden
variable is a matrix – but the model is working with other variables which
are of the matrix and the data frame class. I also see no problems because
of wide/long formats. 

Does anybody happen to know what else I can check?

Any help would be much appreciated.

Best regards!




--
View this message in context: 
http://r.789695.n4.nabble.com/length-of-variable-in-mlogit-tp4638323.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.

Reply via email to