### MCMC adding iterations and specifying diagonal matrix

Posted:

**Sun Apr 19, 2020 3:36 pm**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

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