Page 1 of 1

Selecting observation in particular quarter

Posted: Sun Nov 05, 2017 10:46 pm
by terrya
I have quarterly data but I want to select the observation in a particular quarter (e.g. Q1), while dropping the observations in the other quarters in each year. I've been unable to figure out how to do this using Eviews date functions. (I'm using EV10 in case this is relevant.)

Re: Selecting observation in particular quarter

Posted: Mon Nov 06, 2017 6:47 am
by startz
Something like
smpl if @quarter=1

Re: Selecting observation in particular quarter

Posted: Mon Nov 06, 2017 12:26 pm
by terrya
Thanks. that works.

Re: Selecting observation in particular quarter

Posted: Mon Nov 06, 2017 12:27 pm
by terrya
I should have said that I'd tried this but didn't do the smpl bit.