Visualizing a time series is an essential step in exploring its behavior. Statisticians think of a time series as a combination of four components: trend, seasonality, level and noise. All real-world series contain a level and noise, but not necessarily a trend and/or seasonality. It is important to determine whether trend and/or seasonality exist in a series in order to choose appropriate models and methods for descriptive or forecasting purposes. Hence, looking at a time plot, typical questions include:
For further details and examples, see my recently published book Practical Time Series Forecasting: A Hands On Guide (available in soft-cover and as an eBook).
- is there a trend? if so, what type of function can approximate it? (linear, exponential, etc.) is the trend fixed throughout the period or does it change over time?
- is there seasonal behavior? if so, is seasonality additive or multiplicative? does seasonal behavior change over time?
- Plot annual data (either annual averages or sums)
- Plot a moving average (an average over a window of 12 months centered around each particular month)
- Plot 12 separate series, one for each month (e.g., one series for January, another for February and so on)
- Fit a model that captures monthly seasonality (e.g., a regression model with 11 monthly dummies) and look at the residual series
For further details and examples, see my recently published book Practical Time Series Forecasting: A Hands On Guide (available in soft-cover and as an eBook).
No comments:
Post a Comment