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
About error that occurred
About error that occurred
- Attachments
-
- example.png (17.11 KiB) Viewed 3579 times
-
- Posts: 1384
- Joined: Mon Oct 19, 2009 10:34 am
Re: About error that occurred
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.
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.