Setting sample size
Posted: Fri Jan 09, 2009 3:32 am
hi,
I am using Eview6 version and i have a sample with 2371 observation. I should create two sub-samples by using the following commands (I do not know in whic version of Eviews those commands were written):
sample s1 %first+1 %last
sample s2 %first+!q %last
So in the window command, I wrote:
sample s1 1+1 2371
...and the sample was created, then I wrote:
sample s2 1+!3 2371
after entering that command I got the following warning from Eviews "Error in Sample: !3 is not defined".
I was wondering what is the probelm and if I can get the same result by writing just 6 rather than !3 (..but i am not confident by using this last solution that is 6 rather than !3). May anyone give me any indication, please?
Thanks
francesco
I am using Eview6 version and i have a sample with 2371 observation. I should create two sub-samples by using the following commands (I do not know in whic version of Eviews those commands were written):
sample s1 %first+1 %last
sample s2 %first+!q %last
So in the window command, I wrote:
sample s1 1+1 2371
...and the sample was created, then I wrote:
sample s2 1+!3 2371
after entering that command I got the following warning from Eviews "Error in Sample: !3 is not defined".
I was wondering what is the probelm and if I can get the same result by writing just 6 rather than !3 (..but i am not confident by using this last solution that is 6 rather than !3). May anyone give me any indication, please?
Thanks
francesco