Problem about SSP matrix has gone negative definite

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
KK123456
Posts: 4
Joined: Tue Feb 28, 2017 11:21 am

Problem about SSP matrix has gone negative definite

Post by KK123456 »

Hi everyone, I have a problem in running MLwiN for analysing a 2-level modelling. I have data of 229 individual nested in 20 groups, and am going to estabilsh a multilevel modelling using MCMC bayesian estimation. When I run the program, it always comes to a error message of either 'SSP matrix for random part has gone negative definite' or 'SSP matrix for fix part has gone negative definite'. Both the dependent and independent variables are continues, however, for some independent variables, there are only 5 or 6 values due to the calculation methods. Does it influence the estimation?

I thought about the reason that the lack of my data especially in the second level may be problematic, but there are some studies shown that less than 20 groups could do multilevel analysis. So I don't know how does the problem happen.


Could anyone please help and explain what reasons causing such problems? and what should I do to overcome them? Thanks a lot!
ChrisCharlton
Posts: 1354
Joined: Mon Oct 19, 2009 10:34 am

Re: Problem about SSP matrix has gone negative definite

Post by ChrisCharlton »

These error messages often do indicate a problem with the data, however as you will be fitting your models with MCMC the (R)IGLS estimates will just be used as starting values (and in the case of the random part co-variance matrix, priors). You could therefore manually put in starting values and see how well the model is estimated with MCMC. I would suggest using a range of these to test the sensitivity of the model to the initial values. Chapter 5 of the MCMC guide (see: http://www.bristol.ac.uk/cmm/media/soft ... mc-web.pdf) covers using your own starting values, although if you have a recent version of MLwiN you can right-click the parameters in the equation window and enter them directly.
Post Reply