summary.mcmcabn | R Documentation |
Summary method for mcmcabn objects.
## S3 method for class 'mcmcabn'
summary(object,
quantiles = c(0.025, 0.25, 0.5, 0.75, 0.975),
lag.max = 10,
...)
object |
object of class |
quantiles |
numeric vector of probabilities with values in [0,1]. (Values up to 2e-14 outside that range are accepted and moved to the nearby endpoint.) |
lag.max |
maximum lag at which to calculate the acf. Default is set to 10. |
... |
arguments to be passed to methods. |
The summary function for mcmcabn
objects returns multiple summary metrics for assessing the quality of the MCMC run. Thinning is the number of thinned MCMC steps for one MCMC returned.
This method prints: the number of burn-in steps, the number of MCMC steps, the thinning, the maximum achieved score, the empirical mean of the MCMC samples, the empirical standard deviation of the MCMC samples, the user defined quantiles of the posterior network score, the global acceptance rate, a table of the accepted and rejected moves in function of the methods used, the sample size adjusted for autocorrelation and the autocorrelations by lag.
Gilles Kratzer
Scutari, M. (2010). Learning Bayesian Networks with the bnlearn R Package. Journal of Statistical Software, 35(3), 1 - 22. doi:http://dx.doi.org/10.18637/jss.v035.i03.
## Example from the asia dataset from Lauritzen and Spiegelhalter (1988)
## provided by Scutari (2010)
#summary the MCMC run
summary(mcmc.2par.asia)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.