Description Usage Arguments Value

View source: R/MCMC_comparisons.R

By default the effective sample sizes (ESS) (and MCMC efficiencies) are estimated from the coda package. This function estimates them either using the same method as coda but allowing higher-order AR models or using the method provided in Stan via package rstan.

1 2 | ```
updateMCMCcomparisonWithHighOrderESS(mcmcResults, logVars = "",
includeBurninTime = TRUE, StanESS = FALSE)
``` |

`mcmcResults` |
An object returned by |

`logVars` |
Names of any variables for which ESS should be calculated after log transformation. This is useful if different methods use models in which the same variance component is set up either as standard deviation, variance, or precision. Calculating ESS on a log scale arguably makes these more comparable than converting one into another for comparisons. |

`includeBurninTime` |
(default TRUE) If TRUE, the time spent on burnin (or warmup) is included in the denominator of MCMC efficiency. If false, only the time spent generating samples that are used for estimation of ESS is included. |

`StanESS` |
(default FALSE) If FALSE, ESS will be estimated by the same method as in the code package, but allowing higher-order auto-regressive models to be considered. If TRUE, the method in Stan will be used via the |

A list of the same format as `mcmcResults`

nimble documentation built on April 1, 2018, noon

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.