[Limdep Nlogit List] Restrict variable coefficients within classes for latent class logit + avoid class "switching"

Ian Yue ian.t.yue at gmail.com
Fri Feb 12 11:45:52 AEDT 2016

Hi all,

I have a follow-up question to the Limdep inquiry and answer posted here:

I, too, am trying to fit a latent class model with 2 classes and restrict
at least one coefficient in a specific class to zero.  Bill's explanation
-- and the section in the reference guide describing the ;Rst command --
was very helpful.  However, I am facing the problem of the classes
"switching" when I try to restrict one of the variable coefficients to

For instance, let's say I run a latent class logit, and based on the
output, I decide to restrict the coefficient on variable "A" for "Class 1"
to zero.  I enter the appropriate ;Rst code, but when I run the latent
class logit again, what was variable "A" for "Class 1" in the initial
latent class logit run is now variable "A" for "Class 2" in the second
latent class logit run.  In turn, a different variable than what I had
intended is restricted to zero.

So, my ultimate question is this:  Is there a way to restrict a variable's
coefficient in a specific class to zero *and* avoid any class "switching"?

Thank you for your help!

More information about the Limdep mailing list