Changing values in Variance- Covariance matrix
Posted: Sun Nov 04, 2012 3:45 am
I'm using MCMC estimation to fit a binary logistic model. When I allow level 2 variables to vary across level 2 units (treat level 2 variables as random effects), after IGLS iterations, the var-covariance matrix seems not positive definite. When I attempt to start MCMC estimation it gives an error. Therefore I changed values manually and did the MCMC estimatiion. But the problem is variance and the covariances associated with that random effect tend to be zero. Further, i carried out joint significance test to see whether those variances are equal to zero and ended up concluding they are not significantly different from zero.
1. Is changing diagonal values to 0.001 and off-diagonals to 0, the reason for these approximately zero values in the var-covariance matrix after MCMC iterations?
2. If the joint significance test conclude that indeed the effects do not vary across level 2 units although we allowed, what should I do? Should I keep that random effect or should I eliminate the random effect and allow for fixed effect? (In my case although variances are zero, the estimate of the coefficient is significant according to wald test)
Please help me to solve these issues as soon as possible.
Thank You.
1. Is changing diagonal values to 0.001 and off-diagonals to 0, the reason for these approximately zero values in the var-covariance matrix after MCMC iterations?
2. If the joint significance test conclude that indeed the effects do not vary across level 2 units although we allowed, what should I do? Should I keep that random effect or should I eliminate the random effect and allow for fixed effect? (In my case although variances are zero, the estimate of the coefficient is significant according to wald test)
Please help me to solve these issues as soon as possible.
Thank You.