View source: R/summary.remiod.R
summary | R Documentation |
Obtain and print the summary
, (fixed effects) coefficients
(coef
) and credible interval (confint
).
summary(object, ...) ## S3 method for class 'remiod' summary(object, start = NULL, end = NULL, thin = NULL, quantiles = c(0.025, 0.975), outcome = NULL, exclude_chains = NULL, warn = TRUE, mess = TRUE, ...) ## S3 method for class 'summary.remiod' print(x, digits = 3, ...) ## S3 method for class 'summary.remiod' coef(object, start = NULL, end = NULL, thin = NULL, subset = NULL, exclude_chains = NULL, warn = TRUE, mess = TRUE, ...)
object |
object inheriting from class 'remoid' |
... |
additional, optional arguments
|
start |
the first iteration of interest
(see |
end |
the last iteration of interest
(see |
thin |
thinning interval (integer; see |
quantiles |
posterior quantiles |
outcome |
specify outcome variable to select imputation model(s) to summarize. Default generates summaries for all models. |
exclude_chains |
optional vector of the index numbers of chains that should be excluded |
warn |
logical; should warnings be given? Default is
|
mess |
logical; should messages be given? Default is
|
x |
an object of class |
digits |
the minimum number of significant digits to be printed in values. |
subset |
subset of parameters/variables/nodes (columns in the MCMC
sample). Follows the same principle as the argument
|
summary information, including parameter posterior mean, posterior SD,
quantiles, tail probability tail-prob
, Gelman-Rubin criterion
GR-crit
, the ratio of the Monte Carlo error and posterior standard
deviation) for specified parameters MCE/SD
.
# data(schizow) test = remiod(formula = y6 ~ tx + y0 + y1 + y3, data = schizow, trtvar = 'tx', algorithm = 'jags', method="MAR", ord_cov_dummy = FALSE, n.adapt = 50, n.chains = 1, n.iter = 50, thin = 2, warn = FALSE, seed = 1234) summary(object = test, outcome = c("y6","y3"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.