Learn R Programming

exdqlm (version 0.4.0)

exal_make_mcmc_latent_state_control: Build dynamic MCMC latent-state warmup control

Description

Returns a normalized mcmc_control$latent_state block for exdqlmMCMC().

Usage

exal_make_mcmc_latent_state_control(
  mode = c("u_only", "u_st_pair"),
  freeze_burnin_iters = 0L,
  freeze_only_during_burn = TRUE,
  force_after_warmup = TRUE,
  min_postwarmup_updates = 0L,
  trace = TRUE
)

Value

A normalized list suitable for mcmc_control$latent_state.

Arguments

mode

One of "u_only" or "u_st_pair".

freeze_burnin_iters

Non-negative integer; number of burn-in iterations to hold the latent-state block fixed.

freeze_only_during_burn

Logical; if TRUE, hard freeze only applies during burn-in.

force_after_warmup

Logical; force one immediate post-warmup update.

min_postwarmup_updates

Non-negative integer; minimum number of post-warmup updates required before chain-health style gates can fire.

trace

Logical; record diagnostics traces.