miss.glm.control: Auxiliary for Controlling Fitting

Description Usage Arguments Value Examples

Description

Auxiliary function for miss.glm fitting. Typically only used internally by miss.glm.fit.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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 τ in the step size (k-k1)^(-τ). The default is tau = 1.

k1

number of first iterations k1 in the step size (k-k1)^(-τ). The default is k1=50.

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

1
## For examples see example(miss.glm)

Example output

Warning message:
replacing previous importmice::filterbystats::filterwhen loadingmisaem

misaem documentation built on April 12, 2021, 9:06 a.m.