V gone -ve definite for block 0 iteration aborted
Posted: Sun Apr 19, 2020 2:06 pm
I have a two-level random slope model shown below. If I run it in R with runMLwiN, I get an error saying "V gone -ve definite for block 0 iteration aborted(fixed pass)" after about 10 minutes. If I use "debugmode=T" in the estoptions, I get MLwiN window without anything on it, and the software crashes after about 10 minutes and gives the same error.
One odd thing is that if I add more variables to the fixed part, the model runs fine.
Anyways, to run the model with the only variable gdp_c in the fixed part, I take gdp_c out of random part and ran the model. This works. Then, I used "debugmode=T", run the model without the gdp_c in the random part, manually add gdp_c in the random part, and click "More". This works but when I get an error "wrong number of output columns".
In summary, I want to run the model above but if I run it debugmode=F, it doesn't work. If I run it debugmode=T, it doesn't work and doesn't give me a chance to manipulate the model. It only works when I run it debugmode=T with another model and then manipulate it but then I have wrong number of output columns.
Could you give me advice?
Very much related question is what is this error about crashing in about 10 minutes without showing anything on MLwiN window? It doesn't give me a chance to manipulate the model, and this has happened to me for some other models as well...
Sun
One odd thing is that if I add more variables to the fixed part, the model runs fine.
Code: Select all
options <- list(debugmode = T, Meth = 0, resi.store = T, residoptions='standardised',
weighting=list(weightvar=c(NA,"weight"), standardised=T), reset=c(2,2))
model <- life_satisfaction ~ 1 + gdp_c +
(1 + gdp_c| country) + (1| id)
nullRS_ls_gdp <- runMLwiN(Formula = model, data = sample, estoption = options) # complete case analysis
summary(nullRS_ls_gdp)
In summary, I want to run the model above but if I run it debugmode=F, it doesn't work. If I run it debugmode=T, it doesn't work and doesn't give me a chance to manipulate the model. It only works when I run it debugmode=T with another model and then manipulate it but then I have wrong number of output columns.
Could you give me advice?
Very much related question is what is this error about crashing in about 10 minutes without showing anything on MLwiN window? It doesn't give me a chance to manipulate the model, and this has happened to me for some other models as well...
Sun