Auxiliary for additional settings with ddhazard
.
ddhazard_control(
kappa = NULL,
alpha = 1,
beta = 0,
NR_eps = NULL,
LR = 1,
n_max = 10^2,
eps = 0.001,
est_Q_0 = FALSE,
method = "EKF",
save_risk_set = TRUE,
save_data = TRUE,
eps_fixed_parems = 1e-04,
fixed_parems_start = NULL,
n_threads = getOption("ddhazard_max_threads"),
denom_term = 1e-05,
fixed_terms_method = "E_step",
Q_0_term_for_fixed_E_step = NULL,
permu = if (!is.null(method)) method == "SMA" else FALSE,
posterior_version = "cholesky",
GMA_max_rep = 25,
GMA_NR_eps = 1e-04,
est_a_0 = TRUE,
...
)
A list with components named as the arguments.
hyper parameter \(\kappa\) in the unscented Kalman Filter.
hyper parameter \(\alpha\) in the unscented Kalman Filter.
hyper parameter \(\beta\) in the unscented Kalman Filter.
tolerance for the Extended Kalman filter. Default is
NULL
which means that no extra iteration is made in the correction
step.
learning rate.
maximum number of iteration in the EM-algorithm.
tolerance parameter for the EM-algorithm
TRUE
if you want the EM-algorithm to estimate
Q_0
. Default is FALSE
.
set to the method to use in the E-step. Either "EKF"
for the Extended Kalman Filter, "UKF"
for the Unscented Kalman
Filter, "SMA"
for the sequential posterior mode approximation method
or "GMA"
for the global mode approximation method. "EKF"
is
the default.
TRUE
if you want to save the list from
get_risk_obj
used to estimate the model. It may be needed for
later calls to e.g., residuals
, plot
and logLike
.
TRUE
if you want to keep the data
argument.
It may be needed for later calls to e.g., residuals
, plot
and
logLike
.
tolerance used in the M-step of the Fisher's scoring algorithm for the fixed effects
starting value for fixed terms.
maximum number of threads to use.
term added to denominators in either the EKF or UKF.
the method used to estimate the fixed effects.
Either 'M_step'
or 'E_step'
for estimation in the M-step or
E-step respectively.
the diagonal value of the initial
covariance matrix, Q_0
, for the fixed effects if fixed effects are
estimated in the E-step.
TRUE
if the risk sets should be permutated before
computation. This is TRUE
by default for posterior mode approximation
method and FALSE
for all other methods.
the implementation version of the posterior
approximation method. Either "woodbury"
or "cholesky"
.
maximum number of iterations in the correction step if
method = 'GMA'
.
tolerance for the convergence criteria for the relative
change in the norm of the coefficients in the correction step if
method = 'GMA'
.
FALSE
if the starting value of the state model should
be fixed.
additional undocumented arguments.
ddhazard