Time Series Data: First Quarter of Each Year

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

BionicMan
Posts: 3
Joined: Mon May 09, 2011 10:05 am

Time Series Data: First Quarter of Each Year

Postby BionicMan » Mon May 09, 2011 10:41 am

I have quarterly time series data. Want to know how to program Eviews in order to create a workfile that just shows data for the first quarter of each year, with the remaining quarters removed. Example of how I would like the data displayed is shown below;

2005Q1 100
2006Q1 200
2007Q1 150
2008Q1 300
2009Q1 175

Any help on this is appreciated.
Richard

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Time Series Data: First Quarter of Each Year

Postby EViews Gareth » Mon May 09, 2011 10:51 am

Code: Select all

pagecontract if @quarter=1

BionicMan
Posts: 3
Joined: Mon May 09, 2011 10:05 am

Re: Time Series Data: First Quarter of Each Year

Postby BionicMan » Mon May 09, 2011 11:07 am

Thanks for the quick reply. Richard


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests