Process MDCEV data
processMDCEVdata(formula, data, model_options)
Formula for the model to be estimated. The formula is divided in
three parts, separated by the symbol |
. The first part is reserved for
alternative-specific and individual-specific variables in the psi parameters.
Note that alternative-specific constants are handled by the psi_ascs
argument.
The second part corresponds for individual-specific variables that enter in the probability
assignment in models with latent classes. The third part is reserved for the $q_k$ variables
included in the $phi_k$ parameters in the KT model specification used in environmental economics
model = "kt_ee"
.
The (IxJ) data to be passed to Stan of class mdcev.data
including 1) id, 2) alt, 3) choice, 4) price, 5) income, and columns for alternative-specific and
individual specific variables. Note: I is number of individuals and J is number of non-numeraire alternatives.
list of model options
name of alternatives.