Hi Statalist,
I ran latent class logit model in Stata 13 with discrete choice experiment (DCE) data using lclogit written by Pacifico and Yoo.
To fix idea about my research, here is what I am working on
My choice experiment measure tourist willingness to pay for attributes of ecotourism trip (Village accommodation, craft making market, village tour and price).
110 tourists were presented with 7 choice sets each with three alternatives (i.e. 2 alternatives with attributes of ecotourism and a status quo equivalent to their current trip)
Tourist can either choose Trip A or Trip B or stick with current trip (equivalent to status quo or opt out).
Tourist socio-demographic characteristics such as Gender Age Education years, nationality and income were used as determinants of class membeship
The challenge encountered is that parameter estimates for a particular class are missing. I really do not know why these parameters are missing and the implications for the applicability of the result to my data. Any assistance will be much appreciated. Thanking you in advance for your comments!
Below is the command ran Code:
***Estimation of asmptotic standard errors and z-values of estimates from lclogit through gllam lclogitml, iterate(5)
After sending the above command to stata, I got the result below
Code:
***Estimation of asmptotic standard errors and z-values of estimates from lclogit through gllam . lclogitml, iterate(5) -gllamm- is initializing. This process may take a few minutes. numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 0: log likelihood = -441.06276 (not concave) numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 1: log likelihood = -441.06276 (not concave) numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 2: log likelihood = -441.06276 (not concave) numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 3: log likelihood = -441.06276 (not concave) numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 4: log likelihood = -441.06276 (not concave) numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 5: log likelihood = -441.06276 (not concave) convergence not achieved Latent class model with 3 latent classes ------------------------------------------------------------------------------- Choice | Coef. Std. Err. z P>|z| [95% Conf. Interval] --------------+---------------------------------------------------------------- choice1 | Price2 | .0659244 .0107037 6.16 0.000 .0449455 .0869032 Accommodation | -.7282424 .2369424 -3.07 0.002 -1.192641 -.2638437 Market | -.0795953 .2947011 -0.27 0.787 -.6571989 .4980083 Tour | .2114257 .2318396 0.91 0.362 -.2429715 .6658229 --------------+---------------------------------------------------------------- choice2 | Price2 | -2.520002 1.075836 -2.34 0.019 -4.628602 -.4114024 Accommodation | 33.41135 17.16425 1.95 0.052 -.2299641 67.05266 Market | 17.96667 . . . . . Tour | -1.970766 . . . . . --------------+---------------------------------------------------------------- choice3 | Price2 | -.0027144 .0100404 -0.27 0.787 -.0223932 .0169644 Accommodation | -.9510399 .1919325 -4.96 0.000 -1.327221 -.574859 Market | -.406724 .1761886 -2.31 0.021 -.7520474 -.0614006 Tour | -.4181075 .1473625 -2.84 0.005 -.7069328 -.1292822 --------------+---------------------------------------------------------------- share1 | male | -.0801244 .6545101 -0.12 0.903 -1.362941 1.202692 Age | .0322988 .0250557 1.29 0.197 -.0168093 .081407 Eduyears | -.1015891 .1269271 -0.80 0.423 -.3503617 .1471835 national | -.8126188 .7034051 -1.16 0.248 -2.191267 .5660298 Income | .5675667 .3120162 1.82 0.069 -.0439738 1.179107 _cons | -1.547812 2.07203 -0.75 0.455 -5.608915 2.513292 --------------+---------------------------------------------------------------- share2 | male | .510867 .4993067 1.02 0.306 -.4677561 1.48949 Age | .0517979 .0193701 2.67 0.007 .0138332 .0897626 Eduyears | -.189617 .1004979 -1.89 0.059 -.3865893 .0073553 national | -.8631777 .544691 -1.58 0.113 -1.930752 .2043971 Income | .231292 .2207554 1.05 0.295 -.2013807 .6639647 _cons | .6208119 1.523915 0.41 0.684 -2.366006 3.60763 -------------------------------------------------------------------------------
As you can see, parameter estimates for the standard error, z-statistics, p>|z| and 95% confidence interval for Market and Tour in choice 2 are missing.
I look forward to comments
Babatope Akinyemi
I ran latent class logit model in Stata 13 with discrete choice experiment (DCE) data using lclogit written by Pacifico and Yoo.
To fix idea about my research, here is what I am working on
My choice experiment measure tourist willingness to pay for attributes of ecotourism trip (Village accommodation, craft making market, village tour and price).
110 tourists were presented with 7 choice sets each with three alternatives (i.e. 2 alternatives with attributes of ecotourism and a status quo equivalent to their current trip)
Tourist can either choose Trip A or Trip B or stick with current trip (equivalent to status quo or opt out).
Tourist socio-demographic characteristics such as Gender Age Education years, nationality and income were used as determinants of class membeship
The challenge encountered is that parameter estimates for a particular class are missing. I really do not know why these parameters are missing and the implications for the applicability of the result to my data. Any assistance will be much appreciated. Thanking you in advance for your comments!

Below is the command ran Code:
***Estimation of asmptotic standard errors and z-values of estimates from lclogit through gllam lclogitml, iterate(5)
After sending the above command to stata, I got the result below
Code:
***Estimation of asmptotic standard errors and z-values of estimates from lclogit through gllam . lclogitml, iterate(5) -gllamm- is initializing. This process may take a few minutes. numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 0: log likelihood = -441.06276 (not concave) numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 1: log likelihood = -441.06276 (not concave) numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 2: log likelihood = -441.06276 (not concave) numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 3: log likelihood = -441.06276 (not concave) numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 4: log likelihood = -441.06276 (not concave) numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered numerical derivatives are approximate flat or discontinuous region encountered Iteration 5: log likelihood = -441.06276 (not concave) convergence not achieved Latent class model with 3 latent classes ------------------------------------------------------------------------------- Choice | Coef. Std. Err. z P>|z| [95% Conf. Interval] --------------+---------------------------------------------------------------- choice1 | Price2 | .0659244 .0107037 6.16 0.000 .0449455 .0869032 Accommodation | -.7282424 .2369424 -3.07 0.002 -1.192641 -.2638437 Market | -.0795953 .2947011 -0.27 0.787 -.6571989 .4980083 Tour | .2114257 .2318396 0.91 0.362 -.2429715 .6658229 --------------+---------------------------------------------------------------- choice2 | Price2 | -2.520002 1.075836 -2.34 0.019 -4.628602 -.4114024 Accommodation | 33.41135 17.16425 1.95 0.052 -.2299641 67.05266 Market | 17.96667 . . . . . Tour | -1.970766 . . . . . --------------+---------------------------------------------------------------- choice3 | Price2 | -.0027144 .0100404 -0.27 0.787 -.0223932 .0169644 Accommodation | -.9510399 .1919325 -4.96 0.000 -1.327221 -.574859 Market | -.406724 .1761886 -2.31 0.021 -.7520474 -.0614006 Tour | -.4181075 .1473625 -2.84 0.005 -.7069328 -.1292822 --------------+---------------------------------------------------------------- share1 | male | -.0801244 .6545101 -0.12 0.903 -1.362941 1.202692 Age | .0322988 .0250557 1.29 0.197 -.0168093 .081407 Eduyears | -.1015891 .1269271 -0.80 0.423 -.3503617 .1471835 national | -.8126188 .7034051 -1.16 0.248 -2.191267 .5660298 Income | .5675667 .3120162 1.82 0.069 -.0439738 1.179107 _cons | -1.547812 2.07203 -0.75 0.455 -5.608915 2.513292 --------------+---------------------------------------------------------------- share2 | male | .510867 .4993067 1.02 0.306 -.4677561 1.48949 Age | .0517979 .0193701 2.67 0.007 .0138332 .0897626 Eduyears | -.189617 .1004979 -1.89 0.059 -.3865893 .0073553 national | -.8631777 .544691 -1.58 0.113 -1.930752 .2043971 Income | .231292 .2207554 1.05 0.295 -.2013807 .6639647 _cons | .6208119 1.523915 0.41 0.684 -2.366006 3.60763 -------------------------------------------------------------------------------
As you can see, parameter estimates for the standard error, z-statistics, p>|z| and 95% confidence interval for Market and Tour in choice 2 are missing.
I look forward to comments
Babatope Akinyemi
Comment