miss.glm.control {misaem} | R Documentation |
Auxiliary for Controlling Fitting
Description
Auxiliary function for miss.glm
fitting. Typically only used internally by miss.glm.fit
.
Usage
miss.glm.control(
maxruns = 500,
tol_em = 1e-07,
nmcmc = 2,
tau = 1,
k1 = 50,
subsets = NA,
seed = NA,
print_iter = TRUE,
var_cal = TRUE,
ll_obs_cal = TRUE
)
Arguments
maxruns |
maximum number of iterations. The default is maxruns = 500. |
tol_em |
the tolerance to stop SAEM. The default is tol_em = 1e-7. |
nmcmc |
the MCMC length. The default is nmcmc = 2. |
tau |
rate |
k1 |
number of first iterations |
subsets |
Index of selected covariates if any. The default is all the covariates. |
seed |
an integer as a seed set for the random generator. |
print_iter |
logical indicating if output should be produced for each iteration. |
var_cal |
logical indicating if the variance of estimated parameters should be calculated. |
ll_obs_cal |
logical indicating if the observed log-likelihood should be calculated. |
Value
A list with components named as the arguments.
Examples
## For examples see example(miss.glm)