Skip to content

holidays effect

5 messages · Gabor Grothendieck, elisia, Girish A.R. +1 more

#
One possibility if you don't have to have days is to reduce it to a
weekly or monthly
series.

On Wed, Feb 4, 2009 at 8:46 AM, elisia
<elisabetta.fabris at guest.telecomitalia.it> wrote:
#
Unfortunately, my aim is to identify outliers in a time series, and I would
like the holidays, which have in general a higher value and shall not affect
such research.
If I run the detection of outliers on the whole time series,  while
maintaining the real values of the holidays,  I get results just as the
values corresponding to the festivities.
How can I solve this problem, by maintaining the daily data?
Gabor Grothendieck wrote:

  
    
#
Just an extension of the query posed by the OP --- Similar problem
arises in the case when one has to deal with weekly data spanning 2 or
more years, and one of the years happens to have 53 weeks because it
is a leap year (2004, for ex.). In a sci.stats newsgroup where I had
posed this problem for recommendations, one suggestion was to check
out time series calendar adjustment topics. I know some commercial
software have the option of trading day adjustment where the
adjustment is obtained by regression on the days of the week for the
months under consideration. I'm currently exploring R time series
packages. Any thoughts on this would be appreciated.

Thanks!
-Girish
On Feb 4, 7:18?pm, Gabor Grothendieck <ggrothendi... at gmail.com> wrote:
#
Gabor Grothendieck ha scritto:
Alternatively you can put a dummy variable (1=holiday  and zero 
otherwise) in the regression model for your response. For instance, you 
could use the xreg argument of the arima() function.

This allows to avoid aggregation of your data which, in general, is not 
recommended..

best,
vito