[Limdep Nlogit List] Write Command

David Hensher hgroup at optusnet.com.au
Thu Feb 25 14:29:27 EST 2010


Megan

Variable names must not exceed 8 letters. I not educatio is 8 but 
maybe it is education and the comma is missing.

Format looks like it should be  ;format=(5(12F60.5)/12f60.5)$
Keep acronyms short and meaningful - makes it easier later when you 
have to write names out in models.

Also 60 cols per variable seems excessive to me?
try
Will have to change names in original data


write;
Tripa,aves,adist,aimp,aenved,acost,locat,prev,rating,age,inc,edu,
Trips,bves,bdist,bimp,benved,bcost,locat,prev,rating,age,inc,edu,
Tripd,cves,cdist,cimp,cenved,ccost,locat,prev,rating,age,inc,edu,
Tripf,dves,ddist,dimp,denved,dcost,locat,prev,rating,age,inc,edu,
Tripg,eves,edist,eimp,eenved,ecost,locat,prev,rating,age,inc,edu
;file=StageTwo
;format=(5(12f12.5))/12f12.5)$


David Hensher
At 02:20 PM 25/02/2010, Megan Kessler wrote:
>Hi,
>
>I'm a new user of Limdep and have encountered the same problem as 
>the one discussed below in January. Unfortunately I'm still not 
>clear on how to resolve the problem and was hoping someone could 
>provide further advice. The command I am trying to run is:
>
>write;
>TripA,avessel,adistanc,aimpact,aenved,acost,location,previous,rating,age,income,educatio
>TripB,bvessel,bdistanc,bimpact,benved,bcost,location,previous,rating,age,income,educatio
>TripC,cvessel,cdistanc,cimpact,cenved,ccost,location,previous,rating,age,income,educatio
>TripD,dvessel,ddistanc,dimpact,denved,dcost,location,previous,rating,age,income,educatio
>TripE,evessel,edistanc,eimpact,eenved,ecost,location,previous,rating,age,income,educatio
>;file=StageTwo
>;format=(12F60.5)$
>
>The response is:
>   Error    71: Variable list contains a name not in the expected table.
>   Error   539: Variable list: The unidentifiable string is TRIPA
>
>Many thanks,
>Megan
>
>Thornburg, Steven sthornburg at wsu.edu
>Wed Jan 20 07:34:07 EST 2010
>Previous message: [Limdep Nlogit List] write command
>Next message: [Limdep Nlogit List] Estimating non-linear equations 
>with endogenous regressors and selection
>Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
>Ok, I reformatted the data in excel
>
>Now the problem seems to be that I cannot use binary explanatory
>variables in my choice model
>Is this true?
>
>Any suggestions for the best model specification for evaluating the
>association of categorical variables
>e.g.
>DV choice frequency/proportion (i-j) = Bx(i-j) + e, where x is
>dichotomous
>
>Steve
>
>
>-----Original Message-----
>From: limdep-bounces at limdep.itls.usyd.edu.au
>[mailto:limdep-bounces at limdep.itls.usyd.edu.au] On Behalf Of William
>Greene
>Sent: Monday, January 18, 2010 11:42 AM
>To: Limdep and Nlogit Mailing List
>Subject: Re: [Limdep Nlogit List] write command
>
>Steven. You are way over the limitation. That is the problem with the
>other command set that you sent me as well. I am thinking about whether
>there is a simple work around. At this point, there seems not to be,
>but I always find that after working on a problem long enough, something
>shows up. Not yet.
>/B. Greene
>
>----- Original Message -----
>From: "Steven Thornburg" <sthornburg at wsu.edu>
>To: limdep at limdep.itls.usyd.edu.au
>Sent: Monday, January 18, 2010 1:59:31 PM GMT -05:00 US/Canada Eastern
>Subject: [Limdep Nlogit List] write command
>
>I am running into an apparent limitation on the number of variables I
>can write to a new file
>
>The following give me the error
>
>
>
>Error    71: Variable list contains a name not in the expected table.
>
>   Error   539: Variable list: The unidentifiable string is HOUSE
>
>
>
>But I don't get the error if I reduce the number of variables
>
>Any suggestions?
>
>
>
>write
>
>
>
>;house,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cycl
>e,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>senate,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cycl
>e,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>jcommtax,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cy
>cle,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>treas,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cycle
>,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>execpres,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cy
>cle,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>ustrader,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cy
>cle,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>tradecom,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cy
>cle,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>dos,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cycle,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>commerce,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cy
>cle,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>sec,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cycle,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>irs,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cycle,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>uscis,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cycle
>,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>labor,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cycle
>,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>hhs,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cycle,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>justice,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cyc
>le,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport,
>
>white,deltou,deltaxlp,eyllp,wcey,kpmgcons,kpmgllp,pwc,pwcllp,aicpa,cycle
>,
>
>tax,acc,ban,fin,imm,trd,ret,cpi,bnk,sci,other,faca,expamt,ally,idreport
>
>
>
>;file=choice1
>
>
>
>;format=(26F10.0)$
>
>
>
>
>
>
>
>-------------------------------------
>
>Steven Thornburg, Ph.D. CPA
>
>Assistant Professor
>
>Todd 237F
>
>Department of Accounting
>
>Washington State University
>
>Pullman, WA 99164
>
>Voice:  (509) 335-2222
>
>Fax:      (509) 335-4275
>
>
>Megan Kessler
>PhD Candidate
>Marine Mammal Research Group
>MACQUARIE UNIVERSITY NSW 2109
>
>Phone: +61 (0)2 9850 7980
>Fax: +61 (0)2 9850 7972
>http://www.gse.mq.edu.au/research/mmrg/
>
>CRICOS Provider No 00002J
>
>This message is intended for the addressee named and may contain 
>confidential information.  If you are not the intended recipient, 
>please delete it and notify the sender.  Views expressed in this 
>message are those of the individual sender, and are not necessarily 
>the views of Macquarie University.
>_______________________________________________
>Limdep site list
>Limdep at limdep.itls.usyd.edu.au
>http://limdep.itls.usyd.edu.au




More information about the Limdep mailing list