Fit a MDCEV model with MLE
maxlikeMDCEV(stan_data, initial.parameters, mle_options, parms_info, ...)
data for model formatted from processMDCEVdata
The default for fixed and random parameter specifications is to use random starting values. For LC models, the default is to use slightly adjusted MLE point estimates from the single class model. Initial parameter values should be included in a named list. For example, the LC "hybrid" specification initial parameters can be specified as: initial.parameters = list(psi = array(0, dim = c(K, num_psi)), gamma = array(1, dim = c(K, num_alt)), alpha = array(0.5, dim = c(K, 0)), scale = array(1, dim = c(K))) where K is the number of classes (i.e. K = 1 is used for single class models), num_psi is number of psi parameters, and num_alt is number of non-numeraire alternatives.
modeling options for MLE
information on parameters
Additional parameters to pass on to rstan::stan
and rstan::sampling
.