[Limdep Nlogit List] Latent class model

中国海洋大学刘威 liuwei19990709 at 163.com
Tue Oct 22 12:38:36 AEDT 2024


Dear all
     Here is the code of the shallow category model, I have a few questions to ask you: 
     first of all, I return to the 2-6 shallow categories through the code, got specific indicators, different AIC and BIC results are as follows, there are five categories in AIC and McFadden Pseudo R-squared, but the coefficients in one of the five categories are not significant. There are four categories in BIC, and the coefficients in all four categories are good? 
|   | Class-2 | Class-3 | Class-4 | Class-5 | Class-6 |
| Log likelihood function | -2087.9153 | -2005.4998 | -1941.099 | -1908.51491 | -1909.18263 |
| McFadden Pseudo R-squared | 0.330809 | 0.3572237 | 0.3778646 | 0.388308 | 0.388094 |
| BIC | 4358.7 | 4321.1 | 4319.5 | 4381.6 | 4510.2 |
| AIC | 4221.8 | 4089 | 3992.2 | 3959 | 3992.4 |


     Second, I first broke it down into four categories, and then I calculated the WTP values and confidence intervals for the scenario attributes of each category through the following code, but it always says "Wrong number of start value -- need one for each Labal", and if my code is wrong, then how do I compute the WTP for each shallow category schema attribute? 
NLOGIT
; Lhs = Choice ; Choices=Brand1,Brand2,None 
; Rhs = BIO,WATER,WAN,BIRD,TAI,COST,ASC
; LCM = DIS,SUBDIS,STR,ZCRX,INCOME,AGE,SEX,EDU; Pds = 5 ; Pts = 4
; Parameters
; Group=name
; Output=IC 
; Maxit = 100
; ALG = BHHH $


WALD 
; Parameters = B
; Covariance = VARB 
; Labels = abio1,awater1,awan1,abird1,atai1,acost1,aasc1,bbio2,bwater2,bwan2,bbird2,btai2,bcost2,basc2,cbio3,cwater3,cwan3,cbird3,ctai3,ccost3,casc3,acon1,adis1,asubdis1,astr1,azcrx1,aincom1,aage1,asex1,aedu1,bcon2,bdis2,bsubdis2,bstr2,bzcrx2,bincom2,bage2,bsex2,bedu2,ccon3,cdis3,csubdis3,cstr3,
czcrx3,cincom3,cage3,csex3,cedu3
; Fn1 = wtpbio1 = -abio1/acost1 
; Fn2 = wtpwater1 = -awater1/acost1
; Fn3 = wtpwan1 = -awan1/acost1 
; Fn4 = wtpbird1 = -abird1/acost1 
; Fn5 = wtptai1 = -atai1/acost1
; Fn6 = wtpbio2 = -bbio2/bcost2
; Fn7 = wtpwater2 = -bwater2/bcost2
; Fn8 = wtpwan2 = -bwan2/bcost2
; Fn9 = wtpbird2 = -bbird2/bcost2
; Fn10 = wtptai2 = -btai2/bcost2
; Fn11 = wtpbio3 =- cbio3/ccost3
; Fn12 = wtpwater3 = -cwater3/ccost3
; Fn13 = wtpwan3 = -cwan3/ccost3
; Fn14 = wtpbird3 = -cbird3/ccost3
; Fn15 = wtptai3 = -ctai3/ccost3$


   Thank you very much, hope to get your help!


More information about the Limdep mailing list