bife_control {bife}R Documentation

Set bife Control Parameters

Description

Set and change parameters used for fitting bife.

Usage

bife_control(dev_tol = 1e-08, rho_tol = 1e-04, conv_tol = 1e-06,
  iter_max = 100L, trace = FALSE)

Arguments

dev_tol

tolerance level for the first stopping condition of the maximization routine. The stopping condition is based on the relative change of the deviance in iteration r and can be expressed as follows: Δ dev / (0.1 + dev) < tol. Default is 1.0e-08.

rho_tol

tolerance level for the stephalving in the maximization routine. Stephalving only takes place if the deviance in iteration r is larger than the one of the previous iteration. If this is the case, ||Δ β|| is halfed until the deviance is less or numerically equal compared to the deviance of the previous iteration. Stephalving fails if the the following condition holds: ρ < tol, where ρ is the stepcorrection factor. If stephalving fails the maximization routine is canceled. Default is 1.0e-04.

conv_tol

tolerance level that accounts for rounding errors inside the stephalving routine when comparing the deviance with the one of the previous iteration. Default is 1.0e-06.

iter_max

unsigned integer indicating the maximum number of iterations in the maximization routine. Default is 100L.

trace

logical indicating if output should be produced in each iteration. Default is FALSE.

Value

The function bife_control returns a named list of control parameters.

See Also

bife


[Package bife version 0.6 Index]