logistic multilevel error

Welcome to the forum for MLwiN users. Feel free to post your question about MLwiN software 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!

Remember to check out our extensive software FAQs which may answer your question: http://www.bristol.ac.uk/cmm/software/s ... port-faqs/
Post Reply
jelliesierksma
Posts: 4
Joined: Mon Oct 01, 2012 2:56 pm

logistic multilevel error

Post by jelliesierksma »

Hi,

I keep on getting an error while performing a logistic multilevel model with mlwin:

error while obeying batch file Q:\mlw221|discrete/post at line number 30 qdivi 'F ~ (H)'

error in aritmethic expression

Anybody know what this is all about?

Thanks in advance!

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

Re: logistic multilevel error

Post by ChrisCharlton »

Without seeing your model/data I can't give a definite reason for this error message. What linearisation method are you using? You will sometimes see messages like this when it is having trouble fitting using second order PQL. If this is the case you can sometimes get the model to converge by first fitting with first order MQL and then changing to second order PQL and using the "more" button. Another alternative is to fit the model using MCMC.
jelliesierksma
Posts: 4
Joined: Mon Oct 01, 2012 2:56 pm

Re: logistic multilevel error

Post by jelliesierksma »

Thanks for your reply.

It concerns the following:
binary outcome, two levels (responses in children), bionomial districbution with logit link.

When I run just this model, I get the error message. Adding anything to the model does not work. I was planning on adding two dummy variables to it.

Also, If i run his particular model on another computer the error does not occur.

Any help would be greatly appreciated!

Kind regards,
Jellie
ChrisCharlton
Posts: 1384
Joined: Mon Oct 19, 2009 10:34 am

Re: logistic multilevel error

Post by ChrisCharlton »

Have you checked whether the version of MLwiN is the same on both machines? If it isn't then what are the version numbers of the one that works and the one that doesn't?
jelliesierksma
Posts: 4
Joined: Mon Oct 01, 2012 2:56 pm

Re: logistic multilevel error

Post by jelliesierksma »

Actually, it is the same version (only the computer is different), namely 2.21
It is very strange...

Perhaps, I new computer is the solution.
jelliesierksma
Posts: 4
Joined: Mon Oct 01, 2012 2:56 pm

Re: logistic multilevel error

Post by jelliesierksma »

i also used the default linearisation, MQL 1st order.. i don't think that is the problem either.
ChrisCharlton
Posts: 1384
Joined: Mon Oct 19, 2009 10:34 am

Re: logistic multilevel error

Post by ChrisCharlton »

That's a bit of a mystery then. I would suggest that you update to the most recent version of MLwiN (http://www.bris.ac.uk/cmm/software/mlwi ... rades.html) in case this was caused by something that has been fixed since version 2.21. If the error message is highlighting the correct location then the GDIV command is attempting to divide all the columns in G1 (see Data Manipulation -> Group for the contents of this) by a column called 'F~(H)'. You could check that G1 contains a list of columns and that the 'F~(H)' column has been created, however if this works on another machine then this should be the case.
Post Reply