old version CROSS

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.

old version CROSS

Postby ivory4 » Thu Sep 16, 2010 1:12 am

I read some old code using cross() series1 series2 -nstep nstep var3
I did not see declaration of nstep, so is it an old version?
In the manual it says there was ones but did not specify.
nstep=min(T/4,2sq(T))?

Thanks
ivory4
 
Posts: 149
Joined: Mon Aug 24, 2009 12:16 pm

Re: old version CROSS

Postby TomDoan » Thu Sep 16, 2010 7:49 am

ivory4 wrote:I read some old code using cross() series1 series2 -nstep nstep var3
I did not see declaration of nstep, so is it an old version?
In the manual it says there was ones but did not specify.
nstep=min(T/4,2sq(T))?

Thanks


The new way to do that is:

cross(from=-nstep,to=nstep,results=var3) series1 series2
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: old version CROSS

Postby ivory4 » Thu Sep 16, 2010 4:22 pm

nstep is still reserved name here right?
ivory4
 
Posts: 149
Joined: Mon Aug 24, 2009 12:16 pm

Re: old version CROSS

Postby TomDoan » Thu Sep 16, 2010 8:25 pm

No. If you leave off the FROM and TO, you get from -min(2sqrt(N),N/4) to +min(2sqrt(N),N/4)
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm


Return to Help With Programming

Who is online

Users browsing this forum: Google [Bot] and 1 guest