Dotplot of Geweke diagnostic.
ggs_geweke(
D,
family = NA,
frac1 = 0.1,
frac2 = 0.5,
shadow_limit = TRUE,
greek = FALSE,
plot = TRUE
)
data frame whith the simulations.
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).
Numeric, proportion of the first part of the chains selected. Defaults to 0.1.
Numeric, proportion of the last part of the chains selected. Defaults to 0.5.
logical. When TRUE (the default), a shadowed area between -2 and +2 is drawn.
Logical value indicating whether parameter labels have to be parsed to get Greek letters. Defaults to false.
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<U+00E1>ndez-i-Mar<U+00ED>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.
# NOT RUN {
data(linear)
ggs_geweke(ggs(s))
# }
Run the code above in your browser using DataLab