Input columns have unequal lengths

Welcome to the forum for runmlwin users. Feel free to post your question about runmlwin here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Go to runmlwin: Running MLwiN from within Stata >> http://www.bristol.ac.uk/cmm/software/runmlwin/
Post Reply
DanielHolman
Posts: 2
Joined: Tue Jul 14, 2020 9:20 am

Input columns have unequal lengths

Post by DanielHolman »

Hello

I just updated both my machines to the latest version of mlwin, which I have installed so that I can use runmlwin from stata. On one machine, I have 3.01 installed, and on the other it was an older version, 2.x (can't remember which exactly).

Now I am getting this error with my models, where I didn't previously. I wonder whether this is due to the following being listed as an update from 3.03 onwards: 'Check that all column lengths are equal when running the GMUL command' (though I'm not exactly sure what GMUL is).

Is it possible this is a bug with the programme? If so, can I revert back to a previous mlwin version? The old folders seem to have disappeared since I have upgraded. Obviously I don't want to do this if the models based on the old version were invalid, but as it stands I'm stuck.

Note I guess I would have the same problem with mlwin standalone, but I'm only familiar with runmlwin.

PS to add this is a 3 level cross-classified model. I don't get the error if I run the same model without it being cross-classified.

Many thanks
Dan

ChrisCharlton
Posts: 1182
Joined: Mon Oct 19, 2009 10:34 am

Re: Input columns have unequal lengths

Post by ChrisCharlton »

I'm not sure why this is happening. Can you confirm whether the examples provided with runmlwin work correctly (i.e. those under help runmlwin and on https://www.bristol.ac.uk/cmm/software/ ... /examples/? If they do could you provide examples of the syntax this is not working correctly for you? Can you also confirm that your version of runmlwin is up to date?

DanielHolman
Posts: 2
Joined: Tue Jul 14, 2020 9:20 am

Re: Input columns have unequal lengths

Post by DanielHolman »

Hello just to update on this in case useful for others, it was caused by the number of missing cases for the level 1 and level 2 variables not matching up. Once I dropped missing cases to use a complete case dataset, the problem disappeared. Thanks anyway for the reply. Dan.

ChrisCharlton
Posts: 1182
Joined: Mon Oct 19, 2009 10:34 am

Re: Input columns have unequal lengths

Post by ChrisCharlton »

Thanks for the update. This is a bit strange as, unless the model is multivariate, MLwiN should be essentially listwise deleting the rows with missing data anyway. If at some point you could provide me an example that exhibits this problem I will investigate further.

Post Reply