gibbs_after_mcem_diff_initials function

Generating different initials for multiple chains.

Generating different initials for multiple chains.

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'.

Returns

Different initials for multiple chains.

Examples

# See examples in vignette vignette("bsfadgp_regular_data_example", package = "DGP4LCF") vignette("bsfadgp_irregular_data_example", package = "DGP4LCF")
  • Maintainer: Jiachen Cai
  • License: MIT + file LICENSE
  • Last published: 2025-03-08

Useful links