From Thao.T.Thai at monash.edu Fri Jun 12 12:51:51 2020 From: Thao.T.Thai at monash.edu (Thao Thai) Date: Fri, 12 Jun 2020 12:51:51 +1000 Subject: [Limdep Nlogit List] Models can not run Message-ID: Dear Nlogit users, I have a DCE design with 6 attributes and the syntax of the MNL model is at the bottom of this message. I have run a number of models, of which I can not run some of them. CL model Heteroscedastic MNL ML Generalised MNL Attribute only AIC Can run Status=1 with maxit=200 Can run Can run Attributes and a subset of 6 SDCs AIC Can run Status=1 with maxit=200 Can run Status=1 with maxit=200 Attributes and more than 6 covariates and interaction terms Can run Status=1 with maxit=200 Status=1 with maxit=200 Status=1 with maxit=200 Notes: MX and GMX model: 50 Halton draws When I run the *nested logit model*, only one structure (;tree= In(H,C,P,I,G)],Out(N)) can run (STATUS=0) while others do not converge (STATUS=1) with the message "Fixed parameter ... is constrained to equal the value or had a nonpositive st.error because of an earlier problem." When I run the *latent class* with 2 classes, STATUS =1 with maxit =100. When I tried the 3 class LC model, I got the message "Maximum of 100 iterations. Exit iterations with status=1 Error 1027: Models - estimated variance matrix of estimates is singular" The syntax of MNL is below and it run fine Nlogit ;lhs = cho, cset, alti ;choices = H, C, P, I, G, N ;model: U(H) = rl_h1 * RL_H1 + rl_h2 * RL_H2 + fl_ * FL_H + cr_h1 * CR_H1 + cr_2 * CR_H2 + lo_h1 * LO_H1 + sa_ * SA_H / U(C) = com + rl_c1 * RL_C1 + rl_c2 * RL_C2 + fl_ * FL_C + cr_c1 * CR_C1 + cr_2 * CR_C2 + lo_c1 * LO_C1 + lo_c2 * LO_C2 + sa_ * SA_C/ U(P) = pri + rl_p1 * RL_P1 + fl_ * FL_P + cr_p1 * CR_P1 + cr_2 * CR_P2 + lo_p1 * LO_P1 + lo_p2 * LO_P2 + sa_ * SA_P/ U(I) = ind + rl_i1 * RL_I1 + rl_i2 * RL_I2 + fl_ * FL_I + cr_i1 * CR_I1 + lo_i1 * LO_I1 + sa_ * SA_I/ U(G) = gov + rl_g1 * RL_G1 + fl_ * FL_G + cr_g1 * CR_G1 + lo_g1 * LO_G1 + sa_ * SA_G/ U(N) = non + rl_n1 * RL_N1 + fl_ * FL_N + cr_n1 * CR_N1 + lo_n1 * LO_N1 + lo_n2 * LO_N2 + sa_ * SA_N $ I am not sure what went wrong. I would be very grateful if you could provide any insights on the problems that I am facing. Thank you so much in advance. Best regards, T From chakra43 at msu.edu Sun Jun 14 08:52:57 2020 From: chakra43 at msu.edu (Chakraborty, Meghna) Date: Sat, 13 Jun 2020 22:52:57 +0000 Subject: [Limdep Nlogit List] Nested Logit on NLOGIT Message-ID: Hi, I am trying to develop a nested logit model with the following nests and variables: Level 1: Child Restraint Use: 1. For age 0 - 3 years 2. For age 4 - 7 years Level 2: 1. For age 0 - 3 years: 1.1. Proper Use (Forward CSS / Backward CSS) 1.2. Improper Use (Booster seat/ Adult seat belt) 1.3. Not used any restraint 2. For age 4 - 7 years: 2.1. Proper Use (Forward CSS / Booster seat) 2.2. Improper Use (Backward CSS / Adult seat belt) 2.3. Not used any restraint Can anyone help me with how to code this model? I can also share the data if needed. I really appreciate your help. Thank you very much. Best regards Meghna From fannywidadie at gmail.com Thu Jun 18 00:51:18 2020 From: fannywidadie at gmail.com (F WD) Date: Wed, 17 Jun 2020 21:51:18 +0700 Subject: [Limdep Nlogit List] Interaction between ASC and socio-economic variables Message-ID: Dear all, I am using a mixed logit model to estimate the preferences. In my model, there are two types of alternatives and a status quo (alternative specific constants). So basically, I had three utility functions. When I tried to estimate the basic model without interaction with some socio-economic variables, it works. However, When I tried to add the model with interaction between ASC and socio-economic variables, it did not work. As for your information, I use ASC to measure utility of status quo alternative. I use dummy variable coding 1 if the respondent chooses the status quo, and 0 otherwise. I want to know the effect of socio-economic variable on the probability to opt ?status quo?. The syntax of mixed logit is below for basic model and it run well RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 ;model: U(1,2) = PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY / U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), X65(n), QUANTITY(n) ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ However, when I run to interact between ASC and some socio-economic variables, it does not work. I got the message: *Error 1027: Models - estimated variance matrix of estimates is singular* I use the syntax below: RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 ;model: U(1,2) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY + AGE*ASCXAGE + EDUC*ASCXEDUC + ORGANIC*ASCXORGA + RISKst*ASCXRISK + KTPA*ASCXKTPA + COMMUNITY*ASCXKTCO / U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), X65(n), QUANTITY(n), ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ Does anyone know why the model in the interaction is not run? Is there any wrong in the syntax? Thank you for your help. best regards, F From Gianluca.Grilli at esri.ie Thu Jun 18 01:07:05 2020 From: Gianluca.Grilli at esri.ie (Gianluca Grilli) Date: Wed, 17 Jun 2020 15:07:05 +0000 Subject: [Limdep Nlogit List] [External] Interaction between ASC and socio-economic variables In-Reply-To: References: Message-ID: Hi, Looks like a convergence problem, maybe the model is too complicated for the data you have. Try adding one variable at a time Best Gianluca -----Original Message----- From: Limdep On Behalf Of F WD via Limdep Sent: Wednesday 17 June 2020 15:51 To: limdep at mailman.sydney.edu.au Cc: F WD Subject: [External] [Limdep Nlogit List] Interaction between ASC and socio-economic variables Dear all, I am using a mixed logit model to estimate the preferences. In my model, there are two types of alternatives and a status quo (alternative specific constants). So basically, I had three utility functions. When I tried to estimate the basic model without interaction with some socio-economic variables, it works. However, When I tried to add the model with interaction between ASC and socio-economic variables, it did not work. As for your information, I use ASC to measure utility of status quo alternative. I use dummy variable coding 1 if the respondent chooses the status quo, and 0 otherwise. I want to know the effect of socio-economic variable on the probability to opt ?status quo?. The syntax of mixed logit is below for basic model and it run well RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 ;model: U(1,2) = PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY / U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), X65(n), QUANTITY(n) ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ However, when I run to interact between ASC and some socio-economic variables, it does not work. I got the message: *Error 1027: Models - estimated variance matrix of estimates is singular* I use the syntax below: RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 ;model: U(1,2) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY + AGE*ASCXAGE + EDUC*ASCXEDUC + ORGANIC*ASCXORGA + RISKst*ASCXRISK + KTPA*ASCXKTPA + COMMUNITY*ASCXKTCO / U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), X65(n), QUANTITY(n), ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ Does anyone know why the model in the interaction is not run? Is there any wrong in the syntax? Thank you for your help. best regards, F _______________________________________________ Limdep site list Limdep at mailman.sydney.edu.au http://limdep.itls.usyd.edu.au ________________________________ The information transmitted in this email and any attachment may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient or you have received this in error, please contact the sender and delete the material from any computer. From fredrik.carlsson at economics.gu.se Thu Jun 18 03:40:14 2020 From: fredrik.carlsson at economics.gu.se (Fredrik Carlsson) Date: Wed, 17 Jun 2020 17:40:14 +0000 Subject: [Limdep Nlogit List] Interaction between ASC and socio-economic variables In-Reply-To: References: Message-ID: <28FDFCA3-459A-4B7F-82A3-E20DD0EE8821@economics.gu.se> You have an ASC in all utility fcns in the second specification Best Fredrik Skickat fr?n min iPhone > 17 juni 2020 kl. 16:51 skrev F WD via Limdep : > > ?Dear all, > > I am using a mixed logit model to estimate the preferences. In my model, > there are two types of alternatives and a status quo (alternative specific > constants). So basically, I had three utility functions. When I tried to > estimate the basic model without interaction with some socio-economic > variables, it works. However, When I tried to add the model with > interaction between ASC and socio-economic variables, it did not work. As > for your information, I use ASC to measure utility of status quo > alternative. I use dummy variable coding 1 if the respondent chooses the > status quo, and 0 otherwise. I want to know the effect of socio-economic > variable on the probability to opt ?status quo?. > > The syntax of mixed logit is below for basic model and it run well > > RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 > > ;model: > > U(1,2) = PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + > LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY / > > U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + > X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY > > ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), > X65(n), QUANTITY(n) > > ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ > > > > However, when I run to interact between ASC and some socio-economic > variables, it does not work. I got the message: *Error 1027: Models - > estimated variance matrix of estimates is singular* > > I use the syntax below: > > RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 > > ;model: > > U(1,2) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + > X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY + AGE*ASCXAGE + > EDUC*ASCXEDUC + ORGANIC*ASCXORGA + RISKst*ASCXRISK + KTPA*ASCXKTPA + > COMMUNITY*ASCXKTCO / > > U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 > + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY > > ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), > X65(n), QUANTITY(n), > > ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ > > > > Does anyone know why the model in the interaction is not run? Is there any > wrong in the syntax? Thank you for your help. > > best regards, > F > _______________________________________________ > Limdep site list > Limdep at mailman.sydney.edu.au > http://limdep.itls.usyd.edu.au From fannywidadie at gmail.com Thu Jun 18 17:26:16 2020 From: fannywidadie at gmail.com (F WD) Date: Thu, 18 Jun 2020 14:26:16 +0700 Subject: [Limdep Nlogit List] Interaction between ASC and socio-economic variables In-Reply-To: <28FDFCA3-459A-4B7F-82A3-E20DD0EE8821@economics.gu.se> References: <28FDFCA3-459A-4B7F-82A3-E20DD0EE8821@economics.gu.se> Message-ID: Dear Fredik Carlsson, Actually, I don't use ASC in the second utility function in my model. I made a mistake to write the syntax in the previous mail. I use the syntax as below: RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 ;model: U(1,2) = PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY + AGE*ASCXAGE + EDUC*ASCXEDUC + ORGANIC*ASCXORGA + RISK*X104 + KTPA*ASCXKTPA + COMMUNITY*ASCXKTCO + INCOME*ASCXINCO / U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), X65(n), QUANTITY(n) ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ when I run the result is Error 1027: Models - estimated variance matrix of estimates is singular.. Pada tanggal Kam, 18 Jun 2020 pukul 00.40 Fredrik Carlsson < fredrik.carlsson at economics.gu.se> menulis: > You have an ASC in all utility fcns in the second specification > > Best > Fredrik > > Skickat fr?n min iPhone > > > 17 juni 2020 kl. 16:51 skrev F WD via Limdep < > limdep at mailman.sydney.edu.au>: > > > > ?Dear all, > > > > I am using a mixed logit model to estimate the preferences. In my model, > > there are two types of alternatives and a status quo (alternative > specific > > constants). So basically, I had three utility functions. When I tried to > > estimate the basic model without interaction with some socio-economic > > variables, it works. However, When I tried to add the model with > > interaction between ASC and socio-economic variables, it did not work. As > > for your information, I use ASC to measure utility of status quo > > alternative. I use dummy variable coding 1 if the respondent chooses the > > status quo, and 0 otherwise. I want to know the effect of socio-economic > > variable on the probability to opt ?status quo?. > > > > The syntax of mixed logit is below for basic model and it run well > > > > RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 > > > > ;model: > > > > U(1,2) = PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 > + > > LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY / > > > > U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + > > X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY > > > > ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), > LOCATION(n), > > X65(n), QUANTITY(n) > > > > ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ > > > > > > > > However, when I run to interact between ASC and some socio-economic > > variables, it does not work. I got the message: *Error 1027: Models - > > estimated variance matrix of estimates is singular* > > > > I use the syntax below: > > > > RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 > > > > ;model: > > > > U(1,2) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + > > X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY + AGE*ASCXAGE > + > > EDUC*ASCXEDUC + ORGANIC*ASCXORGA + RISKst*ASCXRISK + KTPA*ASCXKTPA + > > COMMUNITY*ASCXKTCO / > > > > U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + > X63*X63 > > + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY > > > > ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), > LOCATION(n), > > X65(n), QUANTITY(n), > > > > ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ > > > > > > > > Does anyone know why the model in the interaction is not run? Is there > any > > wrong in the syntax? Thank you for your help. > > > > best regards, > > F > > _______________________________________________ > > Limdep site list > > Limdep at mailman.sydney.edu.au > > http://limdep.itls.usyd.edu.au > -- *Fanny Widadie, S.P., M.Agr* Department of Agricultural Economics and Agribusiness Faculty of Agriculture University of Sebelas Maret Jalan Ir. Sutami No. 36 A Kentingan Surakarta - Central Java Indonesia 57126 From fredrik.carlsson at economics.gu.se Thu Jun 18 18:15:50 2020 From: fredrik.carlsson at economics.gu.se (Fredrik Carlsson) Date: Thu, 18 Jun 2020 08:15:50 +0000 Subject: [Limdep Nlogit List] Interaction between ASC and socio-economic variables In-Reply-To: References: <28FDFCA3-459A-4B7F-82A3-E20DD0EE8821@economics.gu.se> Message-ID: You can?t interact with an ASC in U(1,2) since you don?t have an ASC there then. F From: F WD [mailto:fannywidadie at gmail.com] Sent: Thursday, 18 June 2020 09:26 To: Fredrik Carlsson Cc: Limdep and Nlogit Mailing List Subject: Re: [Limdep Nlogit List] Interaction between ASC and socio-economic variables Dear Fredik Carlsson, Actually, I don't use ASC in the second utility function in my model. I made a mistake to write the syntax in the previous mail. I use the syntax as below: RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 ;model: U(1,2) = PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY + AGE*ASCXAGE + EDUC*ASCXEDUC + ORGANIC*ASCXORGA + RISK*X104 + KTPA*ASCXKTPA + COMMUNITY*ASCXKTCO + INCOME*ASCXINCO / U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), X65(n), QUANTITY(n) ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ when I run the result is Error 1027: Models - estimated variance matrix of estimates is singular.. Pada tanggal Kam, 18 Jun 2020 pukul 00.40 Fredrik Carlsson > menulis: You have an ASC in all utility fcns in the second specification Best Fredrik Skickat fr?n min iPhone > 17 juni 2020 kl. 16:51 skrev F WD via Limdep >: > > ?Dear all, > > I am using a mixed logit model to estimate the preferences. In my model, > there are two types of alternatives and a status quo (alternative specific > constants). So basically, I had three utility functions. When I tried to > estimate the basic model without interaction with some socio-economic > variables, it works. However, When I tried to add the model with > interaction between ASC and socio-economic variables, it did not work. As > for your information, I use ASC to measure utility of status quo > alternative. I use dummy variable coding 1 if the respondent chooses the > status quo, and 0 otherwise. I want to know the effect of socio-economic > variable on the probability to opt ?status quo?. > > The syntax of mixed logit is below for basic model and it run well > > RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 > > ;model: > > U(1,2) = PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 + > LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY / > > U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + > X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY > > ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), > X65(n), QUANTITY(n) > > ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ > > > > However, when I run to interact between ASC and some socio-economic > variables, it does not work. I got the message: *Error 1027: Models - > estimated variance matrix of estimates is singular* > > I use the syntax below: > > RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 > > ;model: > > U(1,2) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + > X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY + AGE*ASCXAGE + > EDUC*ASCXEDUC + ORGANIC*ASCXORGA + RISKst*ASCXRISK + KTPA*ASCXKTPA + > COMMUNITY*ASCXKTCO / > > U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + X63*X63 > + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY > > ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), > X65(n), QUANTITY(n), > > ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ > > > > Does anyone know why the model in the interaction is not run? Is there any > wrong in the syntax? Thank you for your help. > > best regards, > F > _______________________________________________ > Limdep site list > Limdep at mailman.sydney.edu.au > http://limdep.itls.usyd.edu.au -- Fanny Widadie, S.P., M.Agr Department of Agricultural Economics and Agribusiness Faculty of Agriculture University of Sebelas Maret Jalan Ir. Sutami No. 36 A Kentingan Surakarta - Central Java Indonesia 57126 From ext.ioanna.grammatikopoulou at luke.fi Thu Jun 18 18:27:08 2020 From: ext.ioanna.grammatikopoulou at luke.fi (Grammatikopoulou Ioanna (Luke)) Date: Thu, 18 Jun 2020 08:27:08 +0000 Subject: [Limdep Nlogit List] Interaction between ASC and socio-economic variables In-Reply-To: References: <28FDFCA3-459A-4B7F-82A3-E20DD0EE8821@economics.gu.se> Message-ID: <96dda2e262454c81b70b9a7b30761c10@C119S212VM037.msvyvi.vaha.local> You can try put in your syntax: ;rpl=sociodemographic variables ;Fcn=ASC(n), b1(n|#00000),....... The b1(n|#00000) implies that the coef. for the choice attributes are randomly distributed but not conditionally to the sociodemographic variables. Ioanna >-----Original Message----- >From: Limdep [mailto:limdep-bounces at mailman.sydney.edu.au] On Behalf >Of Fredrik Carlsson >Sent: 18. kes?kuuta 2020 11:16 >To: F WD >Cc: Limdep and Nlogit Mailing List >Subject: Re: [Limdep Nlogit List] Interaction between ASC and socio-economic >variables > >You can?t interact with an ASC in U(1,2) since you don?t have an ASC there >then. > >F > >From: F WD [mailto:fannywidadie at gmail.com] >Sent: Thursday, 18 June 2020 09:26 >To: Fredrik Carlsson >Cc: Limdep and Nlogit Mailing List >Subject: Re: [Limdep Nlogit List] Interaction between ASC and socio-economic >variables > >Dear Fredik Carlsson, > >Actually, I don't use ASC in the second utility function in my model. I made a >mistake to write the syntax in the previous mail. I use the syntax as below: > >RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 >;model: >U(1,2) = PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + >X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY + >AGE*ASCXAGE + EDUC*ASCXEDUC + ORGANIC*ASCXORGA + RISK*X104 + >KTPA*ASCXKTPA + COMMUNITY*ASCXKTCO + INCOME*ASCXINCO / >U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + >X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY >; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), >X65(n), QUANTITY(n) >; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ > >when I run the result is Error 1027: Models - estimated variance matrix of >estimates is singular.. > > >Pada tanggal Kam, 18 Jun 2020 pukul 00.40 Fredrik Carlsson >>> menulis: >You have an ASC in all utility fcns in the second specification > >Best >Fredrik > >Skickat fr?n min iPhone > >> 17 juni 2020 kl. 16:51 skrev F WD via Limdep > >>: >> >> ?Dear all, >> >> I am using a mixed logit model to estimate the preferences. In my model, >> there are two types of alternatives and a status quo (alternative specific >> constants). So basically, I had three utility functions. When I tried to >> estimate the basic model without interaction with some socio-economic >> variables, it works. However, When I tried to add the model with >> interaction between ASC and socio-economic variables, it did not work. As >> for your information, I use ASC to measure utility of status quo >> alternative. I use dummy variable coding 1 if the respondent chooses the >> status quo, and 0 otherwise. I want to know the effect of socio-economic >> variable on the probability to opt ?status quo?. >> >> The syntax of mixed logit is below for basic model and it run well >> >> RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 >> >> ;model: >> >> U(1,2) = PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + >X63*X63 + >> LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY / >> >> U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + >> X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY >> >> ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), >> X65(n), QUANTITY(n) >> >> ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ >> >> >> >> However, when I run to interact between ASC and some socio-economic >> variables, it does not work. I got the message: *Error 1027: Models - >> estimated variance matrix of estimates is singular* >> >> I use the syntax below: >> >> RPLOGIT ; Lhs = CHOICE ; Choices = 1,2,3 >> >> ;model: >> >> U(1,2) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 >+ >> X63*X63 + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY + >AGE*ASCXAGE + >> EDUC*ASCXEDUC + ORGANIC*ASCXORGA + RISKst*ASCXRISK + >KTPA*ASCXKTPA + >> COMMUNITY*ASCXKTCO / >> >> U (3) = ASC + PRICE*PRICE + X76*X76 + HANDLING*HANDLING + X62*X62 + >X63*X63 >> + LOCATION*LOCATION + X65*X65 + QUANTITY*QUANTITY >> >> ; fcn = ASC(n), Price(c), X76(n), HANDLING(n), X62(n), X63(n), LOCATION(n), >> X65(n), QUANTITY(n), >> >> ; Maxit = 50 ; Pts = 25 ; Halton ; Output = 3 ; Pds = 3 $ >> >> >> >> Does anyone know why the model in the interaction is not run? Is there any >> wrong in the syntax? Thank you for your help. >> >> best regards, >> F >> _______________________________________________ >> Limdep site list >> >Limdep at mailman.sydney.edu.au >> http://limdep.itls.usyd.edu.au > > >-- > >Fanny Widadie, S.P., M.Agr >Department of Agricultural Economics and Agribusiness >Faculty of Agriculture >University of Sebelas Maret >Jalan Ir. Sutami No. 36 A Kentingan Surakarta - Central Java >Indonesia 57126 >_______________________________________________ >Limdep site list >Limdep at mailman.sydney.edu.au >http://limdep.itls.usyd.edu.au From yli107 at uncc.edu Fri Jun 19 04:12:50 2020 From: yli107 at uncc.edu (Yang Li) Date: Thu, 18 Jun 2020 14:12:50 -0400 Subject: [Limdep Nlogit List] Error 1097 with random parameter logit model Message-ID: Dear all, I am new to NLOGIT and trying to fit my data with a random parameter logit model. I've used a MNL to filter the significant variables for the next step of running the ML model and everything went well with 59 variables at the end. But when I added the FCN command with all 59 parameters in it, this message "Error 1097: Unusable LHS variable in choice model setup" appeared and the program told me that all my observations flagged as bad. My code is: NLOGIT; LHS = DECISION; CHOICES = KA, B, PO, NONE; MODEL: U(KA) = KO*ONE + k1*v1 + k3*V3 + k4*V4 + k6*V6 + k7*V7 + k23*V23 + k24*V24 + k26*V26 + k27*V27 + k28*V28 + k30*V30 + k31*V31 + k32*V32 + k35*V35 + k38*V38 + k39*V39 + k40*V40 + k46*V46 + k47*V47 + k50*V50 + k52*V52 + k56*V56 + k65*V65/ U(B) = BO*ONE + b1*v1 + b3*V3 + b4*V4 + b6*V6 + b7*V7 + b23*V23 + b24*V24 + b27*V27 + b28*V28 + b31*V31 + b32*V32 + b38*V38 + b39*V39 + b40*V40 + b46*V46 + b47*V47 + b55*V55 + b63*V63 + b65*V65/ U(PO) = PO*ONE + p1*v1 + p3*V3 + p5*V5 + p7*V7 + p10*V10 + p15*V15 + p23*V23 + p27*V27 + p37*V37 + p39*V39 + p40*V40 + p41*V41 + p46*V46 + p47*V47 + p50*V50 + p55*V55 + p67*V67/ U(NONE) = n13*V13; OUTPUT = 1; MAXIT = 200; RPL; FCN = K1(N), K3(N), k4(N), K6(N), K7(N), K23(N), k24(N), K26(N), k27(N), K28(N), k30(N), k31(N), K32(N), k35(N), K38(N), K39(N), K40(N), K46(N), K47(N), k50(N), k52(N), k56(N), k65(N), B1(N), B3(N), b4(N), b6(N), B7(N), b23(N), b24(N), b27(N), B28(N), b31(N), B32(N), B38(N), B39(N), B40(N), B47(N), b55(N), b63(N), b65(N), P1(N), P3(N), p5(N), P7(N), P10(N), P15(N), p23(N), p27(N), P37(N), p39(N), P40(N), p41(N), P46(N), p47(N), p50(N), p55(N), p67(N),n13(N); PTS = 25; HALTON$ All my variables are 0-1 coded and choice invariant. The error will be gone when I reduce the number of parameters that are put into the FCN command. And the capability of the NLOGIT with ML model is described with up to 100 random parameters. Since I am able to fit my data with the ML model in SAS, I am really confused with this error. Any help would be appreciated and thanks in advance! Yang Li From chakra43 at msu.edu Fri Jun 19 07:05:13 2020 From: chakra43 at msu.edu (Meghna Chakraborty) Date: Thu, 18 Jun 2020 17:05:13 -0400 Subject: [Limdep Nlogit List] Nested Logit Model on NLOGIT Message-ID: Hi, I am trying to develop a nested logit model on NLOGIT with the following code. I am getting the following error to begin with and also I am not sure if I am defining the utility functions and the ivset correctly. Please help. NLOGIT ;Lhs=CRUCode2 ;Choices=P03,I03,P47,I47 ;Tree=ChAg47[0(P03,I03), 1(P47,I47)] ;Show Tree ;Model: U(P03)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ U(I03)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ U(P47)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ U(I47)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ U(0)=U(P03)+U(I03)/ U(1)=U(P47)+U(I47)/ ;ivset:(Tree) = [1] $ Error 1089: Could not interpret string; expected to find number. Thank you very much! Best regards Meghna From chakra43 at msu.edu Fri Jun 19 07:05:13 2020 From: chakra43 at msu.edu (Meghna Chakraborty) Date: Thu, 18 Jun 2020 17:05:13 -0400 Subject: [Limdep Nlogit List] Nested Logit Model on NLOGIT Message-ID: Hi, I am trying to develop a nested logit model on NLOGIT with the following code. I am getting the following error to begin with and also I am not sure if I am defining the utility functions and the ivset correctly. Please help. NLOGIT ;Lhs=CRUCode2 ;Choices=P03,I03,P47,I47 ;Tree=ChAg47[0(P03,I03), 1(P47,I47)] ;Show Tree ;Model: U(P03)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ U(I03)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ U(P47)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ U(I47)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ U(0)=U(P03)+U(I03)/ U(1)=U(P47)+U(I47)/ ;ivset:(Tree) = [1] $ Error 1089: Could not interpret string; expected to find number. Thank you very much! Best regards Meghna From mahsataslimi at gmail.com Fri Jun 19 16:35:11 2020 From: mahsataslimi at gmail.com (Mahsa Taslimi) Date: Fri, 19 Jun 2020 11:05:11 +0430 Subject: [Limdep Nlogit List] LCM Message-ID: Dear all I am running an LCM model (MNL-RPL-LCM-LCRPL), I have a status quo and two other alternatives. so I added ASC with other attributes. but I got a singular matrix. |-> SAMPLE ;1-1872 $ |-> NLOGIT ;Lhs = Choice ;choices=type1,type2,type3 ; Rhs =fn,mhz,egh,si,ej,pr,asc ;LCM ;Pts=2 ;PDS=8 $ what should I do for resolving this? Thank you Mahsa From wgreene at stern.nyu.edu Mon Jun 22 03:41:53 2020 From: wgreene at stern.nyu.edu (William Greene) Date: Sun, 21 Jun 2020 13:41:53 -0400 Subject: [Limdep Nlogit List] Nested Logit Model on NLOGIT In-Reply-To: References: Message-ID: (1) Don't use ONE as a name for any components of your model. (2) You don't want the same constant term in all 4 utility functions. (3) Just use ;Tree=0(P03,I03), 1(P47,I47) and drop IVSET. You might want to use names rather than 0(.) and 1(.). /Bill Greene On Thu, Jun 18, 2020 at 5:06 PM Meghna Chakraborty via Limdep < limdep at mailman.sydney.edu.au> wrote: > Hi, > I am trying to develop a nested logit model on NLOGIT with the following > code. I am getting the following error to begin with and also I am not sure > if I am defining the utility functions and the ivset correctly. Please > help. > > NLOGIT > ;Lhs=CRUCode2 > ;Choices=P03,I03,P47,I47 > ;Tree=ChAg47[0(P03,I03), 1(P47,I47)] > ;Show Tree > ;Model: > U(P03)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + > DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ > U(I03)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + > DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ > U(P47)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + > DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ > U(I47)=ONE + DrAg1629*DrAg1629 + DrAg3059*DrAg3059 + DrAgMT60*DrAgMT60 + > DrGnM*DrGnM + DrRcWht*DrRcWht + DrRcBlck*DrRcBlck + DrRcOth*DrRcOth/ > U(0)=U(P03)+U(I03)/ > U(1)=U(P47)+U(I47)/ > ;ivset:(Tree) = [1] $ > > Error 1089: Could not interpret string; expected to find number. > > Thank you very much! > > Best regards > Meghna > _______________________________________________ > Limdep site list > Limdep at mailman.sydney.edu.au > http://limdep.itls.usyd.edu.au > > -- William Greene Department of Economics, emeritus Stern School of Business, New York University 44 West 4 St. New York, NY, 10012 URL: https://protect-au.mimecast.com/s/UOnICvl1rKiMwKzOuQtJ0u?domain=people.stern.nyu.edu Email: wgreene at stern.nyu.edu Ph. +1.646.596.3296 Editor in Chief: Journal of Productivity Analysis Editor in Chief: Foundations and Trends in Econometrics Associate Editor: Economics Letters Associate Editor: Journal of Business and Economic Statistics From wgreene at stern.nyu.edu Mon Jun 22 03:45:09 2020 From: wgreene at stern.nyu.edu (William Greene) Date: Sun, 21 Jun 2020 13:45:09 -0400 Subject: [Limdep Nlogit List] Error 1097 with random parameter logit model In-Reply-To: References: Message-ID: Yang Li. The internal limit is 25 RPs. But, that is very optimistic. The approach might work with 5 or 10 RPs, but beyond that, there must be identification issues. /B. Greene On Thu, Jun 18, 2020 at 2:13 PM Yang Li via Limdep < limdep at mailman.sydney.edu.au> wrote: > Dear all, > > I am new to NLOGIT and trying to fit my data with a random parameter logit > model. > > I've used a MNL to filter the significant variables for the next step of > running the ML model and everything went well with 59 variables at the end. > > But when I added the FCN command with all 59 parameters in it, this message > "Error 1097: Unusable LHS variable in choice model setup" appeared and the > program told me that all my observations flagged as bad. > > My code is: > NLOGIT; > LHS = DECISION; > CHOICES = KA, B, PO, NONE; > MODEL: > U(KA) = KO*ONE + k1*v1 + k3*V3 + k4*V4 + k6*V6 + k7*V7 + > k23*V23 + k24*V24 + k26*V26 + k27*V27 + k28*V28 + k30*V30 + > k31*V31 + k32*V32 + k35*V35 + k38*V38 + > k39*V39 + k40*V40 + > k46*V46 + k47*V47 + k50*V50 + k52*V52 + > k56*V56 + k65*V65/ > > U(B) = BO*ONE + b1*v1 + b3*V3 + b4*V4 + b6*V6 + b7*V7 + > b23*V23 + b24*V24 + b27*V27 + b28*V28 + > b31*V31 + b32*V32 + b38*V38 + > b39*V39 + b40*V40 + > b46*V46 + b47*V47 + > b55*V55 + > b63*V63 + b65*V65/ > > U(PO) = PO*ONE + p1*v1 + p3*V3 + p5*V5 + p7*V7 + > p10*V10 + p15*V15 + > p23*V23 + p27*V27 + > p37*V37 + > p39*V39 + p40*V40 + p41*V41 + > p46*V46 + p47*V47 + p50*V50 + > p55*V55 + p67*V67/ > > U(NONE) = n13*V13; > > OUTPUT = 1; > MAXIT = 200; > RPL; > FCN = K1(N), K3(N), k4(N), K6(N), K7(N), K23(N), k24(N), K26(N), > k27(N), > K28(N), k30(N), k31(N), K32(N), k35(N), K38(N), K39(N), K40(N), K46(N), > K47(N), k50(N), k52(N), k56(N), k65(N), B1(N), B3(N), b4(N), b6(N), > B7(N), b23(N), b24(N), b27(N), B28(N), b31(N), B32(N), B38(N), B39(N), > B40(N), B47(N), b55(N), b63(N), b65(N), P1(N), P3(N), p5(N), P7(N), > P10(N), P15(N), p23(N), p27(N), P37(N), p39(N), P40(N), p41(N), P46(N), > p47(N), p50(N), p55(N), p67(N),n13(N); > PTS = 25; > HALTON$ > > All my variables are 0-1 coded and choice invariant. The error will be gone > when I reduce the number of parameters that are put into the FCN command. > And the capability of the NLOGIT with ML model is described with up to 100 > random parameters. Since I am able to fit my data with the ML model in SAS, > I am really confused with this error. Any help would be appreciated and > thanks in advance! > > Yang Li > _______________________________________________ > Limdep site list > Limdep at mailman.sydney.edu.au > http://limdep.itls.usyd.edu.au > > -- William Greene Department of Economics, emeritus Stern School of Business, New York University 44 West 4 St. New York, NY, 10012 URL: https://protect-au.mimecast.com/s/7CmmCQnMBZfzvrVXFxkWMG?domain=people.stern.nyu.edu Email: wgreene at stern.nyu.edu Ph. +1.646.596.3296 Editor in Chief: Journal of Productivity Analysis Editor in Chief: Foundations and Trends in Econometrics Associate Editor: Economics Letters Associate Editor: Journal of Business and Economic Statistics From yli107 at uncc.edu Mon Jun 22 07:25:39 2020 From: yli107 at uncc.edu (Yang Li) Date: Sun, 21 Jun 2020 17:25:39 -0400 Subject: [Limdep Nlogit List] Error 1097 with random parameter logit model In-Reply-To: References: Message-ID: Dr. Greene, Thank you very much for your reply and your explanation! If that is the situation, is there any good way to identify the significant random parameters correctly among such a large variable set, when we cannot have all parameters to be examined at the same time? Thanks again for your help and your time! Yang Li On Sun, Jun 21, 2020 at 1:45 PM William Greene via Limdep < limdep at mailman.sydney.edu.au> wrote: > Yang Li. The internal limit is 25 RPs. But, that is very optimistic. The > approach might work with 5 or 10 RPs, but beyond that, there must be > identification issues. > /B. Greene > > On Thu, Jun 18, 2020 at 2:13 PM Yang Li via Limdep < > limdep at mailman.sydney.edu.au> wrote: > > > Dear all, > > > > I am new to NLOGIT and trying to fit my data with a random parameter > logit > > model. > > > > I've used a MNL to filter the significant variables for the next step of > > running the ML model and everything went well with 59 variables at the > end. > > > > But when I added the FCN command with all 59 parameters in it, this > message > > "Error 1097: Unusable LHS variable in choice model setup" appeared and > the > > program told me that all my observations flagged as bad. > > > > My code is: > > NLOGIT; > > LHS = DECISION; > > CHOICES = KA, B, PO, NONE; > > MODEL: > > U(KA) = KO*ONE + k1*v1 + k3*V3 + k4*V4 + k6*V6 + k7*V7 + > > k23*V23 + k24*V24 + k26*V26 + k27*V27 + k28*V28 + k30*V30 + > > k31*V31 + k32*V32 + k35*V35 + k38*V38 + > > k39*V39 + k40*V40 + > > k46*V46 + k47*V47 + k50*V50 + k52*V52 + > > k56*V56 + k65*V65/ > > > > U(B) = BO*ONE + b1*v1 + b3*V3 + b4*V4 + b6*V6 + b7*V7 + > > b23*V23 + b24*V24 + b27*V27 + b28*V28 + > > b31*V31 + b32*V32 + b38*V38 + > > b39*V39 + b40*V40 + > > b46*V46 + b47*V47 + > > b55*V55 + > > b63*V63 + b65*V65/ > > > > U(PO) = PO*ONE + p1*v1 + p3*V3 + p5*V5 + p7*V7 + > > p10*V10 + p15*V15 + > > p23*V23 + p27*V27 + > > p37*V37 + > > p39*V39 + p40*V40 + p41*V41 + > > p46*V46 + p47*V47 + p50*V50 + > > p55*V55 + p67*V67/ > > > > U(NONE) = n13*V13; > > > > OUTPUT = 1; > > MAXIT = 200; > > RPL; > > FCN = K1(N), K3(N), k4(N), K6(N), K7(N), K23(N), k24(N), K26(N), > > k27(N), > > K28(N), k30(N), k31(N), K32(N), k35(N), K38(N), K39(N), K40(N), > K46(N), > > K47(N), k50(N), k52(N), k56(N), k65(N), B1(N), B3(N), b4(N), b6(N), > > B7(N), b23(N), b24(N), b27(N), B28(N), b31(N), B32(N), B38(N), > B39(N), > > B40(N), B47(N), b55(N), b63(N), b65(N), P1(N), P3(N), p5(N), P7(N), > > P10(N), P15(N), p23(N), p27(N), P37(N), p39(N), P40(N), p41(N), > P46(N), > > p47(N), p50(N), p55(N), p67(N),n13(N); > > PTS = 25; > > HALTON$ > > > > All my variables are 0-1 coded and choice invariant. The error will be > gone > > when I reduce the number of parameters that are put into the FCN command. > > And the capability of the NLOGIT with ML model is described with up to > 100 > > random parameters. Since I am able to fit my data with the ML model in > SAS, > > I am really confused with this error. Any help would be appreciated and > > thanks in advance! > > > > Yang Li > > _______________________________________________ > > Limdep site list > > Limdep at mailman.sydney.edu.au > > http://limdep.itls.usyd.edu.au > > > > > > -- > William Greene > Department of Economics, emeritus > Stern School of Business, New York University > 44 West 4 St. > New York, NY, 10012 > URL: https://protect-au.mimecast.com/s/iUz1CwV1vMfYl3WATVxwri?domain=people.stern.nyu.edu > Email: wgreene at stern.nyu.edu > Ph. +1.646.596.3296 > Editor in Chief: Journal of Productivity Analysis > Editor in Chief: Foundations and Trends in Econometrics > Associate Editor: Economics Letters > Associate Editor: Journal of Business and Economic Statistics > _______________________________________________ > Limdep site list > Limdep at mailman.sydney.edu.au > http://limdep.itls.usyd.edu.au > > From john.c.whitehead at gmail.com Mon Jun 22 08:51:19 2020 From: john.c.whitehead at gmail.com (John C. Whitehead) Date: Sun, 21 Jun 2020 18:51:19 -0400 Subject: [Limdep Nlogit List] LCM In-Reply-To: References: Message-ID: Try ; Rhs =fn,mhz,egh,si,ej,pr;rh2=one On Fri, Jun 19, 2020 at 2:35 AM Mahsa Taslimi via Limdep < limdep at mailman.sydney.edu.au> wrote: > Dear all > > I am running an LCM model (MNL-RPL-LCM-LCRPL), I have a status quo and two > other alternatives. so I added ASC with other attributes. but I got a > singular matrix. > > |-> SAMPLE ;1-1872 $ > |-> NLOGIT ;Lhs = Choice > ;choices=type1,type2,type3 > ; Rhs =fn,mhz,egh,si,ej,pr,asc > ;LCM ;Pts=2 ;PDS=8 $ > > what should I do for resolving this? > Thank you > Mahsa > _______________________________________________ > Limdep site list > Limdep at mailman.sydney.edu.au > http://limdep.itls.usyd.edu.au > > From john.c.whitehead at gmail.com Mon Jun 22 08:51:19 2020 From: john.c.whitehead at gmail.com (John C. Whitehead) Date: Sun, 21 Jun 2020 18:51:19 -0400 Subject: [Limdep Nlogit List] LCM In-Reply-To: References: Message-ID: Try ; Rhs =fn,mhz,egh,si,ej,pr;rh2=one On Fri, Jun 19, 2020 at 2:35 AM Mahsa Taslimi via Limdep < limdep at mailman.sydney.edu.au> wrote: > Dear all > > I am running an LCM model (MNL-RPL-LCM-LCRPL), I have a status quo and two > other alternatives. so I added ASC with other attributes. but I got a > singular matrix. > > |-> SAMPLE ;1-1872 $ > |-> NLOGIT ;Lhs = Choice > ;choices=type1,type2,type3 > ; Rhs =fn,mhz,egh,si,ej,pr,asc > ;LCM ;Pts=2 ;PDS=8 $ > > what should I do for resolving this? > Thank you > Mahsa > _______________________________________________ > Limdep site list > Limdep at mailman.sydney.edu.au > http://limdep.itls.usyd.edu.au > > From Thao.T.Thai at monash.edu Tue Jun 30 10:30:40 2020 From: Thao.T.Thai at monash.edu (Thao Thai) Date: Tue, 30 Jun 2020 10:30:40 +1000 Subject: [Limdep Nlogit List] Latent class model converged after a huge number of iterations In-Reply-To: References: Message-ID: Hi Nlogit users, I am running a latent class model with 2 classes. The model converged after 177 iterations but some coefficients are huge with p-values close to 1 (e.g. camt50, pamt50,etc.). Could you please kindly let me know why the model reports such strange results even thought the model converged? My 2 class LC results are below. Any suggestions would be greatly appreciated. Thank you so much. Thao ----------------------------------------------------------------------------- Discrete choice (multinomial logit) model Dependent variable Choice Log likelihood function -3027.91231 Estimation based on N = 1881, K = 51 Inf.Cr.AIC = 6157.8 AIC/N = 3.274 --------------------------------------- Log likelihood R-sqrd R2Adj ASCs only model must be fit separately Use NLOGIT ;...;RHS=ONE$ Note: R-sqrd = 1 - logL/Logl(constants) --------------------------------------- Chi-squared[46] = 634.49410 Prob [ chi squared > value ] = .00000 Response data are given as ind. choices Number of obs.= 2434, skipped 553 obs --------+-------------------------------------------------------------------- | Standard Prob. 95% Confidence CHO| Coefficient Error z |z|>Z* Interval --------+-------------------------------------------------------------------- RL_H1|1| .07880 .18947 .42 .6775 -.29256 .45015 RL_H2|1| .32233** .15780 2.04 .0411 .01304 .63161 FL_|1| .15026** .06411 2.34 .0191 .02461 .27591 CR_H1|1| .30369** .15393 1.97 .0485 .00198 .60539 CR_2|1| .07018 .10914 .64 .5203 -.14374 .28409 LO_H1|1| -.48240*** .14152 -3.41 .0007 -.75978 -.20502 SA_|1| .01294*** .00098 13.18 .0000 .01102 .01487 HISHOS|1| .53228*** .13065 4.07 .0000 .27621 .78834 COM|1| -.06172 .39015 -.16 .8743 -.82640 .70296 RL_C1|1| .33323* .19321 1.72 .0846 -.04546 .71193 RL_C2|1| .19311 .17713 1.09 .2756 -.15406 .54029 CR_C1|1| .14782 .15909 .93 .3528 -.16399 .45963 LO_C1|1| -.33950** .15086 -2.25 .0244 -.63519 -.04382 LO_C2|1| -.79541*** .17740 -4.48 .0000 -1.14311 -.44771 CFEMAL|1| -.50458*** .17382 -2.90 .0037 -.84525 -.16391 CA3549|1| .21543 .19597 1.10 .2716 -.16867 .59953 CAMT50|1| 1.05281*** .20358 5.17 .0000 .65380 1.45183 HISCOM|1| .35769 .30701 1.17 .2440 -.24403 .95941 PRI|1| .72894*** .23093 3.16 .0016 .27633 1.18155 RL_P1|1| .01445 .14051 .10 .9181 -.26095 .28984 CR_P1|1| .28539* .14898 1.92 .0554 -.00660 .57739 LO_P1|1| -1.03715*** .16408 -6.32 .0000 -1.35875 -.71556 LO_P2|1| -.86538*** .15753 -5.49 .0000 -1.17412 -.55663 PFEMAL|1| -.01737 .17614 -.10 .9215 -.36260 .32787 PA3549|1| -.12983 .16126 -.81 .4207 -.44590 .18623 PAMT50|1| .21489 .18085 1.19 .2347 -.13956 .56934 HISPRI|1| .37596** .16405 2.29 .0219 .05443 .69750 IND|1| -.44619* .23633 -1.89 .0590 -.90938 .01700 RL_I1|1| .50658*** .16963 2.99 .0028 .17411 .83906 RL_I2|1| .85985*** .17568 4.89 .0000 .51552 1.20417 CR_I1|1| .51109*** .13898 3.68 .0002 .23871 .78348 LO_I1|1| -.55538*** .14041 -3.96 .0001 -.83058 -.28018 IFEMAL|1| -.61910*** .17288 -3.58 .0003 -.95794 -.28026 HISIND|1| .96531*** .17646 5.47 .0000 .61945 1.31116 GOV|1| .38918* .23520 1.65 .0980 -.07181 .85017 RL_G1|1| -.35640** .14665 -2.43 .0151 -.64382 -.06897 CR_G1|1| .43164*** .13869 3.11 .0019 .15981 .70347 LO_G1|1| -.57675*** .14093 -4.09 .0000 -.85297 -.30052 GFEMAL|1| -.33687* .17868 -1.89 .0594 -.68707 .01332 GA3549|1| -.03689 .19169 -.19 .8474 -.41259 .33882 GAMT50|1| .20023 .21447 .93 .3505 -.22012 .62057 HISGOV|1| .60211*** .14132 4.26 .0000 .32513 .87908 NON|1| .12186 .24794 .49 .6231 -.36408 .60781 RL_N1|1| -.00469 .15976 -.03 .9766 -.31781 .30844 CR_N1|1| .36382** .16054 2.27 .0234 .04917 .67846 LO_N1|1| -.68641*** .18403 -3.73 .0002 -1.04710 -.32572 LO_N2|1| -.44462** .18561 -2.40 .0166 -.80840 -.08083 NFEMAL|1| -.32362* .19138 -1.69 .0908 -.69871 .05147 NA3549|1| -.03864 .20620 -.19 .8513 -.44278 .36549 NAMT50|1| .21775 .22891 .95 .3415 -.23091 .66641 HISNON|1| .39563** .15520 2.55 .0108 .09145 .69982 --------+-------------------------------------------------------------------- ***, **, * ==> Significance at 1%, 5%, 10% level. Model was estimated on Jun 30, 2020 at 09:47:50 AM ----------------------------------------------------------------------------- Iterative procedure has converged Normal exit: 177 iterations. Status=0, F= .2966264D+04 ----------------------------------------------------------------------------- Latent Class Logit Model Dependent variable CHO Log likelihood function -2966.26364 Restricted log likelihood -3370.29956 Chi squared [103](P= .000) 808.07183 Significance level .00000 McFadden Pseudo R-squared .1198813 Estimation based on N = 1881, K = 103 Inf.Cr.AIC = 6138.5 AIC/N = 3.263 --------------------------------------- Log likelihood R-sqrd R2Adj No coefficients -3370.2996 .1199 .1101 Constants only can be computed directly Use NLOGIT ;...;RHS=ONE$ At start values -3027.9417 .0204 .0095 Note: R-sqrd = 1 - logL/Logl(constants) --------------------------------------- Response data are given as ind. choices Number of latent classes = 2 Average Class Probabilities .259 .476 BHHH estimator used for asymp. variance Number of obs.= 2434, skipped 553 obs --------+-------------------------------------------------------------------- | Standard Prob. 95% Confidence CHO| Coefficient Error z |z|>Z* Interval --------+-------------------------------------------------------------------- |Random utility parameters in latent class -->> 1................... RL_H1|1| .57314 .66678 .86 .3900 -.73373 1.88001 RL_H2|1| -.02754 .52799 -.05 .9584 -1.06238 1.00730 FL_|1| .13144 .22894 .57 .5659 -.31728 .58015 CR_H1|1| .73319 .62068 1.18 .2375 -.48332 1.94971 CR_2|1| -.10967 .42208 -.26 .7950 -.93693 .71760 LO_H1|1| -.85008 .52985 -1.60 .1086 -1.88857 .18841 SA_|1| .03102*** .00520 5.96 .0000 .02082 .04121 HISHOS|1| .29351 .38551 .76 .4464 -.46208 1.04910 COM|1| -2.02608 1.27137 -1.59 .1110 -4.51792 .46576 RL_C1|1| .54311 .67716 .80 .4225 -.78411 1.87032 RL_C2|1| -1.54466** .70163 -2.20 .0277 -2.91982 -.16950 CR_C1|1| .35293 .57112 .62 .5366 -.76643 1.47230 LO_C1|1| .19103 .57447 .33 .7395 -.93492 1.31698 LO_C2|1| .25908 .59437 .44 .6629 -.90587 1.42403 CFEMAL|1| -2.28025*** .71548 -3.19 .0014 -3.68256 -.87795 CA3549|1| 1.78554** .89174 2.00 .0453 .03777 3.53331 CAMT50|1| 46.5436 .8389D+07 .00 1.0000 *********** *********** HISCOM|1| 1.15176 .81065 1.42 .1554 -.43709 2.74061 PRI|1| -.01710 .80730 -.02 .9831 -1.59937 1.56517 RL_P1|1| .35581 .53673 .66 .5074 -.69617 1.40778 CR_P1|1| .65787 .55078 1.19 .2323 -.42164 1.73738 LO_P1|1| -2.65965*** .74254 -3.58 .0003 -4.11501 -1.20429 LO_P2|1| -1.88272*** .61240 -3.07 .0021 -3.08299 -.68244 PFEMAL|1| -.13393 .61030 -.22 .8263 -1.33010 1.06225 PA3549|1| .33681 .56773 .59 .5530 -.77591 1.44953 PAMT50|1| 43.1245 .8389D+07 .00 1.0000 *********** *********** HISPRI|1| 3.58758*** .79474 4.51 .0000 2.02992 5.14524 IND|1| -3.53672*** 1.02049 -3.47 .0005 -5.53685 -1.53659 RL_I1|1| 2.12753*** .77133 2.76 .0058 .61575 3.63932 RL_I2|1| 3.87220*** .85688 4.52 .0000 2.19274 5.55165 CR_I1|1| 2.24454*** .58639 3.83 .0001 1.09524 3.39385 LO_I1|1| -2.95126*** .66040 -4.47 .0000 -4.24562 -1.65689 IFEMAL|1| -.90993 .58295 -1.56 .1185 -2.05249 .23264 HISIND|1| 3.36155*** .78707 4.27 .0000 1.81893 4.90418 GOV|1| 1.26511** .60911 2.08 .0378 .07128 2.45894 RL_G1|1| -1.38467** .59707 -2.32 .0204 -2.55490 -.21445 CR_G1|1| -.97856** .47617 -2.06 .0399 -1.91184 -.04529 LO_G1|1| -1.07453*** .36775 -2.92 .0035 -1.79531 -.35375 GFEMAL|1| -.75502 .48325 -1.56 .1182 -1.70217 .19213 GA3549|1| .91479* .48883 1.87 .0613 -.04330 1.87289 GAMT50|1| 43.4431 .8389D+07 .00 1.0000 *********** *********** HISGOV|1| 1.17754*** .32933 3.58 .0003 .53206 1.82302 NON|1| -5.93625** 2.79782 -2.12 .0339 -11.41988 -.45262 RL_N1|1| -2.62001** 1.17294 -2.23 .0255 -4.91892 -.32110 CR_N1|1| 7.17512*** 2.53297 2.83 .0046 2.21059 12.13964 LO_N1|1| -42.4504 .2109D+18 .00 1.0000 *********** *********** LO_N2|1| -4.40510*** 1.67966 -2.62 .0087 -7.69717 -1.11304 NFEMAL|1| 1.94069 1.32904 1.46 .1442 -.66418 4.54555 NA3549|1| -28.9062 .4917D+12 .00 1.0000 *********** *********** NAMT50|1| 44.0873 .8389D+07 .00 1.0000 *********** *********** HISNON|1| -.23243 .92295 -.25 .8012 -2.04139 1.57653 |Random utility parameters in latent class -->> 2................... RL_H1|2| -.03141 .33713 -.09 .9258 -.69217 .62935 RL_H2|2| .36069 .29105 1.24 .2152 -.20975 .93113 FL_|2| .15843 .10226 1.55 .1213 -.04200 .35886 CR_H1|2| .23102 .27718 .83 .4046 -.31225 .77429 CR_2|2| .12892 .17411 .74 .4590 -.21234 .47018 LO_H1|2| -.35813 .24251 -1.48 .1397 -.83344 .11719 SA_|2| .00812*** .00177 4.59 .0000 .00466 .01159 HISHOS|2| .75600*** .24425 3.10 .0020 .27728 1.23472 COM|2| .19671 .72848 .27 .7871 -1.23108 1.62450 RL_C1|2| .27931 .33839 .83 .4091 -.38393 .94255 RL_C2|2| .73297** .30638 2.39 .0167 .13247 1.33346 CR_C1|2| .22909 .26220 .87 .3823 -.28482 .74300 LO_C1|2| -.57897** .26006 -2.23 .0260 -1.08868 -.06925 LO_C2|2| -1.19701*** .30833 -3.88 .0001 -1.80132 -.59270 CFEMAL|2| .19462 .33875 .57 .5656 -.46932 .85855 CA3549|2| -.34064 .41576 -.82 .4126 -1.15552 .47424 CAMT50|2| -.45795 .49982 -.92 .3595 -1.43757 .52167 HISCOM|2| .43151 .48333 .89 .3720 -.51580 1.37882 PRI|2| 1.06274** .52110 2.04 .0414 .04141 2.08408 RL_P1|2| -.10678 .23742 -.45 .6529 -.57211 .35856 CR_P1|2| .01438 .29670 .05 .9613 -.56714 .59590 LO_P1|2| -.39739 .28311 -1.40 .1604 -.95227 .15748 LO_P2|2| -.40739 .29272 -1.39 .1640 -.98111 .16634 PFEMAL|2| .07543 .29394 .26 .7975 -.50068 .65155 PA3549|2| -.42642 .39242 -1.09 .2772 -1.19554 .34270 PAMT50|2| -.37411 .39076 -.96 .3384 -1.13998 .39177 HISPRI|2| -42.2734 .5483D+18 .00 1.0000 *********** *********** IND|2| .83708 .52394 1.60 .1101 -.18982 1.86398 RL_I1|2| .05190 .28791 .18 .8570 -.51239 .61619 RL_I2|2| -.62410 .46110 -1.35 .1759 -1.52784 .27963 CR_I1|2| -.47968 .36629 -1.31 .1903 -1.19760 .23824 LO_I1|2| .54665 .35751 1.53 .1263 -.15407 1.24736 IFEMAL|2| -.67148** .30608 -2.19 .0282 -1.27139 -.07158 HISIND|2| .00721 .53506 .01 .9892 -1.04148 1.05590 GOV|2| -.88733 .71577 -1.24 .2151 -2.29022 .51557 RL_G1|2| 1.28792*** .45320 2.84 .0045 .39967 2.17617 CR_G1|2| 1.82566*** .49813 3.67 .0002 .84934 2.80197 LO_G1|2| -1.10454*** .39979 -2.76 .0057 -1.88811 -.32097 GFEMAL|2| -.26627 .36830 -.72 .4697 -.98812 .45557 GA3549|2| -1.05627** .53076 -1.99 .0466 -2.09653 -.01601 GAMT50|2| -.84044 .51774 -1.62 .1045 -1.85519 .17430 HISGOV|2| .36972 .33570 1.10 .2707 -.28824 1.02769 NON|2| 1.18387** .48948 2.42 .0156 .22451 2.14324 RL_N1|2| -.14201 .20773 -.68 .4942 -.54916 .26514 CR_N1|2| -.27945 .23804 -1.17 .2404 -.74601 .18710 LO_N1|2| -.24170 .25171 -.96 .3369 -.73505 .25165 LO_N2|2| -.38703 .24601 -1.57 .1157 -.86919 .09514 NFEMAL|2| -.35760 .26831 -1.33 .1826 -.88348 .16827 NA3549|2| -.22911 .38392 -.60 .5507 -.98157 .52336 NAMT50|2| -.74281* .41928 -1.77 .0765 -1.56458 .07896 HISNON|2| .39006** .19277 2.02 .0430 .01224 .76787 |Estimated latent class probabilities................................ PrbCls1| .42517*** .04852 8.76 .0000 .33007 .52028 PrbCls2| .57483*** .04852 11.85 .0000 .47972 .66993 --------+-------------------------------------------------------------------- nnnnn.D-xx or D+xx => multiply by 10 to -xx or +xx. ***, **, * ==> Significance at 1%, 5%, 10% level. Model was estimated on Jun 30, 2020 at 09:49:57 AM ----------------------------------------------------------------------------- From isha.chaudhry at duke-nus.edu.sg Tue Jun 30 19:10:51 2020 From: isha.chaudhry at duke-nus.edu.sg (Chaudhry Isha) Date: Tue, 30 Jun 2020 09:10:51 +0000 Subject: [Limdep Nlogit List] Latent class trajectory analysis Message-ID: Dear Support group representative, I hope this email finds you well. I am Isha, Research Associate, working at Duke-NUS Medical School, Singapore. I am currently using NLOGIT version 6 to perform latent class analysis on an ordered dependent variable for a longitudinal study using panel data. I was wondering if LIMDEP/NLOGIT allows to perform "latent class growth trajectory analysis" such that I am able to plot different trajectories for individuals. I am afraid I was unable to find it in the documentation guidebook. I will really appreciate if you could share your insights on the topic. Many thanks. Kind regards, Isha Isha Chaudhry | Research Associate | Lien Centre for Palliative Care | Duke-NUS Medical School | 8 College Road, Level 4 | Singapore 169857 | Email: isha.chaudhry at duke-nus.edu.sg | Web: https://protect-au.mimecast.com/s/yYvLCoV1kpfZmG4Bt19g8K?domain=duke-nus.edu.sg ________________________________ Important: This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately; you should not copy or use it for any purpose, nor disclose its contents to any other person. Thank you. From wgreene at stern.nyu.edu Tue Jun 30 23:48:37 2020 From: wgreene at stern.nyu.edu (William Greene) Date: Tue, 30 Jun 2020 09:48:37 -0400 Subject: [Limdep Nlogit List] Latent class model converged after a huge number of iterations In-Reply-To: References: Message-ID: numbers like that suggest that the model is not identified. The interaction of the variables is the usual culprit. In a nonlinear model, with latent classes, it will be more complicated than multicollinearity that you can see directly. I would suggest you fit a much smaller model and build up the model you want slowly. The misbehavior of the specification will show up at some point along the way. /B. Greene On Mon, Jun 29, 2020 at 8:32 PM Thao Thai via Limdep < limdep at mailman.sydney.edu.au> wrote: > Hi Nlogit users, > > I am running a latent class model with 2 classes. The model converged after > 177 iterations but some coefficients are huge with p-values close to 1 > (e.g. camt50, pamt50,etc.). > Could you please kindly let me know why the model reports such strange > results even thought the model converged? > > My 2 class LC results are below. Any suggestions would be greatly > appreciated. > Thank you so much. > Thao > > ----------------------------------------------------------------------------- > Discrete choice (multinomial logit) model > Dependent variable Choice > Log likelihood function -3027.91231 > Estimation based on N = 1881, K = 51 > Inf.Cr.AIC = 6157.8 AIC/N = 3.274 > --------------------------------------- > Log likelihood R-sqrd R2Adj > ASCs only model must be fit separately > Use NLOGIT ;...;RHS=ONE$ > Note: R-sqrd = 1 - logL/Logl(constants) > --------------------------------------- > Chi-squared[46] = 634.49410 > Prob [ chi squared > value ] = .00000 > Response data are given as ind. choices > Number of obs.= 2434, skipped 553 obs > > --------+-------------------------------------------------------------------- > | Standard Prob. 95% Confidence > CHO| Coefficient Error z |z|>Z* Interval > > --------+-------------------------------------------------------------------- > RL_H1|1| .07880 .18947 .42 .6775 -.29256 .45015 > RL_H2|1| .32233** .15780 2.04 .0411 .01304 .63161 > FL_|1| .15026** .06411 2.34 .0191 .02461 .27591 > CR_H1|1| .30369** .15393 1.97 .0485 .00198 .60539 > CR_2|1| .07018 .10914 .64 .5203 -.14374 .28409 > LO_H1|1| -.48240*** .14152 -3.41 .0007 -.75978 -.20502 > SA_|1| .01294*** .00098 13.18 .0000 .01102 .01487 > HISHOS|1| .53228*** .13065 4.07 .0000 .27621 .78834 > COM|1| -.06172 .39015 -.16 .8743 -.82640 .70296 > RL_C1|1| .33323* .19321 1.72 .0846 -.04546 .71193 > RL_C2|1| .19311 .17713 1.09 .2756 -.15406 .54029 > CR_C1|1| .14782 .15909 .93 .3528 -.16399 .45963 > LO_C1|1| -.33950** .15086 -2.25 .0244 -.63519 -.04382 > LO_C2|1| -.79541*** .17740 -4.48 .0000 -1.14311 -.44771 > CFEMAL|1| -.50458*** .17382 -2.90 .0037 -.84525 -.16391 > CA3549|1| .21543 .19597 1.10 .2716 -.16867 .59953 > CAMT50|1| 1.05281*** .20358 5.17 .0000 .65380 1.45183 > HISCOM|1| .35769 .30701 1.17 .2440 -.24403 .95941 > PRI|1| .72894*** .23093 3.16 .0016 .27633 1.18155 > RL_P1|1| .01445 .14051 .10 .9181 -.26095 .28984 > CR_P1|1| .28539* .14898 1.92 .0554 -.00660 .57739 > LO_P1|1| -1.03715*** .16408 -6.32 .0000 -1.35875 -.71556 > LO_P2|1| -.86538*** .15753 -5.49 .0000 -1.17412 -.55663 > PFEMAL|1| -.01737 .17614 -.10 .9215 -.36260 .32787 > PA3549|1| -.12983 .16126 -.81 .4207 -.44590 .18623 > PAMT50|1| .21489 .18085 1.19 .2347 -.13956 .56934 > HISPRI|1| .37596** .16405 2.29 .0219 .05443 .69750 > IND|1| -.44619* .23633 -1.89 .0590 -.90938 .01700 > RL_I1|1| .50658*** .16963 2.99 .0028 .17411 .83906 > RL_I2|1| .85985*** .17568 4.89 .0000 .51552 1.20417 > CR_I1|1| .51109*** .13898 3.68 .0002 .23871 .78348 > LO_I1|1| -.55538*** .14041 -3.96 .0001 -.83058 -.28018 > IFEMAL|1| -.61910*** .17288 -3.58 .0003 -.95794 -.28026 > HISIND|1| .96531*** .17646 5.47 .0000 .61945 1.31116 > GOV|1| .38918* .23520 1.65 .0980 -.07181 .85017 > RL_G1|1| -.35640** .14665 -2.43 .0151 -.64382 -.06897 > CR_G1|1| .43164*** .13869 3.11 .0019 .15981 .70347 > LO_G1|1| -.57675*** .14093 -4.09 .0000 -.85297 -.30052 > GFEMAL|1| -.33687* .17868 -1.89 .0594 -.68707 .01332 > GA3549|1| -.03689 .19169 -.19 .8474 -.41259 .33882 > GAMT50|1| .20023 .21447 .93 .3505 -.22012 .62057 > HISGOV|1| .60211*** .14132 4.26 .0000 .32513 .87908 > NON|1| .12186 .24794 .49 .6231 -.36408 .60781 > RL_N1|1| -.00469 .15976 -.03 .9766 -.31781 .30844 > CR_N1|1| .36382** .16054 2.27 .0234 .04917 .67846 > LO_N1|1| -.68641*** .18403 -3.73 .0002 -1.04710 -.32572 > LO_N2|1| -.44462** .18561 -2.40 .0166 -.80840 -.08083 > NFEMAL|1| -.32362* .19138 -1.69 .0908 -.69871 .05147 > NA3549|1| -.03864 .20620 -.19 .8513 -.44278 .36549 > NAMT50|1| .21775 .22891 .95 .3415 -.23091 .66641 > HISNON|1| .39563** .15520 2.55 .0108 .09145 .69982 > > --------+-------------------------------------------------------------------- > ***, **, * ==> Significance at 1%, 5%, 10% level. > Model was estimated on Jun 30, 2020 at 09:47:50 AM > > ----------------------------------------------------------------------------- > > Iterative procedure has converged > Normal exit: 177 iterations. Status=0, F= .2966264D+04 > > > ----------------------------------------------------------------------------- > Latent Class Logit Model > Dependent variable CHO > Log likelihood function -2966.26364 > Restricted log likelihood -3370.29956 > Chi squared [103](P= .000) 808.07183 > Significance level .00000 > McFadden Pseudo R-squared .1198813 > Estimation based on N = 1881, K = 103 > Inf.Cr.AIC = 6138.5 AIC/N = 3.263 > --------------------------------------- > Log likelihood R-sqrd R2Adj > No coefficients -3370.2996 .1199 .1101 > Constants only can be computed directly > Use NLOGIT ;...;RHS=ONE$ > At start values -3027.9417 .0204 .0095 > Note: R-sqrd = 1 - logL/Logl(constants) > --------------------------------------- > Response data are given as ind. choices > Number of latent classes = 2 > Average Class Probabilities > .259 .476 > BHHH estimator used for asymp. variance > Number of obs.= 2434, skipped 553 obs > > --------+-------------------------------------------------------------------- > | Standard Prob. 95% Confidence > CHO| Coefficient Error z |z|>Z* Interval > > --------+-------------------------------------------------------------------- > |Random utility parameters in latent class -->> > 1................... > RL_H1|1| .57314 .66678 .86 .3900 -.73373 1.88001 > RL_H2|1| -.02754 .52799 -.05 .9584 -1.06238 1.00730 > FL_|1| .13144 .22894 .57 .5659 -.31728 .58015 > CR_H1|1| .73319 .62068 1.18 .2375 -.48332 1.94971 > CR_2|1| -.10967 .42208 -.26 .7950 -.93693 .71760 > LO_H1|1| -.85008 .52985 -1.60 .1086 -1.88857 .18841 > SA_|1| .03102*** .00520 5.96 .0000 .02082 .04121 > HISHOS|1| .29351 .38551 .76 .4464 -.46208 1.04910 > COM|1| -2.02608 1.27137 -1.59 .1110 -4.51792 .46576 > RL_C1|1| .54311 .67716 .80 .4225 -.78411 1.87032 > RL_C2|1| -1.54466** .70163 -2.20 .0277 -2.91982 -.16950 > CR_C1|1| .35293 .57112 .62 .5366 -.76643 1.47230 > LO_C1|1| .19103 .57447 .33 .7395 -.93492 1.31698 > LO_C2|1| .25908 .59437 .44 .6629 -.90587 1.42403 > CFEMAL|1| -2.28025*** .71548 -3.19 .0014 -3.68256 -.87795 > CA3549|1| 1.78554** .89174 2.00 .0453 .03777 3.53331 > CAMT50|1| 46.5436 .8389D+07 .00 1.0000 *********** > *********** > HISCOM|1| 1.15176 .81065 1.42 .1554 -.43709 2.74061 > PRI|1| -.01710 .80730 -.02 .9831 -1.59937 1.56517 > RL_P1|1| .35581 .53673 .66 .5074 -.69617 1.40778 > CR_P1|1| .65787 .55078 1.19 .2323 -.42164 1.73738 > LO_P1|1| -2.65965*** .74254 -3.58 .0003 -4.11501 -1.20429 > LO_P2|1| -1.88272*** .61240 -3.07 .0021 -3.08299 -.68244 > PFEMAL|1| -.13393 .61030 -.22 .8263 -1.33010 1.06225 > PA3549|1| .33681 .56773 .59 .5530 -.77591 1.44953 > PAMT50|1| 43.1245 .8389D+07 .00 1.0000 *********** > *********** > HISPRI|1| 3.58758*** .79474 4.51 .0000 2.02992 5.14524 > IND|1| -3.53672*** 1.02049 -3.47 .0005 -5.53685 -1.53659 > RL_I1|1| 2.12753*** .77133 2.76 .0058 .61575 3.63932 > RL_I2|1| 3.87220*** .85688 4.52 .0000 2.19274 5.55165 > CR_I1|1| 2.24454*** .58639 3.83 .0001 1.09524 3.39385 > LO_I1|1| -2.95126*** .66040 -4.47 .0000 -4.24562 -1.65689 > IFEMAL|1| -.90993 .58295 -1.56 .1185 -2.05249 .23264 > HISIND|1| 3.36155*** .78707 4.27 .0000 1.81893 4.90418 > GOV|1| 1.26511** .60911 2.08 .0378 .07128 2.45894 > RL_G1|1| -1.38467** .59707 -2.32 .0204 -2.55490 -.21445 > CR_G1|1| -.97856** .47617 -2.06 .0399 -1.91184 -.04529 > LO_G1|1| -1.07453*** .36775 -2.92 .0035 -1.79531 -.35375 > GFEMAL|1| -.75502 .48325 -1.56 .1182 -1.70217 .19213 > GA3549|1| .91479* .48883 1.87 .0613 -.04330 1.87289 > GAMT50|1| 43.4431 .8389D+07 .00 1.0000 *********** > *********** > HISGOV|1| 1.17754*** .32933 3.58 .0003 .53206 1.82302 > NON|1| -5.93625** 2.79782 -2.12 .0339 -11.41988 -.45262 > RL_N1|1| -2.62001** 1.17294 -2.23 .0255 -4.91892 -.32110 > CR_N1|1| 7.17512*** 2.53297 2.83 .0046 2.21059 12.13964 > LO_N1|1| -42.4504 .2109D+18 .00 1.0000 *********** > *********** > LO_N2|1| -4.40510*** 1.67966 -2.62 .0087 -7.69717 -1.11304 > NFEMAL|1| 1.94069 1.32904 1.46 .1442 -.66418 4.54555 > NA3549|1| -28.9062 .4917D+12 .00 1.0000 *********** > *********** > NAMT50|1| 44.0873 .8389D+07 .00 1.0000 *********** > *********** > HISNON|1| -.23243 .92295 -.25 .8012 -2.04139 1.57653 > |Random utility parameters in latent class -->> > 2................... > RL_H1|2| -.03141 .33713 -.09 .9258 -.69217 .62935 > RL_H2|2| .36069 .29105 1.24 .2152 -.20975 .93113 > FL_|2| .15843 .10226 1.55 .1213 -.04200 .35886 > CR_H1|2| .23102 .27718 .83 .4046 -.31225 .77429 > CR_2|2| .12892 .17411 .74 .4590 -.21234 .47018 > LO_H1|2| -.35813 .24251 -1.48 .1397 -.83344 .11719 > SA_|2| .00812*** .00177 4.59 .0000 .00466 .01159 > HISHOS|2| .75600*** .24425 3.10 .0020 .27728 1.23472 > COM|2| .19671 .72848 .27 .7871 -1.23108 1.62450 > RL_C1|2| .27931 .33839 .83 .4091 -.38393 .94255 > RL_C2|2| .73297** .30638 2.39 .0167 .13247 1.33346 > CR_C1|2| .22909 .26220 .87 .3823 -.28482 .74300 > LO_C1|2| -.57897** .26006 -2.23 .0260 -1.08868 -.06925 > LO_C2|2| -1.19701*** .30833 -3.88 .0001 -1.80132 -.59270 > CFEMAL|2| .19462 .33875 .57 .5656 -.46932 .85855 > CA3549|2| -.34064 .41576 -.82 .4126 -1.15552 .47424 > CAMT50|2| -.45795 .49982 -.92 .3595 -1.43757 .52167 > HISCOM|2| .43151 .48333 .89 .3720 -.51580 1.37882 > PRI|2| 1.06274** .52110 2.04 .0414 .04141 2.08408 > RL_P1|2| -.10678 .23742 -.45 .6529 -.57211 .35856 > CR_P1|2| .01438 .29670 .05 .9613 -.56714 .59590 > LO_P1|2| -.39739 .28311 -1.40 .1604 -.95227 .15748 > LO_P2|2| -.40739 .29272 -1.39 .1640 -.98111 .16634 > PFEMAL|2| .07543 .29394 .26 .7975 -.50068 .65155 > PA3549|2| -.42642 .39242 -1.09 .2772 -1.19554 .34270 > PAMT50|2| -.37411 .39076 -.96 .3384 -1.13998 .39177 > HISPRI|2| -42.2734 .5483D+18 .00 1.0000 *********** > *********** > IND|2| .83708 .52394 1.60 .1101 -.18982 1.86398 > RL_I1|2| .05190 .28791 .18 .8570 -.51239 .61619 > RL_I2|2| -.62410 .46110 -1.35 .1759 -1.52784 .27963 > CR_I1|2| -.47968 .36629 -1.31 .1903 -1.19760 .23824 > LO_I1|2| .54665 .35751 1.53 .1263 -.15407 1.24736 > IFEMAL|2| -.67148** .30608 -2.19 .0282 -1.27139 -.07158 > HISIND|2| .00721 .53506 .01 .9892 -1.04148 1.05590 > GOV|2| -.88733 .71577 -1.24 .2151 -2.29022 .51557 > RL_G1|2| 1.28792*** .45320 2.84 .0045 .39967 2.17617 > CR_G1|2| 1.82566*** .49813 3.67 .0002 .84934 2.80197 > LO_G1|2| -1.10454*** .39979 -2.76 .0057 -1.88811 -.32097 > GFEMAL|2| -.26627 .36830 -.72 .4697 -.98812 .45557 > GA3549|2| -1.05627** .53076 -1.99 .0466 -2.09653 -.01601 > GAMT50|2| -.84044 .51774 -1.62 .1045 -1.85519 .17430 > HISGOV|2| .36972 .33570 1.10 .2707 -.28824 1.02769 > NON|2| 1.18387** .48948 2.42 .0156 .22451 2.14324 > RL_N1|2| -.14201 .20773 -.68 .4942 -.54916 .26514 > CR_N1|2| -.27945 .23804 -1.17 .2404 -.74601 .18710 > LO_N1|2| -.24170 .25171 -.96 .3369 -.73505 .25165 > LO_N2|2| -.38703 .24601 -1.57 .1157 -.86919 .09514 > NFEMAL|2| -.35760 .26831 -1.33 .1826 -.88348 .16827 > NA3549|2| -.22911 .38392 -.60 .5507 -.98157 .52336 > NAMT50|2| -.74281* .41928 -1.77 .0765 -1.56458 .07896 > HISNON|2| .39006** .19277 2.02 .0430 .01224 .76787 > |Estimated latent class > probabilities................................ > PrbCls1| .42517*** .04852 8.76 .0000 .33007 .52028 > PrbCls2| .57483*** .04852 11.85 .0000 .47972 .66993 > > --------+-------------------------------------------------------------------- > nnnnn.D-xx or D+xx => multiply by 10 to -xx or +xx. > ***, **, * ==> Significance at 1%, 5%, 10% level. > Model was estimated on Jun 30, 2020 at 09:49:57 AM > > ----------------------------------------------------------------------------- > _______________________________________________ > Limdep site list > Limdep at mailman.sydney.edu.au > http://limdep.itls.usyd.edu.au > > -- William Greene Department of Economics, emeritus Stern School of Business, New York University 44 West 4 St. New York, NY, 10012 URL: https://protect-au.mimecast.com/s/5dRXCJyBrGf59nowFVej-d?domain=people.stern.nyu.edu Email: wgreene at stern.nyu.edu Ph. +1.646.596.3296 Editor in Chief: Journal of Productivity Analysis Editor in Chief: Foundations and Trends in Econometrics Associate Editor: Economics Letters Associate Editor: Journal of Business and Economic Statistics