Page 1 of 1

removing holiday

Posted: Sun Jun 09, 2013 12:43 pm
by erlin
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

Re: removing holiday

Posted: Mon Jun 10, 2013 8:16 am
by EViews Gareth
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