distinguish odd /even numbers
Posted: Mon Nov 22, 2010 10:17 am
Using EViews 7, I would like to use different commands according to whether the sample size is odd or even;
is there a specific command that looks to this issue or you have already a nice solution ;o)
sample 2000q1 2010q1+!step
!length=@obssmpl
if !length=EVEN then ...
else (if ODD) ..
endif
is there a specific command that looks to this issue or you have already a nice solution ;o)
sample 2000q1 2010q1+!step
!length=@obssmpl
if !length=EVEN then ...
else (if ODD) ..
endif