Description Usage Arguments Value References Examples
Dotplot of Geweke diagnostic.
1 2 3 4 5 6 7 8 9 |
D |
data frame whith the simulations. |
family |
Name of the family of parameters to plot, as given by a character vector or a regular expression. A family of parameters is considered to be any group of parameters with the same name but different numerical value between square brackets (as beta[1], beta[2], etc). |
frac1 |
Numeric, proportion of the first part of the chains selected. Defaults to 0.1. |
frac2 |
Numeric, proportion of the last part of the chains selected. Defaults to 0.5. |
shadow_limit, |
logical. When TRUE (the default), a shadowed area between -2 and +2 is drawn. |
greek |
Logical value indicating whether parameter labels have to be parsed to get Greek letters. Defaults to false. |
plot |
Logical value indicating whether the plot must be returned (the default) or a tidy dataframe with the results of the Geweke diagnostics per Parameter and Chain. |
A ggplot
object, or a tidy
data frame.
Fernández-i-Marín, Xavier (2016) ggmcmc: Analysis of MCMC Samples and Bayesian Inference. Journal of Statistical Software, 70(9), 1-20. doi:10.18637/jss.v070.i09
Geweke, J. Evaluating the accuracy of sampling-based approaches to calculating posterior moments. In _Bayesian Statistics 4_ (ed JM Bernardo, JO Berger, AP Dawid and AFM Smith). Clarendon Press, Oxford, UK.
1 2 | data(linear)
ggs_geweke(ggs(s))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.