Usage
## S3 method for class 'ergm':
mcmc.diagnostics(object, sample = "sample",
smooth=TRUE, r = 0.0125, digits = 6,
maxplot = 1000, verbose = TRUE,
mcmc.title = "Summary of MCMC samples", \dots)
ergm.raftery.diag(data, q = 0.025, rmargin = 0.005, s = 0.95, converge.eps = 0.001)
Arguments
object
An object. See documentation for ergm
. sample
The component of object
on which the
diagnosis is based. The two usual ones are thetasample
from the
auxiliary sample of the natural parameter and sample
the (default)
sample of the sufficient statistics
smooth
Draw a smooth line through trace plots
r
Percentile of the distribution to estimate
digits
Number of digits to print
maxplot
Maximum number of statistics to plot
data
an 'mcmc' object, typically the component of
object
on which the diagnosis is based.
q
the quantile to be estimated.
rmargin
the desired margin of error of the estimate.
s
the probability of obtaining an estimate in the interval (q-r,q+r).
converge.eps
Precision required for estimate of time to convergence.
verbose
If this is TRUE
, print out more information about the MCMC runs including lag correlations.
mcmc.title
Figure title for the diagnostic plots.
...
Additional arguments, to be passed to lower-level functions
in the future.