[Limdep Nlogit List] Fw: I'm getting error 1084

Harold Mayaba mayabach2009 at yahoo.com
Tue Nov 8 10:25:08 AEDT 2022


 

   ----- Forwarded Message ----- From: Harold Mayaba <mayabach2009 at yahoo.com>To: limdep at mailman.sydney.edu.au <limdep at mailman.sydney.edu.au>Sent: Monday, November 7, 2022 at 07:24:54 PM GMT+13Subject: I'm getting error 1084
  Dear Pro Greene and forum members, 
I have tried to run RPLs using the syntax below, but I'm getting this error:  1084: Expected equation specs. of form U(...) after MODEL: I have tried to follow the Nlogit manual and some similar studies but to no avail. So please, check the syntax and advise what I'm doing wrong.

NLOGIT

Sample + All$
reject;cset=-999$
 ; lhs = choice, cset,altij
  ; choices = Alti1, Alti2,  None

   ;show

  ;descriptives

   ;crosstabs

  ; par

  ;export=matrix

  ;output=2

  ; pds =10

  ; pts=100

  ;maxit=500

  ;describe

  ;parameters

  ; halton

  ;effects: caged (*) +acdoors(*)

  ; wtp=caged/price,acdoors/price  ,nprs/price ,cert1/price,cert2/price

 ,mmort/price,hmort/price

  ; fcn= caged(n)   ,acdoors(n),nprs(n|#000000000000),cert1(n|#000000000000),cert2(n|#000000000000)  ,mmort(n|#000000000000),hmort(n|#000000000000)

 ;model:

   U(alt1) =caged*caged +  acdoors*acdoors + nprs*nprs+  cert1*cert1 + cert2*cert2 +   mmort*mmort+   hmort*hmort +  price*price/

   U(alt2) =caged*caged +  acdoors*acdoors + nprs*nprs+ cert1*cert1 + cert2*cert2 +   mmort*mmort+ hmort*hmort + price*price/
 U(none)= ascNone $
Regards
Harold
   
    


More information about the Limdep mailing list