Page 1 of 1

Error message - Input columns have unequal lengths

Posted: Wed Jun 26, 2019 12:29 pm
by oliverparker
I have set up a very simple three level binary logit model. Life Satisfaction against religious belonging. However, when I try and plot the predicted log odds (following the steps in module 7 of LEMMA using my data) I receive this error message:

"Input columns have unequal lengths (sort 2 'psu' 'RB' c42 c311 c311 c1498 c1500 c1499 c1491 c1478)"

All my varibales are the same length and so I don't know what has gone wrong. Thanks.

Re: Error message - Input columns have unequal lengths

Posted: Mon Jul 01, 2019 4:08 pm
by ChrisCharlton
Can you provide more details regarding the actual steps that you are performing that generate this message? It looks like it may be including various MLwiN-generated column within the sort command, which would be a different length. I would suggest looking at each of the columns mentioned in the error message in the names window to check that they really are the expected length.

Re: Error message - Input columns have unequal lengths

Posted: Mon Jul 01, 2019 4:58 pm
by oliverparker
I’ve managed to sort it myself since I posted having checked the columns within the message! Thanks