Академический Документы
Профессиональный Документы
Культура Документы
Time-series Forecasting
PowerPoint to accompany:
Learning Objectives
After studying this Chapter you should have a better understanding of:
The importance of business forecasting. The components of a time series. How and when to use moving averages. How to use linear trend, quadratic trend and exponential trend time-series models. How to choose the most appropriate time-series forecasting model. How to develop a forecasting model for seasonal data.
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Importance of Forecasting
Governments forecast unemployment, interest rates and expected revenues from income taxes for policy purposes. Marketing executives forecast demand, sales and consumer preferences for strategic planning. University administrators forecast enrolments to plan for facilities and for faculty recruitment.
Retail stores forecast demand to control inventory levels, hire employees and provide training.
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Qualitative forecasting methods Used when historical data are unavailable Considered highly subjective and judgmental
4
Causal
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
2.0
0.0 197980
198586
199192
Year
199798
200304
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Trend Component
Long-run increase or decrease over time (overall upward or downward movement). Data taken over a long period of time. Trend can be upward or downward. Trend can be linear or non-linear. Sales Sales
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Seasonal Component
Short-term regular wave-like patterns. Observed within 1 year. Often monthly or quarterly. Sales Winter Summer Winter Spring Spring Autumn Summer
Autumn
Time (Quarterly)
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Cyclical Component
Long-term wave-like patterns. Usually occur every 2-10 years. Often measured peak to peak or trough to trough.
1 Cycle Sales
Year
9
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Irregular Component
Unpredictable, random, residual fluctuations. Due to random variations of:
10
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Yi Ti Ci I i
Where Ti = value of trend component Ci = value of cyclical component Ii = value of irregular (random) component
11
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Yi Ti Si Ci Ii
Where Ti = value of trend component Si = value of seasonal component Ci = value of cyclical component Ii = value of irregular (random) component
12
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Moving Averages
Example: Five-year moving average (L=5) First average:
Y1 Y2 Y3 Y4 Y5 MA(5) 5
Second average:
Y2 Y3 Y4 Y5 Y6 MA(5) 5
14
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Sales 23 40 25 27 32 48 33 37 37 50 40 etc.
Annual Sales
60 50 40
Sales
30 20 10 0 1 2 3 4 5 6 Year 7 8 9 10 11
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Average Year
3 4
5
6 7 8
33.0
35.4 37.4 41.0
7
8 9 10 11
33
37 37 50 40
39.4
16
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
60 50 40
Sales
30 20 10 0 1 2 3 4 5 6 Year
Annual 5-Year Moving Average
10
11
The 5-year moving average smoothes the data and shows the underlying trend.
17
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Least-squares Trend-fitting
Estimate a trend line using regression analysis. Time Period (X) 0 1 2 3 4 5 Use time (X) as the independent variable.
Sales (Y)
20 40 30 50 70 65
b b X Y 0 1 i 21.905 9.5714 X i Y
Sales trend
80 70 60 50 40 30 20 10 0 0 1 2 3 4 5 6
sales
Year
18
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Yi 0 1X i 2 X i
2 i
Compare adj. r2 and standard error to that of linear model to see if this is an improvement. Can try other functional forms to get best fit.
19
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Yi
Xi 0 1
Transform to linear form using base-10 logs (alternatively use base e).
20
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
) b b X log(Y i 0 1 i
Interpretation:
1) 100 % ( 1
21
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Model Selection
Use a linear trend model if the first differences are approximately constant.
(Y2 Y1 ) ( Y3 Y2 ) ( Yn Yn-1 )
Use a quadratic trend model if the second differences are approximately constant.
Model Selection
Use an exponential trend model if the percentage differences are approximately constant.
23
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
principle of parsimony.
24
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Residual Analysis
e
e 0
Random errors
T
Cyclical effects not accounted for
e 0
T
Trend not accounted for
25
T
Seasonal effects not accounted for
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Measuring Errors
Choose the model that gives the smallest measuring errors.
)2 SSE (Yi Y i
i 1
MAD
Y Y
i 1 i
Sensitive to outliers
26
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Least-squares linear Least-squares quadratic 1st order autoregressive. 2nd and pth order autoregressive Least-squares exponential
Holt-Winters.
27
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Yi Ti Si Ci Ii
If the seasonality is quarterly, define three new dummy variables for quarters. Q1 = 1 if first quarter, 0 otherwise
28
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Yi 0 2 3 4 i
Xi 1 Q1 Q2 Q3
(11)x100% is the quarterly compound growth rate in % i provides the multiplier for the ith quarter relative to the 4th quarter (i = 2, 3, 4) Transform to linear form:
) b b X b Q b Q b Q log(Y i 0 1 i 2 1 3 2 4 3
Where
Interpretation:
1) 100 % = estimated quarterly compound growth rate (in %) ( 1
= estimated multiplier for first quarter relative to fourth quarter 2 = estimated multiplier for second quarter relative to fourth quarter 3 = estimated multiplier for third quarter relative to fourth quarter 4
30
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
b1 = .017,
so
31
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
1.040 1
0.827 2
4.0% = estimated quarterly compound growth rate Average sales in Q2 are 82.7% of average 4th quarter sales, adjusting for the 4% quarterly growth rate
0.845 3
1.052 4
32
33
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Source: http://econintersect.com/wordpress/?p=23308
34
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Chapter Summary
Discussed the importance of forecasting. Addressed component factors of the classical multiplicative time-series model: Trend, Seasonal, Cyclical and Irregular. Performed smoothing of data series: Moving averages Described least-square trend fitting and forecasting: Linear, quadratic and exponential models.
35
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e
Chapter Summary
Described procedure for choosing appropriate models: Residual analysis, measuring magnitude of residual error, principle of parsimony. Addressed time-series forecasting of seasonal data (monthly or quarterly data) using dummy variables.
36
Copyright 2013 Pearson Australia (a division of Pearson Australia Group Pty Ltd) 9781442549272/Berenson/Business Statistics /2e