glm_MI_J2R {remiod}R Documentation

Apply Jump-to-Reference(J2R) Method to Update JAGS MCMC outputs under MAR for Generalized Linear Model

Description

Internal function to obtain Jump-to-Reference(J2R) MCMC from an MAR object.

Usage

glm_MI_J2R(object, treatment, start = NULL, end = NULL, thin = NULL,
  exclude_chains = NULL, subset = FALSE, seed = 5432, mess = FALSE,
  ...)

Arguments

object

an object of class remiod

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

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]