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

David Hensher david.hensher at sydney.edu.au
Wed Jul 8 10:36:58 AEST 2020


To make betas equal give them the same names

David
On 8/07/2020 10:34 AM, John C. Whitehead via Limdep wrote:
> ;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
>>
>>
>>      
> _______________________________________________
> Limdep site list
> Limdep at mailman.sydney.edu.au
> http://limdep.itls.usyd.edu.au
>
>    


-- 
DAVID HENSHER FASSA, PhD| Professor and Founding Director
Institute of Transport and Logistics Studies | The University of Sydney Business School

THE UNIVERSITY OF SYDNEY
Rm 201, Building H73| The University of Sydney | NSW | 2006
Street Address: 378 Abercrombie St, Darlington NSW 2008
T +61 2 9114 1871 | F +61 2 9114 1863 | M +61 418 433 057
E David.Hensher at sydney.edu.au | W sydney.edu.au/business/itls |W http://sydney.edu.au/business/itls/staff/davidh

Celebrating 30 years of ITLS: 1991-2020 https://protect-au.mimecast.com/s/agrmCNLJyQUloMzJIm66Ac?domain=youtu.be
ERA Rank 5 (Transportation and Freight Services)
Co-Founder of the International Conference Series on Competition and Ownership of Land Passenger Transport (The 'Thredbo' Series)
https://protect-au.mimecast.com/s/b4kNCOMKzVTR32MlHvBdnQ?domain=thredbo-conference-series.org
https://www.linkedin.com/company/28450714
Second edition of Applied Choice Analysis now available at https://protect-au.mimecast.com/s/ebYYCP7LAXfGQ5P9U1C9AY?domain=cambridge.org
Nlogit is the most popular software for choice modellers. See https://protect-au.mimecast.com/s/hEYDCQnMBZfA7NYgtkMmi2?domain=limdep.com
CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments.

Please think of our environment and only print this e-mail if necessary.




More information about the Limdep mailing list