Set computational options for the sampling algorithms
sampler_control(add.outer.R = NULL, recompute.e = TRUE, CG = NULL)
A list with specified computational options that is used to set up the sampling functions.
whether to add the outer product of the constraint matrix for a better conditioned solve system for blocks. This is done by default when using blocked Gibbs sampling for blocks with constraints.
when FALSE
, residuals or linear predictors are only computed at the start of the simulation.
This may give a modest speedup but in some cases may be less accurate due to round-off error accumulation.
Default is TRUE
.
use a conjugate gradient iterative algorithm instead of Cholesky updates for sampling
the model's coefficients. This must be a list with possible components max.it
,
stop.criterion
, verbose
, preconditioner
and scale
.
See the help for function CG_control
, which can be used to specify these options.
Conjugate gradient sampling is currently an experimental feature that can be used for
blocked Gibbs sampling but with some limitations.