Selecting observation in particular quarter

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Selecting observation in particular quarter

Postby terrya » Sun Nov 05, 2017 10:46 pm

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.)

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

Re: Selecting observation in particular quarter

Postby startz » Mon Nov 06, 2017 6:47 am

Something like
smpl if @quarter=1

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Re: Selecting observation in particular quarter

Postby terrya » Mon Nov 06, 2017 12:26 pm

Thanks. that works.

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Re: Selecting observation in particular quarter

Postby terrya » Mon Nov 06, 2017 12:27 pm

I should have said that I'd tried this but didn't do the smpl bit.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 12 guests