[Limdep Nlogit List] Need help

William Greene wgreene at stern.nyu.edu
Tue Jul 18 08:15:25 AEST 2017


Kal, it can be zero. But, you did not specify it at all.  You must include
all four values.
.B. Greene

On Mon, Jul 17, 2017 at 8:30 AM, Kalyan Chakraborty <kchakraborty at uwf.edu>
wrote:

> Prof. Greene,
>
> Thank you for your response. I was looking at the manual (page E11-86) says
> if I do not have variables for all 4 sets of functions such as no time
> invariant variable then I can set KF1=0... can I set KF2=0 too?
>
> Thank  you again,
> Kal
>
>
>
> *Dr. Kalyan (Kal) Chakraborty*
>
> *Associate Director, Haas Center*
>
> *Business Research and Economic Development*
>
> *University of West Florida*
>
> *220 West Garden St,Suite 303*
>
> *Pensacola, FL 32502*
>
> *(P) 850- 439-5418 (E) kchakraborty at uwf.edu <kchakraborty at uwf.edu>*
> https://secure.uwf.edu/cob/
> http://haas.uwf.edu/Home/Staff#chakraborty
>
>
>
>
> On Mon, Jul 17, 2017 at 5:46 AM, William Greene <wgreene at stern.nyu.edu>
> wrote:
>
> > Dear Kal.
> > That diagnostic looks to me to be erroneous.  I suspect the real error is
> > that you did not
> > provide KF2 in your regress command.
> > /Bill Greene
> >
> > On Mon, Jul 10, 2017 at 12:54 PM, Kalyan Chakraborty <
> kchakraborty at uwf.edu
> > >
> > wrote:
> >
> > > Dear Prof. Green and others,
> > >
> > > I posted a message for help on the error message 2 days ago, I got from
> > > running the Hausman-Taylor estimation (V9 page E11-79). But I am using
> > > NLOGIT5 on a small set of data. The code is reproduced below. I also
> > > expanded the data area using Tools-Project-Memory Allocation-Data Cells
> > to
> > > 5000,000 but is is still giving the error message 608. It ran well but
> > > stopped as soon as it reached the last two lines.
> > >
> > > Any help will be appreciated.
> > >
> > > Kal
> > >
> > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > >
> > > OPEN ; OUTPUT = F:\NEWLIM\SHORT.OUT$
> > >
> > > READ ; FILE = F:\NEWLIM\SHORT.TXT
> > >
> > >        ; NVAR = 11; NOBS = 360
> > >
> > >        ; NAMES =
> > > YEAR,COUNTRY,GROW,GNI,LID,NLID,INFLA,GEXP,OPEN,TENROL,TRADE$
> > >
> > >  DSTAT; RHS = GROW,GNI,LID,NLID,INFLA,GEXP,OPEN,TENROL,TRADE$
> > >
> > >  CREATE; LGNI=LOG(GNI)$
> > >
> > > CREATE; LGROW=GROW[-1]$
> > >
> > > NAMELIST; X1=LGROW,LGNI,GEXP$
> > >
> > > NAMELIST; X2=OPEN,TENROL,TRADE$
> > >
> > > NAMELIST; F1=ONE,NLID,LID$
> > >
> > > NAMELIST; F2=INFLA$
> > >
> > > NAMELIST; X=X1,X2;F=F1,F2; EXOG=X1,F1;ALL=X1,X2,F1,F2$
> > >
> > > CREATE; Y = GROW$
> > >
> > > CALC; KX1=COL(X1); KX2=COL(X2);KF1=COL(F1);KF2=COL(F2)$
> > >
> > > REGRESS; LHS=Y; RHS=X; PDS=12; FIXED;PANEL$
> > >
> > > MATRIX; BW=B$
> > >
> > > CALC; S2E=SSQRD$
> > >
> > > CREATE; DWIT = Y-X'BW$
> > >
> > > REGRESS; LHS=DWIT; RHS=ONE; PDS =12; PANEL; KEEP=DWI$
> > >
> > > 2SLS; LHS=DWI; RHS=F; INST=EXOG$
> > >
> > > CALC; S2S=SSQRD; S2U=S2S-AVG_TI*S2E$
> > >
> > > REGRESS; LHS=Y; RHS=ALL; PANEL; RANDOM; PDS=12;
> > START=KX1,KX2,KF1,S2E,S2U$
> > >
> > >
> > > |-> CALC; S2S=SSQRD; S2U=S2S-AVG_TI*S2E$
> > >
> > > |-> REGRESS; LHS=Y; RHS=ALL; PANEL; RANDOM; PDS=12;
> > > START=KX1,KX2,KF1,S2E,S2U$
> > >
> > > Error    608: No room in data area to create needed group indicator
> > >
> > >
> > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > >
> > > *Dr. Kalyan (Kal) Chakraborty*
> > > _______________________________________________
> > > Limdep site list
> > > Limdep at limdep.itls.usyd.edu.au
> > > http://limdep.itls.usyd.edu.au
> > >
> > >
> >
> >
> > --
> > William Greene
> > Department of Economics
> > Stern School of Business, New York University
> > 44 West 4 St., 7-90
> > New York, NY, 10012
> > URL: http://people.stern.nyu.edu/wgreene
> > Email: wgreene at stern.nyu.edu
> > Ph. +1.212.998.0876
> > Editor in Chief: Journal of Productivity Analysis
> > Editor in Chief: Foundations and Trends in Econometrics
> > Associate Editor: Economics Letters
> > Associate Editor: Journal of Business and Economic Statistics
> > Associate Editor: Journal of Choice Modeling
> > _______________________________________________
> > Limdep site list
> > Limdep at limdep.itls.usyd.edu.au
> > http://limdep.itls.usyd.edu.au
> >
> >
> _______________________________________________
> Limdep site list
> Limdep at limdep.itls.usyd.edu.au
> http://limdep.itls.usyd.edu.au
>
>


-- 
William Greene
Department of Economics
Stern School of Business, New York University
44 West 4 St., 7-90
New York, NY, 10012
URL: http://people.stern.nyu.edu/wgreene
Email: wgreene at stern.nyu.edu
Ph. +1.212.998.0876
Editor in Chief: Journal of Productivity Analysis
Editor in Chief: Foundations and Trends in Econometrics
Associate Editor: Economics Letters
Associate Editor: Journal of Business and Economic Statistics
Associate Editor: Journal of Choice Modeling


More information about the Limdep mailing list