clm_MI_delta {remiod} | R Documentation |
Apply Delta adjustment to Update JAGS MCMC outputs under MAR for Cumulative Logistic Model
Description
Internal function to obtain delta-adjusted MCMC from an MAR object.
Usage
clm_MI_delta(object, treatment, delta = 0, start = NULL, end = NULL,
exclude_chains = NULL, thin = NULL, subset = FALSE,
ord_cov_dummy = TRUE, seed = NULL, mess = FALSE, ...)
Arguments
object |
an object of class remiod |
treatment |
the variable name of treatment. Reference level of treatment should be coded as 0. |
delta |
specific value used for Delta adjustment, applicable only for method="delta". |
start |
first iteration to be used. |
end |
last iteration to be used. |
exclude_chains |
optional vector of numbers, indexing MCMC chains to be excluded from the output. |
thin |
thinning to be applied. |
subset |
subset of parameters (columns of the mcmc object) to be used. |
ord_cov_dummy |
optional. specify whether ordinal variables should be treated as
categorical variables or continuous variables when they are
included as covariates in the sequential imputation models.
Default is |
seed |
optional seed value. |
mess |
logical, should messages be displayed? |
... |
optional arguments pass from main function. |
Value
A matrix of MCMC samples with all monitored parameters.A subset of
the MCMC sample can be selected using start
, end
and
thin
.