Uses EM for models with continuous random coefficients
Uses the EM algorithm for estimating a model with continuous random coefficients.
apollo_mixEM( apollo_beta, apollo_fixed, apollo_probabilities, apollo_inputs, mixEM_settings = NA, estimate_settings = NA )
apollo_beta |
Named numeric vector. Names and values for parameters. These need to be provided in the following order. With K random parameters, K means for the underlying Normals, followed by the elements of the lower triangle of the Cholesky matrix, by row. |
apollo_fixed |
Character vector. Names (as defined in |
apollo_probabilities |
Function. Returns probabilities of the model to be estimated. Must receive three arguments:
|
apollo_inputs |
List grouping most common inputs. Created by function apollo_validateInputs. |
mixEM_settings |
List. Options controlling the EM process.
|
estimate_settings |
List. Options controlling the estimation process within each EM iteration. See apollo_estimate for details. |
This function uses the EM algorithm for estimating a model with continuous random coefficients. It is only suitable for models where all parameters are random, with a full covariance matrix. All random parameters need to be based on underlying Normals with a full covariance matrix, but any transform thereof can be used.
model object
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.