Description Usage Arguments Value Author(s) References See Also

An internal function which calculates the estimated Monte Carlo standard
error (MCSE) for the posterior estimate of the mean, for use in `sixway`

.
As MCMC is a simulation-based approach this induces (Monte Carlo) uncertainty
due to the random numbers it uses. This uncertainty reduces with more
iterations, and is measured by the MCSE. See Browne (2012) for further details.

1 | ```
MCSE(chain, rho, ll = 0.5, ul = 20)
``` |

`chain` |
Vector or |

`rho` |
ACF for first lag. |

`ll` |
Lower limit of x-axis, where value specified is multiplied by the length of the chain. Defaults to |

`ul` |
Upper limit of x-axis, where value specified is multiplied by the length of the chain. Defaults to |

The Monte Carlo standard error (MCSE) for the posterior estimate of the mean is returned.

Zhang, Z., Charlton, C.M.J., Parker, R.M.A., Leckie, G., and Browne, W.J. (2016) Centre for Multilevel Modelling, University of Bristol.

Browne, W.J. (2012) MCMC Estimation in MLwiN, v2.26. Centre for Multilevel Modelling, University of Bristol.

R2MLwiN documentation built on Sept. 1, 2017, 9:02 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.