Page 1 of 1

how to select 2-interval observations

Posted: Mon Aug 22, 2016 6:11 am
by hdn46
for example, there are 10 observations in work file such as:
1. 3
2. 7
3. 8
4. 3
5. 5
6. 1
7. 2
8. 5
9. 3
10. 6

but I want to choose the third, sixth, ninth observations for analysis,
so how to achieve that. in fact, I have more than 1000 observations .

Re: how to select 2-interval observations

Posted: Mon Aug 22, 2016 7:43 am
by EViews Gareth
Isn't 3rd, 6th, 9th 3-interval?


Anyway:

Code: Select all

smpl if @mod(@trend,3)=2

Re: how to select 2-interval observations

Posted: Mon Aug 22, 2016 6:21 pm
by hdn46
Isn't 3rd, 6th, 9th 3-interval?


Anyway:

Code: Select all

smpl if @mod(@trend,3)=2

Thank you very much for your help. because my English is not good, so it caused misunderstanding, but your answer is what I want. Thanks again.