Page 1 of 1

old version CROSS

Posted: Thu Sep 16, 2010 1:12 am
by ivory4
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

Re: old version CROSS

Posted: Thu Sep 16, 2010 7:49 am
by TomDoan
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

Re: old version CROSS

Posted: Thu Sep 16, 2010 4:22 pm
by ivory4
nstep is still reserved name here right?

Re: old version CROSS

Posted: Thu Sep 16, 2010 8:25 pm
by TomDoan
No. If you leave off the FROM and TO, you get from -min(2sqrt(N),N/4) to +min(2sqrt(N),N/4)