print.Bwiqid | R Documentation |
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 class 'Bwiqid' print(x, digits=3, ...) ## S3 method for class 'Bwiqid' summary(object, digits=3, ...)
x, object |
an object of class |
digits |
the number of digits to print or include in the output. |
... |
further arguments for the print or summary function. |
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 . |
print
returns x
invisibly. summary
returns the table of summary statistics.
Mike Meredith.
# See examples for dippers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.