Hi,
1) I know in MLwiN, I can run additional interations after running some. For example, I run 500 burnins and 5000 iterations. But, if I find that for some parameters, I need to run more, I can just add more iterations. Can I do this in R using R2MLwiN?
I see that in R examples for MCMC manual, in Chapter 13.5, it just runs another model, rather than adding iterations using "More".
2) when I use separate coding to include three variables in random parts, I also get the covariances between these terms. I know in IGLS, I can specify diagonal matrix by using "clre" or "smat". How can I do this in MCMC?
Sun
MCMC adding iterations and specifying diagonal matrix

 Posts: 1165
 Joined: Mon Oct 19, 2009 10:34 am
Re: MCMC adding iterations and specifying diagonal matrix
1) Due to the difficulty of coordinating running extra iterations between R and MLwiN we have not currently implemented this an option from R2MLwiN. What you could do however is to use the saveworksheet option in R2MLwiN to save a copy of the MLwiN worksheet after the initial model fit. You could then load this into MLwiN and run extra iterations there, although you would not be able to get the results easily back into R.
2) The clre and smat options that you have used with IGLS should also work the same way with MCMC models.
2) The clre and smat options that you have used with IGLS should also work the same way with MCMC models.
Re: MCMC adding iterations and specifying diagonal matrix
That is a good alternative, thanks!