Estimates a model using Bayesian estimation on the likelihood function defined by apollo_probabilities
.
apollo_estimateHB(
apollo_beta,
apollo_fixed,
apollo_probabilities,
apollo_inputs,
estimate_settings = NA
)
model object
Named numeric vector. Names and values for parameters.
Character vector. Names (as defined in apollo_beta
) of parameters whose value should not change during estimation.
Function. Returns probabilities of the model to be estimated. Must receive three arguments:
apollo_beta
: Named numeric vector. Names and values of model parameters.
apollo_inputs
: List containing options of the model. See apollo_validateInputs.
functionality
: Character. Can be either "components"
, "conditionals"
, "estimate"
(default), "gradient"
, "output"
, "prediction"
, "preprocess"
, "raw"
, "report"
, "shares_LL"
, "validate"
or "zero_LL"
.
List grouping most common inputs. Created by function apollo_validateInputs.
List. Options controlling the estimation process, as used for in apollo_estimate.
This is a sub function of apollo_estimate which is called when using Bayesian estimation.