About error that occurred

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
auctor21
Posts: 13
Joined: Wed Nov 16, 2016 6:36 am

About error that occurred

Post by auctor21 »

There was an error running the program.
The error message is:

MCMC Error 0142: The 3th MM unit for obs 12169 is a duplicate of the 1th MM unit(MCMC 0 500 1 5.8 50 10 1 1 1 1 1 1)
And Finally error message : Error(s) in MCMC startup - estimation halted

The following error occurred while running the program as a MM(multiple membership) model.

It is an error that occurs when I run a task to estimate the parameters with mcmc after estimating the parameters with igls.
The attachment below is an estimates from igls
Attachments
example.png
example.png (17.11 KiB) Viewed 2909 times
ChrisCharlton
Posts: 1353
Joined: Mon Oct 19, 2009 10:34 am

Re: About error that occurred

Post by ChrisCharlton »

When setting up a multiple membership model you need to ensure that the same identifier does not appear twice within a row of you data. For example if a row of data represented a pupil and the identifiers were the schools that they attended then you couldn't have two entries for the same school. If there were pupils that attended the same school on more than one occasion then you would add the weights together for the different occasions and remove the duplicate IDs. This is because the algorithm only needs to know the weighting between the units and does not take into account any ordering.

In the case of your model the error message is saying that in row 12169 of your data the first and third ID columns contain the same identifier.
Post Reply