[Limdep Nlogit List] restrictions on coefficients in mixed logit, etc

John C. Whitehead john.c.whitehead at gmail.com
Wed Jul 8 10:34:42 AEST 2020


;Fix = x[0]$ is working for me with all models!

But, I'd still like to constrain some parameters to be equal ...

On Tue, Jul 7, 2020 at 8:30 AM Achilleas' Gmail via Limdep <
limdep at mailman.sydney.edu.au> wrote:

> Hello again,
>
> Coming back to this issue, "; Fix  = name[0] " seems to be working well
> with
> smnlogit.
>
> namelist ; x = gc,ttme,invc,invt,one $
> smnlogit ; Lhs = Mode ; Choices = air,train,bus,car
> ; Rhs = x
> ; Fix  = ttme[0] $
>
> Best,
> Achilleas Vassilopoulos
>
> -----Original Message-----
> From: Achilleas' Gmail <avassilopoulos.aua at gmail.com>
> Sent: Tuesday, July 7, 2020 13:15
> To: 'Limdep and Nlogit Mailing List' <limdep at mailman.sydney.edu.au>
> Subject: RE: [Limdep Nlogit List] restrictions on coefficients in mixed
> logit, etc
>
> Hi, I've noticed the same.
>
> Neither "; CML:"  seems to work with smnlogit.
>
> Best,
> Achilleas Vassilopoulos
>
> -----Original Message-----
> From: Limdep <limdep-bounces at mailman.sydney.edu.au> On Behalf Of John C.
> Whitehead via Limdep
> Sent: Monday, July 6, 2020 17:59
> To: Limdep and Nlogit Mailing List <limdep at limdep.itls.usyd.edu.au>
> Cc: John C. Whitehead <john.c.whitehead at gmail.com>
> Subject: [Limdep Nlogit List] restrictions on coefficients in mixed logit,
> etc
>
> Hi all,
>
> I'm having trouble with restrictions on coefficients in all discrete choice
> models except the latent class logit.
>
> For example, if I estimate the following model:
>
> lclogit;Lhs=Y;Choices=yes,no;Rhs=x,y,z;pds=3;lcm;pts=2;
> rst=b1,b2,b3,0,0,0$
>
> NLogit will constrain the coefficients in the second class to zero.
>
> But, if I estimate the scaled model:
>
> smnlogit;Lhs=Y;Choices=yes,no;Rhs=x,y,z;pds=3;halton;pts=25;
> rst=0,b2,b3$
>
> It produces output as if the restriction was not given (i.e., it estimates
> a
> number for b1).
>
> I've searched the manual and it says restrictions should work in these
> models (unless I've missed something, I haven't read every word).
>
> Any help would be appreciated!
>
> Thanks,
>
> John Whitehead
> _______________________________________________
> Limdep site list
> Limdep at mailman.sydney.edu.au
> http://limdep.itls.usyd.edu.au
>
>
> _______________________________________________
> Limdep site list
> Limdep at mailman.sydney.edu.au
> http://limdep.itls.usyd.edu.au
>
>


More information about the Limdep mailing list