Converting daily data, week averages etc.
Posted: Sat Jun 22, 2013 7:30 am
Hi, normally I can solve my problems with answers from other topics, this time my problem is a bit too specific. I will try to be clear as possible.
I quote from "Good day Sunshine: Stock returns and the Weather":
'We calculate the average cloudiness value for each week of the year in each city,
and deseasonalize by subtracting each week’s mean cloudiness from each daily
mean. For example, we calculate the average value of SKCi,t for the first full
calendar week of the year for a particular city, taking an average of 80 values
(16 years times five days in the week). Then we subtract this mean from the city’s
daily SKCi,t values in the first week of each year. We denote the deseasonalized
value of SKC for city i on day t as SKC*it.The mean of SKC*it is close to zero, and it it
its global standard deviation is 2.19.'
I want to do the same for my variable. My dataset (sunshine hours) contains daily data from 1/03/1983 - 14/05/2013, weekdays. But I'm not sure how to do this...
My school runs Eviews 7. Hope someone can help, thanks for your attention!
I quote from "Good day Sunshine: Stock returns and the Weather":
'We calculate the average cloudiness value for each week of the year in each city,
and deseasonalize by subtracting each week’s mean cloudiness from each daily
mean. For example, we calculate the average value of SKCi,t for the first full
calendar week of the year for a particular city, taking an average of 80 values
(16 years times five days in the week). Then we subtract this mean from the city’s
daily SKCi,t values in the first week of each year. We denote the deseasonalized
value of SKC for city i on day t as SKC*it.The mean of SKC*it is close to zero, and it it
its global standard deviation is 2.19.'
I want to do the same for my variable. My dataset (sunshine hours) contains daily data from 1/03/1983 - 14/05/2013, weekdays. But I'm not sure how to do this...
My school runs Eviews 7. Hope someone can help, thanks for your attention!