Questions tagged [seasonality]

Seasonality refers to the recurring fluctuation around the mean of a time-series for a given period of time, usually a calendar year.

Seasonality refers to the cyclical and recurring fluctuation around the mean of a time-series for a given period of time, usually a calendar year. It can be deterministic (e.g. Christmas is in December every year) or stochastic (like fuel consumption during the winter which also depends on the harshness of the winter). Seasonal patterns can change markedly as consequence of evolutions in business and society. For instance, the invention of air conditioning lead to a second peak of residential electricity consumption in the U.S. aside from the increased consumption during winter.
Seasonality in regression analysis is usually taken into account by including quarterly or monthly dummies depending on the time-frequency of the data. Also specific recurring events like holidays or Christmas can be considered with dummy variables which again depends on the application at hand.

For an overview of the topic see also

  • Bell, W.R. et al. (2012) "Economic Time Series Modeling and Seasonality", Taylor & Francis Group, LLC, USA
  • Ghysels, E. and Osborn, D.R. (2001) "The Econometric Analysis of Seasonal Time Series", Cambridge University Press, Cambridge, UK
726 questions
75
votes
6 answers

What method can be used to detect seasonality in data?

I want to detect seasonality in data that I receive. There are some methods that I have found like the seasonal subseries plot and the autocorrelation plot but the thing is I don't understand how to read the graph, could anyone help? The other…
Danial
  • 751
  • 1
  • 6
  • 3
26
votes
3 answers

Daily Time Series Analysis

I am trying to do time series analysis and am new to this field. I have daily count of an event from 2006-2009 and I want to fit a time series model to it. Here is the progress that I have made: timeSeriesObj =…
statBeginner
  • 1,251
  • 2
  • 17
  • 22
24
votes
4 answers

Is this an appropriate method to test for seasonal effects in suicide count data?

I have 17 years (1995 to 2011) of death certificate data related to suicide deaths for a state in the U.S. There is a lot of mythology out there about suicides and the months/seasons, much of it contradictory, and of the literature I've reviewed, I…
svannoy
  • 343
  • 2
  • 7
21
votes
2 answers

Auto.arima with daily data: how to capture seasonality/periodicity?

I am fitting an ARIMA model on a daily time series. Data are collected daily from 02-01-2010 to 30-07-2011 and are about newspaper sales. Since a weekly pattern in sales can be found (the daily average amount of copies sold is usually the same from…
Giulia
  • 211
  • 1
  • 2
  • 4
19
votes
2 answers

Choosing seasonal decomposition method

Seasonal adjustment is a crucial step preprocessing the data for further research. Researcher however has a number of options for trend-cycle-seasonal decomposition. The most common (judging by the number of citations in empirical literature) rival…
Dmitrij Celov
  • 5,987
  • 2
  • 28
  • 41
18
votes
1 answer

Problem defining ARIMA order

This is a long post so I hope you can bear with me, and please correct me where I'm wrong. My goal is to produce a daily forecast based on 3 or 4 weeks of historical data. The data is 15 minute data of the local load of one of a transformer lines.…
18
votes
1 answer

Criteria to set STL s.window width

Using R to perform STL decomposition, s.window con­trols how rapidly the sea­sonal com­po­nent can change. Small val­ues allow more rapid change. Set­ting the sea­sonal win­dow to be infi­nite is equiv­a­lent to forc­ing the sea­sonal com­po­nent to…
Lisa Ann
  • 575
  • 2
  • 5
  • 12
18
votes
1 answer

MLE convergence errors with statespace SARIMAX

I am trying to fit a year-long half-hourly dataset into Python statsmodels' SARIMAX. I plotted the correlogram and it indicates AR and MA terms well above 5 each, and periodic terms (daily) of around 2. But even going more than order 2 in the AR or…
Milind R
  • 281
  • 1
  • 2
  • 6
16
votes
4 answers

Does a seasonal time series imply a stationary or a non stationary time series

If I have a time series that has got seasonality, does that automatically make the series non stationary? My intuition (probably off) is that it does not. Seasonality means that the series goes up and down around a constant value....something like…
Victor
  • 5,925
  • 13
  • 43
  • 67
15
votes
1 answer

Multivariate biological time series : VAR and seasonality

I have a multivariate time series dataset including interacting biological and environmental variables (plus possibly some exogenous variables). Beside seasonality, there is no clear long-term trend in the data. My purpose is to see which variables…
ztl
  • 331
  • 3
  • 8
13
votes
2 answers

Forecasting hourly time series with daily, weekly & annual periodicity

Major edit: I would like to say big thanks to Dave & Nick so far for their responses. The good news is that I got the loop to work (principle borrowed from Prof. Hydnman's post on batch forecasting). To consolidate the outstanding queries: a) How do…
13
votes
2 answers

Time series seasonality test

What are the most simple seasonality tests for time series? Being more specific, I want to test if in specific time series the seasonal component is meaningful. What are the recommended packages in Python/ R?
Michael D
  • 583
  • 1
  • 3
  • 23
12
votes
2 answers

Why Time series decomposition is performed

I am new to time series forecasting. In most of the forecasting blogs that I have read so far, the time series is decomposed first. As per my current understanding it is suppose to help us in figuring out whether there is a trend, seasonality etc.…
12
votes
2 answers

Periodic splines to fit periodic data

In a comment to this question, user @whuber cited the possibility of using a periodic version of splines to fit periodic data. I would like to know more about this method, in particular the equations defining the splines, and how to implement them…
DeltaIV
  • 15,894
  • 4
  • 62
  • 104
12
votes
2 answers

Why is stl function giving significant seasonal variation with random data

I plotted with following code with stl (Seasonal Decomposition of Time Series by Loess) function: plot(stl(ts(rnorm(144), frequency=12), s.window="periodic")) It shows signficant seasonal variation with random data put in code above (rnorm…
rnso
  • 8,893
  • 14
  • 50
  • 94
1
2 3
48 49