Prior variance matrix is not positive definite
Posted: Fri Feb 02, 2018 3:35 pm
Hi Everyone,
I am trying to run a 2-level logistic model using runmlwin with a random intercepts, a random slope, and a cross-level interaction. I would like to run an interaction using MCMC but get the error message "Prior variance matrix is not positive definite". I found the following post https://www.cmm.bristol.ac.uk/forum/viewtopic.php?t=270. But unlike the former I get 0 values for cov(cons) and var.
var(cons) 0.3062052
cov(cons,sc_neigh) 0
var(sc_neigh) 0
I am not certain whether this is an issue and whether it is appropriate to manually supply stating values given this?
Thanks so much!
Gina
I am trying to run a 2-level logistic model using runmlwin with a random intercepts, a random slope, and a cross-level interaction. I would like to run an interaction using MCMC but get the error message "Prior variance matrix is not positive definite". I found the following post https://www.cmm.bristol.ac.uk/forum/viewtopic.php?t=270. But unlike the former I get 0 values for cov(cons) and var.
var(cons) 0.3062052
cov(cons,sc_neigh) 0
var(sc_neigh) 0
I am not certain whether this is an issue and whether it is appropriate to manually supply stating values given this?
Thanks so much!
Gina