Chapter 20 Time Series Analysis And Forecasting Flashcards
Time series
A variable that is measured over time in sequential order
Time series components
- Long term trend
- Cyclical variation
- Seasonal variation
- Random variation
Trend
Aka secular trend
A long-term, relatively smooth pattern or direction exhibited by a series (with a duration of more than one year)
Not necessarily linear
Cyclical variation
A wavelike pattern describing a long-term trend that is generally apparent over a number of years (resulting in a cyclical effect)
Over more than one year
Rarely consistent and predictable
Seasonal variation
Cycles that occur over short, repetitive calendar periods and, by definition, have a duration of less than one year.
May refer to traditional four seasons or to any systemic pattern that occurs during a set period of time
Random variation
Caused by irregular and unpredictable changes in a time series that are not caused by any other components
Tends to mask existence of more predictable components
Exists in all time series so must try to reduce random variation in order to measure other components
Smoothing techniques
Ways to reduce random variation to smooth a time series
- moving averages
- exponential smoothing
Moving averages
The arithmetic mean of the values in a given time period and those periods close to it
Average shown for the value in the middle of the values average (1st moving average for a three period moving average is in period 2, calculated with periods 1,2, and 3)
Generally use an odd number of periods
Longer time period = more smoothing. May show only long term trends or may smooth too much and eliminate too many elements
Moving average in excel
Place data in a single column
Data
Data analysis
Specify input range, periods for moving average, output range
Delete any n/a cells
Centered moving averages
When using an even number of periods for a moving average the average is placed in the middle of the middle two periods
Essentially compute the two period moving average from the two multiperiod calculations on either side of period and divide by 2
Drawbacks to moving average method for smoothing time series data
- do not have data points for first and last sets of time periods (major problem of there are a small number of observations
- moving average “forgets” most of the previous time-series values
Exponentially smoothed time series
St= wyt+(1-w)S(t-1) for t>=2
St= exponentially smoothed time series at time period t
yt= time series at time period t
S(t-1)= exponentially smoothed time series at time period t-1
w= smoothing constant where 0<=w<=1
S1=y1 and then build from there
Smoothed time series in period t depends on all the previous observations in the time series
Smoothing constant
Between 0 and 1
Chosen on the basis of how much smoothing is required
Small constant (w) = a lot of smoothing
Large w = minimal smoothing
Exponential smoothing in excel
Put data into one column
- data
- data analysis
- exponential smoothing
- specify input range, damping factor (1- smoothing factor) and output range
May have to drag down the final cell
Linear long term trend analysis
If believe a long term trend is approximately linear use regression analysis and model
y= B0 + B1t + e