Both functions print details of the MCMC process to the Console. print
also prints a table of summary statistics for the parameters and several MCMC diagnostic measures to the Console, while summary
returns invisibly a corresponding data frame, which can be passed to View
.
# S3 method for Bwiqid
print(x, digits=3, ...)# S3 method for Bwiqid
summary(object, digits=3, ...)
print
returns x
invisibly. summary
returns the table of summary statistics.
an object of class Bwiqid
.
the number of digits to print or include in the output.
further arguments for the print or summary function.
Mike Meredith.
The print
function prints a table with a row for each parameter after removing duplicated rows. Duplication usually arises because a covariate has only a few unique values.
There are columns for each of the following summary statistics ...
mean | the mean of each MCMC chain. |
sd | the standard deviation of each MCMC chain. |
median | the median of each MCMC chain. |
HDIlo and HDIup | the lower and upper values of a 95% Highest Density Interval CrI for each MCMC chain. |
... and for some or all of the following diagnostics, depending on the MCMC engine used for fitting the model:
n.eff | the effective chain length for the parameters adjusted for autocorrelation; for stable estimates of credible intervals this should be at least 10,000. See effectiveSize . |
MCerror | the Monte Carlo errors for the parameters, expressed as a percentage of the standard deviation. Values less than 5% are acceptable. |
Rhat | the with potential scale reduction factors for the parameters, which is 1 on convergence and should be < 1.05 for all parameters. See gelman.diag . |