removing holiday

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

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

erlin
Posts: 12
Joined: Wed Mar 13, 2013 1:44 pm

removing holiday

Postby erlin » Sun Jun 09, 2013 12:43 pm

Hi, i have a daily data for weather variables and i want to delete the data that are on holiday and on saturday and sunday. Also i need to make the average for each week and then substracting each week's mean from each daily data of that week. How can i do that? Thanks. :D :D

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

Re: removing holiday

Postby EViews Gareth » Mon Jun 10, 2013 8:16 am

You can use the pagecontract command to remove data from the workfile page.

Something like:

Code: Select all

series weekavg = @meansby(X,@datefloor(@date, "ww")) series X2 = X - weekavg


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests