clm_MI_CR {remiod}R Documentation

Apply Copy-Reference(CR) Method to Update JAGS MCMC outputs under MAR for Cumulative Logistic Model

Description

Internal function to obtain Copy-Reference(CR) MCMC from an MAR object.

Usage

clm_MI_CR(object, treatment, start = NULL, end = NULL, thin = NULL,
  exclude_chains = NULL, subset = FALSE, ord_cov_dummy = TRUE,
  seed = NULL, mess = FALSE, ...)

Arguments

object

an object of class remoid

treatment

the variable name of treatment. Reference level of treatment should be coded as 0.

start

first iteration to be used.

end

last iteration to be used.

thin

thinning to be applied.

exclude_chains

optional vector of numbers, indexing MCMC chains to be excluded from the output.

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 TRUE, dummy variables will be created accordingly.

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.


[Package remiod version 1.0.2 Index]