gibbs_after_mcem_diff_initials {DGP4LCF}R Documentation

Generating different initials for multiple chains.

Description

Generating different initials for multiple chains.

Usage

gibbs_after_mcem_diff_initials(
  ind_x = TRUE,
  tot_chain = 5,
  mcem_parameter_setup_result,
  mcem_algorithm_result
)

Arguments

ind_x

A logical value. ind_x = TRUE uses the model including the intercept term for subject-gene mean in after-MCEM-Gibbs sampler; otherwise uses the model without the intercept term.

tot_chain

A numeric scalar. Number of parallel chains.

mcem_parameter_setup_result

A list of objects returned from the function 'mcem_parameter_setup'.

mcem_algorithm_result

A list of objects returned from the function 'mcem_algorithm'.

Value

Different initials for multiple chains.

Examples

# See examples in vignette
vignette("bsfadgp_regular_data_example", package = "DGP4LCF")
vignette("bsfadgp_irregular_data_example", package = "DGP4LCF")


[Package DGP4LCF version 1.0.0 Index]