Different directions in results from MNL and Mixed logit
Posted: 19 Dec 2024, 01:52
Hi Apollo team,
I ran mixed logit model without covariates for my DCE study with dummy coding.
The estimates in my result are showing undesired directions (for almost all the attributes or some level of the attributes). The directions were fine for all the attributes besides one level of fasting (Fast_3) in MNL model. But, in mixed logit it is completely messed up. I could not exactly identify the mistake in my codes since they ran fine.
Would you please help me figure this out regarding the issue and possible solution for it?
Below are my codes and the result:
# ################################################################# #
#### LOAD LIBRARY AND DEFINE CORE SETTINGS ####
# ################################################################# #
### Clear memory
rm(list = ls())
### Load Apollo library
library(apollo)
### Initialise code
apollo_initialise()
### Set core controls
apollo_control = list(
modelName = "MMNL_DCE3_uncorrelated",
modelDescr = "Mixed logit, uncorrelated",
indivID = "ID",
nCores = 4,
outputDirectory = "output"
)
# ################################################################# #
#### LOAD DATA AND APPLY ANY TRANSFORMATIONS ####
# ################################################################# #
### Loading data
data = read.csv("DCE_withoutcovariates.csv",header=TRUE)
head(data)
# ################################################################# #
#### DEFINE MODEL PARAMETERS ####
# ################################################################# #
### Vector of parameters, including any that are kept fixed in estimation
apollo_beta = c(
mu_b_asc_2 = 0,
sigma_b_asc_2 = 0,
mu_b_Fast_2 = 0,
sigma_b_Fast_2 = 0,
mu_b_Fast_3 = 0,
sigma_b_Fast_3 = 0,
mu_b_Fast_4 = 0,
sigma_b_Fast_4 = 0,
mu_b_Inv_2 = 0,
sigma_b_Inv_2 = 0,
mu_b_Sen_2 = 0,
sigma_b_Sen_2 = 0,
mu_b_Sen_3 = 0,
sigma_b_Sen_3 = 0,
mu_b_Spe_2 = 0,
sigma_b_Spe_2 = 0,
mu_b_Spe_3 = 0,
sigma_b_Spe_3 = 0,
mu_b_Pre_2 = 0,
sigma_b_Pre_2 = 0,
mu_b_Cost_2 = -3,
sigma_b_Cost_2 = 0.01,
mu_b_Cost_3 = -3,
sigma_b_Cost_3 = 0.01,
mu_b_Cost_4 = -3,
sigma_b_Cost_4 = 0.01
)
### Vector with names (in quotes) of parameters to be kept fixed at their starting value in apollo_beta, use apollo_beta_fixed = c() if none
apollo_fixed = c()
# ################################################################# #
#### DEFINE RANDOM COMPONENTS ####
# ################################################################# #
### Set parameters for generating draws
apollo_draws = list(
interDrawsType = "mlhs",
interNDraws = 1000,
interUnifDraws = c(),
interNormDraws = c("draws_asc_2","draws_Fast_2","draws_Fast_3","draws_Fast_4","draws_Inv_2","draws_Sen_2","draws_Sen_3","draws_Spe_2","draws_Spe_3", "draws_Pre_2", "draws_Cost_2","draws_Cost_3", "draws_Cost_4"),
intraDrawsType = "mlhs",
intraNDraws = 0,
intraUnifDraws = c(),
intraNormDraws = c()
)
### Create random parameters
apollo_randCoeff = function(apollo_beta, apollo_inputs){
randcoeff = list()
randcoeff[["b_asc_2"]] = mu_b_asc_2 + sigma_b_asc_2 * draws_asc_2 #(mean + std dev * std normal variable)
randcoeff[["b_Fast_2"]] = mu_b_Fast_2 + sigma_b_Fast_2 * draws_Fast_2
randcoeff[["b_Fast_3"]] = mu_b_Fast_3 + sigma_b_Fast_3 * draws_Fast_3
randcoeff[["b_Fast_4"]] = mu_b_Fast_4 + sigma_b_Fast_4 * draws_Fast_4
randcoeff[["b_Inv_2"]] = mu_b_Inv_2 + sigma_b_Inv_2 * draws_Inv_2
randcoeff[["b_Sen_2"]] = mu_b_Sen_2 + sigma_b_Sen_2 * draws_Sen_2
randcoeff[["b_Sen_3"]] = mu_b_Sen_3 + sigma_b_Sen_3 * draws_Sen_3
randcoeff[["b_Spe_2"]] = mu_b_Spe_2 + sigma_b_Spe_2 * draws_Spe_2
randcoeff[["b_Spe_3"]] = mu_b_Spe_3 + sigma_b_Spe_3 * draws_Spe_3
randcoeff[["b_Pre_2"]] = mu_b_Pre_2 + sigma_b_Pre_2 * draws_Pre_2
randcoeff[["b_Cost_2"]] = -exp( mu_b_Cost_2 + sigma_b_Cost_2 * draws_Cost_2 )
randcoeff[["b_Cost_3"]] = -exp( mu_b_Cost_3 + sigma_b_Cost_3 * draws_Cost_3 )
randcoeff[["b_Cost_4"]] = -exp( mu_b_Cost_4 + sigma_b_Cost_4 * draws_Cost_4 )
return(randcoeff)
}
# ################################################################# #
#### GROUP AND VALIDATE INPUTS ####
# ################################################################# #
apollo_inputs = apollo_validateInputs()
# ################################################################# #
#### DEFINE MODEL AND LIKELIHOOD FUNCTION ####
# ################################################################# #
apollo_probabilities=function(apollo_beta, apollo_inputs, functionality="estimate"){
### Function initialisation: do not change the following three commands
### Attach inputs and detach after function exit
apollo_attach(apollo_beta, apollo_inputs)
on.exit(apollo_detach(apollo_beta, apollo_inputs))
### Create list of probabilities P
P = list()
### List of utilities: these must use the same names as in mnl_settings, order is irrelevant
V = list()
V[["alt1"]] = b_Fast_2 * Fast1_2 + b_Fast_3 * Fast1_3 + b_Fast_4 * Fast1_4 + b_Inv_2 * Inv1_2 + b_Sen_2 * Sen1_2 + b_Sen_3 * Sen1_3 + b_Spe_2 * Spe1_2 + b_Spe_3 * Spe1_3 + b_Pre_2 * Pre1_2 + b_Cost_2 * Cost1_2 + b_Cost_3 * Cost1_3 + b_Cost_4 * Cost1_4
V[["alt2"]] = b_asc_2 + b_Fast_2 * Fast2_2 + b_Fast_3 * Fast2_3 + b_Fast_4 * Fast2_4 + b_Inv_2 * Inv2_2 + b_Sen_2 * Sen2_2 + b_Sen_3 * Sen2_3 + b_Spe_2 * Spe2_2 + b_Spe_3 * Spe2_3 + b_Pre_2 * Pre2_2 + b_Cost_2 * Cost2_2 + b_Cost_3 * Cost2_3 + b_Cost_4 * Cost2_4
### Define settings for MNL model component
mnl_settings = list(
alternatives = c(alt1=1, alt2=2),
avail = list(alt1=1, alt2=1),
choiceVar = Choice,
utilities = V
)
### Compute probabilities using MNL model
P[["model"]] = apollo_mnl(mnl_settings, functionality)
### Take product across observation for same individual(heterogeneity is across per person; how likely is the sequences of choices per person in each group)
P = apollo_panelProd(P, apollo_inputs, functionality)
### Average across inter-individual draws
P = apollo_avgInterDraws(P, apollo_inputs, functionality)
### Prepare and return outputs of function
P = apollo_prepareProb(P, apollo_inputs, functionality)
return(P)
}
# ################################################################# #
#### MODEL ESTIMATION ####
# ################################################################# #
model = apollo_estimate(apollo_beta, apollo_fixed,apollo_probabilities, apollo_inputs)
# ################################################################# #
#### MODEL OUTPUTS ####
# ################################################################# #
apollo_modelOutput(model)
apollo_saveOutput(model)
apollo_deltaMethod(model, list(operation="lognormal",
parName1="mu_b_Cost_2",
parName2="sigma_b_Cost_2" ))
apollo_deltaMethod(model, list(operation="lognormal",
parName1="mu_b_Cost_3",
parName2="sigma_b_Cost_3"
))
apollo_deltaMethod(model, list(operation="lognormal",
parName1="mu_b_Cost_4",
parName2="sigma_b_Cost_4"
))
OUTPUT:
Overview of choices for MNL model component :
alt1 alt2
Times available 1962.00 1962.00
Times chosen 874.00 1088.00
Percentage chosen overall 44.55 55.45
Percentage chosen when available 44.55 55.45
Pre-processing likelihood function...
Creating cluster...
Preparing workers for multithreading...
Testing influence of parameters
Starting main estimation
BGW using analytic model derivatives supplied by caller...
Iterates will be written to:
output/MMNL_DCE3_uncorrelated_iterations.csv
it nf F RELDF PRELDF RELDX MODEL stppar
0 1 1.353752076e+03
1 3 1.308904952e+03 3.313e-02 1.107e-03 6.76e-03 G 1.78e+02
2 4 1.225550505e+03 6.368e-02 6.070e-02 3.48e-01 G 5.21e-02
3 6 1.181683378e+03 3.579e-02 3.460e-02 1.47e-01 G 2.02e+00
4 7 1.140016480e+03 3.526e-02 3.747e-02 2.64e-01 G 2.12e-01
5 8 1.116452558e+03 2.067e-02 2.685e-02 2.68e-01 G 4.33e-02
6 10 1.103921359e+03 1.122e-02 1.373e-02 6.78e-02 S 8.52e-01
7 12 1.102851508e+03 9.691e-04 1.100e-03 1.22e-02 S 1.72e+00
8 14 1.101617837e+03 1.119e-03 1.450e-03 3.57e-02 S 2.77e-01
9 16 1.101154505e+03 4.206e-04 9.718e-04 3.37e-02 G-S 1.23e-01
10 17 1.100854622e+03 2.723e-04 3.995e-04 2.71e-02 S 0.00e+00
11 18 1.100738574e+03 1.054e-04 9.502e-05 9.68e-03 S 0.00e+00
12 19 1.100720598e+03 1.633e-05 1.626e-05 4.07e-03 S 0.00e+00
13 20 1.100717994e+03 2.365e-06 2.259e-06 1.74e-03 S 0.00e+00
14 21 1.100717592e+03 3.653e-07 3.783e-07 4.59e-04 S 0.00e+00
15 22 1.100717524e+03 6.225e-08 7.278e-08 2.63e-04 S 0.00e+00
16 23 1.100717508e+03 1.368e-08 1.317e-08 1.06e-04 S 0.00e+00
17 24 1.100717506e+03 2.047e-09 1.938e-09 5.74e-05 S 0.00e+00
18 25 1.100717506e+03 3.088e-10 3.315e-10 2.03e-05 S 0.00e+00
19 26 1.100717506e+03 3.337e-11 3.794e-11 6.86e-06 S 0.00e+00
***** Relative function convergence *****
Estimated parameters with approximate standard errors from BHHH matrix:
Estimate BHHH se BHH t-ratio (0)
mu_b_asc_2 -0.058791 0.08324 -0.706328
sigma_b_asc_2 -0.127283 0.45828 -0.277738
mu_b_Fast_2 0.207459 0.15225 1.362645
sigma_b_Fast_2 0.423840 0.29448 1.439281
mu_b_Fast_3 -0.056458 0.14750 -0.382771
sigma_b_Fast_3 0.147138 0.59088 0.249015
mu_b_Fast_4 0.049181 0.13607 0.361437
sigma_b_Fast_4 0.390015 0.28721 1.357944
mu_b_Inv_2 0.673622 0.11526 5.844429
sigma_b_Inv_2 0.825433 0.13646 6.048810
mu_b_Sen_2 0.551308 0.11645 4.734335
sigma_b_Sen_2 -0.057836 0.99055 -0.058388
mu_b_Sen_3 1.188378 0.16331 7.276738
sigma_b_Sen_3 -0.811546 0.19617 -4.136863
mu_b_Spe_2 0.641736 0.13011 4.932336
sigma_b_Spe_2 0.062626 0.90136 0.069479
mu_b_Spe_3 1.391553 0.18258 7.621526
sigma_b_Spe_3 -0.460507 0.27227 -1.691363
mu_b_Pre_2 -0.559131 0.11941 -4.682613
sigma_b_Pre_2 -0.987894 0.14541 -6.793766
mu_b_Cost_2 -0.259587 0.17801 -1.458281
sigma_b_Cost_2 -0.003030 1.66725 -0.001818
mu_b_Cost_3 0.119796 0.14831 0.807716
sigma_b_Cost_3 0.414163 0.24587 1.684453
mu_b_Cost_4 0.832412 0.12614 6.599141
sigma_b_Cost_4 0.755763 0.13479 5.607058
Final LL: -1100.7175
Calculating log-likelihood at equal shares (LL(0)) for applicable models...
Calculating log-likelihood at observed shares from estimation data (LL(c)) for applicable models...
Calculating LL of each model component...
Calculating other model fit measures
Computing covariance matrix using numerical jacobian of analytical gradient.
0%....25%....50%....75%....100%
Negative definite Hessian with maximum eigenvalue: -4.730608
Computing score matrix...
Looking forward to your prompt response.
Sincerely,
Priyadarsini
I ran mixed logit model without covariates for my DCE study with dummy coding.
The estimates in my result are showing undesired directions (for almost all the attributes or some level of the attributes). The directions were fine for all the attributes besides one level of fasting (Fast_3) in MNL model. But, in mixed logit it is completely messed up. I could not exactly identify the mistake in my codes since they ran fine.
Would you please help me figure this out regarding the issue and possible solution for it?
Below are my codes and the result:
# ################################################################# #
#### LOAD LIBRARY AND DEFINE CORE SETTINGS ####
# ################################################################# #
### Clear memory
rm(list = ls())
### Load Apollo library
library(apollo)
### Initialise code
apollo_initialise()
### Set core controls
apollo_control = list(
modelName = "MMNL_DCE3_uncorrelated",
modelDescr = "Mixed logit, uncorrelated",
indivID = "ID",
nCores = 4,
outputDirectory = "output"
)
# ################################################################# #
#### LOAD DATA AND APPLY ANY TRANSFORMATIONS ####
# ################################################################# #
### Loading data
data = read.csv("DCE_withoutcovariates.csv",header=TRUE)
head(data)
# ################################################################# #
#### DEFINE MODEL PARAMETERS ####
# ################################################################# #
### Vector of parameters, including any that are kept fixed in estimation
apollo_beta = c(
mu_b_asc_2 = 0,
sigma_b_asc_2 = 0,
mu_b_Fast_2 = 0,
sigma_b_Fast_2 = 0,
mu_b_Fast_3 = 0,
sigma_b_Fast_3 = 0,
mu_b_Fast_4 = 0,
sigma_b_Fast_4 = 0,
mu_b_Inv_2 = 0,
sigma_b_Inv_2 = 0,
mu_b_Sen_2 = 0,
sigma_b_Sen_2 = 0,
mu_b_Sen_3 = 0,
sigma_b_Sen_3 = 0,
mu_b_Spe_2 = 0,
sigma_b_Spe_2 = 0,
mu_b_Spe_3 = 0,
sigma_b_Spe_3 = 0,
mu_b_Pre_2 = 0,
sigma_b_Pre_2 = 0,
mu_b_Cost_2 = -3,
sigma_b_Cost_2 = 0.01,
mu_b_Cost_3 = -3,
sigma_b_Cost_3 = 0.01,
mu_b_Cost_4 = -3,
sigma_b_Cost_4 = 0.01
)
### Vector with names (in quotes) of parameters to be kept fixed at their starting value in apollo_beta, use apollo_beta_fixed = c() if none
apollo_fixed = c()
# ################################################################# #
#### DEFINE RANDOM COMPONENTS ####
# ################################################################# #
### Set parameters for generating draws
apollo_draws = list(
interDrawsType = "mlhs",
interNDraws = 1000,
interUnifDraws = c(),
interNormDraws = c("draws_asc_2","draws_Fast_2","draws_Fast_3","draws_Fast_4","draws_Inv_2","draws_Sen_2","draws_Sen_3","draws_Spe_2","draws_Spe_3", "draws_Pre_2", "draws_Cost_2","draws_Cost_3", "draws_Cost_4"),
intraDrawsType = "mlhs",
intraNDraws = 0,
intraUnifDraws = c(),
intraNormDraws = c()
)
### Create random parameters
apollo_randCoeff = function(apollo_beta, apollo_inputs){
randcoeff = list()
randcoeff[["b_asc_2"]] = mu_b_asc_2 + sigma_b_asc_2 * draws_asc_2 #(mean + std dev * std normal variable)
randcoeff[["b_Fast_2"]] = mu_b_Fast_2 + sigma_b_Fast_2 * draws_Fast_2
randcoeff[["b_Fast_3"]] = mu_b_Fast_3 + sigma_b_Fast_3 * draws_Fast_3
randcoeff[["b_Fast_4"]] = mu_b_Fast_4 + sigma_b_Fast_4 * draws_Fast_4
randcoeff[["b_Inv_2"]] = mu_b_Inv_2 + sigma_b_Inv_2 * draws_Inv_2
randcoeff[["b_Sen_2"]] = mu_b_Sen_2 + sigma_b_Sen_2 * draws_Sen_2
randcoeff[["b_Sen_3"]] = mu_b_Sen_3 + sigma_b_Sen_3 * draws_Sen_3
randcoeff[["b_Spe_2"]] = mu_b_Spe_2 + sigma_b_Spe_2 * draws_Spe_2
randcoeff[["b_Spe_3"]] = mu_b_Spe_3 + sigma_b_Spe_3 * draws_Spe_3
randcoeff[["b_Pre_2"]] = mu_b_Pre_2 + sigma_b_Pre_2 * draws_Pre_2
randcoeff[["b_Cost_2"]] = -exp( mu_b_Cost_2 + sigma_b_Cost_2 * draws_Cost_2 )
randcoeff[["b_Cost_3"]] = -exp( mu_b_Cost_3 + sigma_b_Cost_3 * draws_Cost_3 )
randcoeff[["b_Cost_4"]] = -exp( mu_b_Cost_4 + sigma_b_Cost_4 * draws_Cost_4 )
return(randcoeff)
}
# ################################################################# #
#### GROUP AND VALIDATE INPUTS ####
# ################################################################# #
apollo_inputs = apollo_validateInputs()
# ################################################################# #
#### DEFINE MODEL AND LIKELIHOOD FUNCTION ####
# ################################################################# #
apollo_probabilities=function(apollo_beta, apollo_inputs, functionality="estimate"){
### Function initialisation: do not change the following three commands
### Attach inputs and detach after function exit
apollo_attach(apollo_beta, apollo_inputs)
on.exit(apollo_detach(apollo_beta, apollo_inputs))
### Create list of probabilities P
P = list()
### List of utilities: these must use the same names as in mnl_settings, order is irrelevant
V = list()
V[["alt1"]] = b_Fast_2 * Fast1_2 + b_Fast_3 * Fast1_3 + b_Fast_4 * Fast1_4 + b_Inv_2 * Inv1_2 + b_Sen_2 * Sen1_2 + b_Sen_3 * Sen1_3 + b_Spe_2 * Spe1_2 + b_Spe_3 * Spe1_3 + b_Pre_2 * Pre1_2 + b_Cost_2 * Cost1_2 + b_Cost_3 * Cost1_3 + b_Cost_4 * Cost1_4
V[["alt2"]] = b_asc_2 + b_Fast_2 * Fast2_2 + b_Fast_3 * Fast2_3 + b_Fast_4 * Fast2_4 + b_Inv_2 * Inv2_2 + b_Sen_2 * Sen2_2 + b_Sen_3 * Sen2_3 + b_Spe_2 * Spe2_2 + b_Spe_3 * Spe2_3 + b_Pre_2 * Pre2_2 + b_Cost_2 * Cost2_2 + b_Cost_3 * Cost2_3 + b_Cost_4 * Cost2_4
### Define settings for MNL model component
mnl_settings = list(
alternatives = c(alt1=1, alt2=2),
avail = list(alt1=1, alt2=1),
choiceVar = Choice,
utilities = V
)
### Compute probabilities using MNL model
P[["model"]] = apollo_mnl(mnl_settings, functionality)
### Take product across observation for same individual(heterogeneity is across per person; how likely is the sequences of choices per person in each group)
P = apollo_panelProd(P, apollo_inputs, functionality)
### Average across inter-individual draws
P = apollo_avgInterDraws(P, apollo_inputs, functionality)
### Prepare and return outputs of function
P = apollo_prepareProb(P, apollo_inputs, functionality)
return(P)
}
# ################################################################# #
#### MODEL ESTIMATION ####
# ################################################################# #
model = apollo_estimate(apollo_beta, apollo_fixed,apollo_probabilities, apollo_inputs)
# ################################################################# #
#### MODEL OUTPUTS ####
# ################################################################# #
apollo_modelOutput(model)
apollo_saveOutput(model)
apollo_deltaMethod(model, list(operation="lognormal",
parName1="mu_b_Cost_2",
parName2="sigma_b_Cost_2" ))
apollo_deltaMethod(model, list(operation="lognormal",
parName1="mu_b_Cost_3",
parName2="sigma_b_Cost_3"
))
apollo_deltaMethod(model, list(operation="lognormal",
parName1="mu_b_Cost_4",
parName2="sigma_b_Cost_4"
))
OUTPUT:
Overview of choices for MNL model component :
alt1 alt2
Times available 1962.00 1962.00
Times chosen 874.00 1088.00
Percentage chosen overall 44.55 55.45
Percentage chosen when available 44.55 55.45
Pre-processing likelihood function...
Creating cluster...
Preparing workers for multithreading...
Testing influence of parameters
Starting main estimation
BGW using analytic model derivatives supplied by caller...
Iterates will be written to:
output/MMNL_DCE3_uncorrelated_iterations.csv
it nf F RELDF PRELDF RELDX MODEL stppar
0 1 1.353752076e+03
1 3 1.308904952e+03 3.313e-02 1.107e-03 6.76e-03 G 1.78e+02
2 4 1.225550505e+03 6.368e-02 6.070e-02 3.48e-01 G 5.21e-02
3 6 1.181683378e+03 3.579e-02 3.460e-02 1.47e-01 G 2.02e+00
4 7 1.140016480e+03 3.526e-02 3.747e-02 2.64e-01 G 2.12e-01
5 8 1.116452558e+03 2.067e-02 2.685e-02 2.68e-01 G 4.33e-02
6 10 1.103921359e+03 1.122e-02 1.373e-02 6.78e-02 S 8.52e-01
7 12 1.102851508e+03 9.691e-04 1.100e-03 1.22e-02 S 1.72e+00
8 14 1.101617837e+03 1.119e-03 1.450e-03 3.57e-02 S 2.77e-01
9 16 1.101154505e+03 4.206e-04 9.718e-04 3.37e-02 G-S 1.23e-01
10 17 1.100854622e+03 2.723e-04 3.995e-04 2.71e-02 S 0.00e+00
11 18 1.100738574e+03 1.054e-04 9.502e-05 9.68e-03 S 0.00e+00
12 19 1.100720598e+03 1.633e-05 1.626e-05 4.07e-03 S 0.00e+00
13 20 1.100717994e+03 2.365e-06 2.259e-06 1.74e-03 S 0.00e+00
14 21 1.100717592e+03 3.653e-07 3.783e-07 4.59e-04 S 0.00e+00
15 22 1.100717524e+03 6.225e-08 7.278e-08 2.63e-04 S 0.00e+00
16 23 1.100717508e+03 1.368e-08 1.317e-08 1.06e-04 S 0.00e+00
17 24 1.100717506e+03 2.047e-09 1.938e-09 5.74e-05 S 0.00e+00
18 25 1.100717506e+03 3.088e-10 3.315e-10 2.03e-05 S 0.00e+00
19 26 1.100717506e+03 3.337e-11 3.794e-11 6.86e-06 S 0.00e+00
***** Relative function convergence *****
Estimated parameters with approximate standard errors from BHHH matrix:
Estimate BHHH se BHH t-ratio (0)
mu_b_asc_2 -0.058791 0.08324 -0.706328
sigma_b_asc_2 -0.127283 0.45828 -0.277738
mu_b_Fast_2 0.207459 0.15225 1.362645
sigma_b_Fast_2 0.423840 0.29448 1.439281
mu_b_Fast_3 -0.056458 0.14750 -0.382771
sigma_b_Fast_3 0.147138 0.59088 0.249015
mu_b_Fast_4 0.049181 0.13607 0.361437
sigma_b_Fast_4 0.390015 0.28721 1.357944
mu_b_Inv_2 0.673622 0.11526 5.844429
sigma_b_Inv_2 0.825433 0.13646 6.048810
mu_b_Sen_2 0.551308 0.11645 4.734335
sigma_b_Sen_2 -0.057836 0.99055 -0.058388
mu_b_Sen_3 1.188378 0.16331 7.276738
sigma_b_Sen_3 -0.811546 0.19617 -4.136863
mu_b_Spe_2 0.641736 0.13011 4.932336
sigma_b_Spe_2 0.062626 0.90136 0.069479
mu_b_Spe_3 1.391553 0.18258 7.621526
sigma_b_Spe_3 -0.460507 0.27227 -1.691363
mu_b_Pre_2 -0.559131 0.11941 -4.682613
sigma_b_Pre_2 -0.987894 0.14541 -6.793766
mu_b_Cost_2 -0.259587 0.17801 -1.458281
sigma_b_Cost_2 -0.003030 1.66725 -0.001818
mu_b_Cost_3 0.119796 0.14831 0.807716
sigma_b_Cost_3 0.414163 0.24587 1.684453
mu_b_Cost_4 0.832412 0.12614 6.599141
sigma_b_Cost_4 0.755763 0.13479 5.607058
Final LL: -1100.7175
Calculating log-likelihood at equal shares (LL(0)) for applicable models...
Calculating log-likelihood at observed shares from estimation data (LL(c)) for applicable models...
Calculating LL of each model component...
Calculating other model fit measures
Computing covariance matrix using numerical jacobian of analytical gradient.
0%....25%....50%....75%....100%
Negative definite Hessian with maximum eigenvalue: -4.730608
Computing score matrix...
Looking forward to your prompt response.
Sincerely,
Priyadarsini