Returns the mean, the standard deviation of the mean, and a sequence of partial means of the input vector or matrix.

1 2 3 4 |

`x` |
vector or matrix containing the output of a Markov chain Monte Carlo simulation. |

`sd` |
logical: should an estimate of the Monte Carlo standard deviation be reported? |

`m` |
ergodic means are computed for |

The argument `x`

is typically the output from a simulation. If a
matrix, rows are considered consecutive simulations of a target
vector. In this case means, standard deviations, and ergodic means
are returned for each column. The standard deviation of the mean is
estimated using Sokal's method (see the reference). `mcmcMeans`

is an alias for `mcmcMean`

.

Giovanni Petris GPetris@uark.edu

P. Green (2001). A Primer on Markov Chain Monte Carlo. In
*Complex Stochastic Systems*, (Barndorff-Nielsen, Cox and
Kl\"uppelberg, eds.). Chapman and Hall/CRC.

1 2 3 4 5 6 |

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.