Validates the HB_control list of parameters and sets default values for the omitted ones.
apollo_validateHBcontrol(HB_control, hb_dist, theta_start, theta_fixed)
List. Contains options for bayesian estimation. See ?RSGHB::doHB
for details.
Parameters modelname
, gVarNamesFixed
, gVarNamesNormal
,
gDIST
, svN
and FC
are automatically set based on the
other arguments of this function.
Numeric vector. Contains a number representing the distribution of each parameter to be estimated. Possible values are as follows.
Fixed (as in non-random) parameter.
Normal.
Positive log-normal.
Negative log-normal.
Positive censored normal.
Negative censored normal.
Johnson SB.
Named numeric vector. Names and starting values of the parameters.
Character vector. Names of the fixed parameters (as in those whose value is constant throughout estimation).
Validated HB_control
This function is only necessary when using bayesian estimation.