Creates loglikelihood function from the likelihood function apollo_probabilities provided by the user.
apollo_makeLogLike(theta_fix_val, database, apollo_probabilities,
apollo_control, draws = NA, apollo_randcoeff = NA,
apollo_lcpars = NA, cl = NA, estimation_routine, work_in_logs)
Named numeric vector. Names an values of fixed parameters.
data.frame Data to be used by model. Gets splitted and copied into the cluster.
Function. likelihood provided by the user.
List of model options.
List of draws (numeric arrays). Default is NA. Get splitted and copied into the cluster.
Function. Creates the random coeff or error terms by mixing draws and params. Provided by the user.
Function. Used for latent class models. Not implemented yet.
Cluster.
Character.
Boolean.
apollo_logLike function.
Internal use only. Called by apollo_estimate before estimation.