[Limdep Nlogit List] SALC models in NLOGIT?

Behram Wali walibehram at yahoo.com
Mon Dec 28 19:47:39 AEDT 2020


Hi Jason:
Once a model has been estimated, you can run as many scenarios as desired. The model does not need to be re-estimated each time. To do so, first estimate the model so the results are stored and then re-run the same model command but with ;simulation option enabled to run a scenario. You can do repeat this for multiple scenarios. For your example, this would look like:
????? ************ Estimating the model firstNLOGIT; Lhs = choicev, cset, altij; Choices = A,B,C; rpl; fcn=cost1(n), cost2(n), cost3(n),loc1(n), loc2(n), loc3(n), loc4(n),app1(n), app2(n), app3(n), result1(n), result2(n), result3(n), result4(n),deliv1(n), deliv2(n), deliv3(n), deliv4(n), extra(n); pds=15; pts=500; halton; Model:U(A,B)=cost1*cost1+cost2*cost2+cost3*cost3+loc1*loc1+loc2*loc2+loc3*loc3+loc4*loc4+app1*app1+app2*app2+app3*app3+result1*result1+result2*result2+result3*result3+result4*result4+deliv1*deliv1+deliv2*deliv2+deliv3*deliv3+deliv4*deliv4+extra*extra/U(C)=neither$
????? *************** Simulating Scenario 1
NLOGIT; Lhs = choicev, cset, altij; Choices = A,B,C; rpl; fcn=cost1(n), cost2(n), cost3(n),loc1(n), loc2(n), loc3(n), loc4(n),app1(n), app2(n), app3(n), result1(n), result2(n), result3(n), result4(n),deliv1(n), deliv2(n), deliv3(n), deliv4(n), extra(n); pds=15; pts=500; halton; Model:U(A,B)=cost1*cost1+cost2*cost2+cost3*cost3+loc1*loc1+loc2*loc2+loc3*loc3+loc4*loc4+app1*app1+app2*app2+app3*app3+result1*result1+result2*result2+result3*result3+result4*result4+deliv1*deliv1+deliv2*deliv2+deliv3*deliv3+deliv4*deliv4+extra*extra/U(C)=neither;SIMULATION;SCENARIO:cost1(a,b)={*}0/cost2(a,b)={*}1/cost3(a,b)={*}0/loc1(a,b)={*}-1/loc2(a,b)={*}-1/loc3(a,b)={*}-1/loc4(a,b)={*}-1/app1(a,b)={*}1/app2(a,b)={*}0/app3(a,b)={*}0/result1(a,b)={*}0/result2(a,b)={*}1/result3(a,b)={*}0/result4(a,b)={*}0/deliv1(a,b)={*}-1/deliv2(a,b)={*}-1/deliv3(a,b)={*}-1/deliv4(a,b)={*}-1/extra(a,b)={*}-1&cost1(a,b)={*}-1/cost2(a,b)={*}-1/cost3(a,b)={*}-1/loc1(a,b)={*}-1/loc2(a,b)={*}-1/loc3(a,b)={*}-1/loc4(a,b)={*}-1/app1(a,b)={*}1/app2(a,b)={*}0/app3(a,b)={*}0/result1(a,b)={*}0/result2(a,b)={*}1/result3(a,b)={*}0/result4(a,b)={*}0/deliv1(a,b)={*}-1/deliv2(a,b)={*}-1/deliv3(a,b)={*}-1/deliv4(a,b)={*}-1/extra(a,b)={*}-1$
????? *************** Simulating Scenario 2NLOGIT; Lhs = choicev, cset, altij; Choices = A,B,C; rpl; fcn=cost1(n), cost2(n), cost3(n),loc1(n), loc2(n), loc3(n), loc4(n),app1(n), app2(n), app3(n), result1(n), result2(n), result3(n), result4(n),deliv1(n), deliv2(n), deliv3(n), deliv4(n), extra(n); pds=15; pts=500; halton; Model:U(A,B)=cost1*cost1+cost2*cost2+cost3*cost3+loc1*loc1+loc2*loc2+loc3*loc3+loc4*loc4+app1*app1+app2*app2+app3*app3+result1*result1+result2*result2+result3*result3+result4*result4+deliv1*deliv1+deliv2*deliv2+deliv3*deliv3+deliv4*deliv4+extra*extra/U(C)=neither;SIMULATION;SCENARIO:...$







Yours Sincerely,
Behram Wali, PhD | Lead Research Scientist

Urban Design 4 Health, Inc.| https://protect-au.mimecast.com/s/3i3YC71R2NTMpRQnT8UHeB?domain=ud4h.com | 24 Jackie Circle East, Rochester, NY 14612Office: (617) 207-9665 | C: (865) 306-6677 | Fax: (801) 335-1923 | Email: bwali at ud4h.comWebsite | Google ScholarSelf-expression and self-identification are part of my professional and personal values. One way to practice these values is to share personal gender pronouns. I use he, him, his pronouns. 
Special Issue: Physical Environment & Health in the Era of Ambient Sensing & Big Data International Journal of Environmental Research and Public Health - IF: 2.84







 

    On Wednesday, August 26, 2020, 09:50:28 PM EDT, Jason Ong via Limdep <limdep at mailman.sydney.edu.au> wrote:  
 
 hi,

Is there the possibility to run scale-adjusted latent class models in
NLOGIT?
if not, will there be plans to do so?
thank for your help

Best,


*Jason Ong*
Twitter: @DrJasonJOng
PhD, MMed, MBBS, FAChSHM, FRACGP

Sexual Health Physician, Melbourne Sexual Health Centre, Alfred Health
Associate Professor (Hon), London School of Hygiene and Tropical Medicine,
UK
Central Clinical School, Monash University, Australia
Melbourne School of Population and Global Health, University of Melbourne,
Australia
Associate Editor, Sexually Transmitted Infections
Special Issues Editor, Sexual Health
Board Director, ASHM (https://protect-au.mimecast.com/s/qo9LC81V0PT3vkzBT1x89p?domain=ashm.org.au)
https://protect-au.mimecast.com/s/MckPC91WPRTn3OMrU3w5bw?domain=lshtm.ac.uk
https://protect-au.mimecast.com/s/U3PoC0YKPvivoyMYcWU5Ny?domain=researchgate.net
_______________________________________________
Limdep site list
Limdep at mailman.sydney.edu.au
https://protect-au.mimecast.com/s/y2yMCgZ0N1i60Bm4TEQIeB?domain=limdep.itls.usyd.edu.au
  


More information about the Limdep mailing list