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.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.