[Limdep Nlogit List] problema latent class model

Elias José Gordillo Chávez elias.gordillo at yahoo.com.mx
Mon Sep 5 14:09:58 AEST 2022


Dear Willian Greene 
Thank you very much; I can run the model with my full dataset (876 individuals and three options). But I have a problem I can only run the model with two classes; if I try to use 3 or 4, I get an error message: Error 1027: Models - variance matrix of estimates is singular. 

My question is, is it possible that my data is inappropriate for the model, or am I specifying the model wrong? 

I used the following syntax for the random latent class:

LCRPLOGIT
;LHS=CHOICE
;CHOICES= A,B,C
;RH2=ONE
;RHS=LAND75,LAND25,LAND10,INTENS,SILVO,EXTENS,WP,JAG0,JAG2,JAG9
;RPL
;DRAWS=50
;FCN= LAND75(t),LAND25(t),LAND10(t),INTENS(t),SILVO(t),EXTENS(t),WP(t),JAG0(t),JAG2(t),JAG9(t)
;HALTON
;PDS=6
;PTS=2 
;maxit=100; tlg=.0001
;lcm
U(A)= LAND75*LAND75 + LAND25*LAND25 + LAND10*LAND10 +INTENS*INSTENS + SILVO*SILVO + EXTENS*EXTENS +WP*WP +JAG0*JAG0 +JAG2*JAG2+JAG9*JAG9/
U(B)= LAND75*LAND75 + LAND25*LAND25 + LAND10*LAND10 +INTENS*INSTENS + SILVO*SILVO + EXTENS*EXTENS +WP*WP +JAG0*JAG0 +JAG2*JAG2+JAG9*JAG9/
U(C)= LAND75*LAND75 + LAND25*LAND25 + LAND10*LAND10 +INTENS*INSTENS + SILVO*SILVO + EXTENS*EXTENS +WP*WP +JAG0*JAG0 +JAG2*JAG2+JAG9*JAG9$


Thank you
Regards 
Elias Gordillo 
Enviado desde Correo para Windows

De: William Greene
Enviado: domingo, 4 de septiembre de 2022 04:36 a. m.
Para: Elias José Gordillo Chávez; Limdep and Nlogit Mailing List
Asunto: Re: [Limdep Nlogit List] problema latent class model

Dear Elias Jose' Gordillo Cha'vez:
The student version of nlogit6 allows 1500 individuals with 4 choices, or 6,000 lines of data.
It should be able to handle your data set.  You can read in all 6,000 lines of data (2,628 in 
your case).  For the nlogit program, you have only 876 individuals and 3 choices.  When you
are fitting the model, if you are specifying a choice experiment, you will have 146 individuals
and ;PDS=6.
I'm sorry I can't advise about the model. If nothing is "significant," the model may be
misspecified or inappropriate for the data.
Sincerely,
B. Greene

On Sat, Sep 3, 2022 at 10:57 PM Elias José Gordillo Chávez via Limdep <limdep at mailman.sydney.edu.au> wrote:
Hello everyone, I have a question

I´m trying to do a random latent class model in Nlogit 4, but I would like to make a model with restrictions to define the probabilistic decisión rules for each class. I know that Nlogit 4 doesn´t work with this kind of model, So I try to do this model with a student license, but this license work with 1500 register, and my complete data set have 2628 register.


I ran a test of a random latent class model with 1500 register in Nlogit 6 with my student license, and I have some problems; in all cases, the coefficient is not significant and only works with three classes. Now, I am unsure if buy the license Nlogit 6 single user is suiotable, I have doubt. Whether I can do the analysis correctly with my complete data set. Is there any way to know if, with my 2628 register, I can do this analysis and run a random latent class with restrictions of decision rules like attribute attendance?   But the Price of licese is high to my I want to be sure that I can do the analysis than I need for my thesis.  

I work with 146 people, and everyone answers six choice situations. Every choice situation had three alternatives with four attributes.

_______________________________________________
Limdep site list
Limdep at mailman.sydney.edu.au
https://protect-au.mimecast.com/s/YCPuCYW8Noc3zm5oNh0xPDY?domain=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/a__9CZY1NqiM3AznDTjVB9R?domain=people.stern.nyu.edu
Email: wgreene at stern.nyu.edu
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



More information about the Limdep mailing list