1 Forecasting Forecasting Quantitative Approaches to Forecasting Quantitative Approaches to Forecasting The Components of a Time Series The Components of a Time Series Measures of Forecast Accuracy Measures of Forecast Accuracy Using Smoothing Methods in Forecasting Using Smoothing Methods in Forecasting Using Trend Projection in Forecasting Using Trend Projection in Forecasting Using Regression Analysis in Using Regression Analysis in Forecasting Forecasting Qualitative Approaches to Forecasting Qualitative Approaches to Forecasting
Forecasting. Quantitative Approaches to Forecasting The Components of a Time Series Measures of Forecast Accuracy Using Smoothing Methods in Forecasting Using Trend Projection in Forecasting Using Regression Analysis in Forecasting Qualitative Approaches to Forecasting. - PowerPoint PPT Presentation
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
1
ForecastingForecasting Quantitative Approaches to ForecastingQuantitative Approaches to Forecasting The Components of a Time SeriesThe Components of a Time Series Measures of Forecast AccuracyMeasures of Forecast Accuracy Using Smoothing Methods in Forecasting Using Smoothing Methods in Forecasting Using Trend Projection in Forecasting Using Trend Projection in Forecasting Using Regression Analysis in ForecastingUsing Regression Analysis in Forecasting Qualitative Approaches to ForecastingQualitative Approaches to Forecasting
2
Quantitative Quantitative Approaches to Approaches to
ForecastingForecasting Quantitative methodsQuantitative methods are based on an analysis of are based on an analysis of historical data concerning one or more time series.historical data concerning one or more time series.
A A time seriestime series is a set of observations measured at is a set of observations measured at successive points in time or over successive periods of successive points in time or over successive periods of time.time.
If the historical data used are restricted to past values of If the historical data used are restricted to past values of the series that we are trying to forecast, the procedure the series that we are trying to forecast, the procedure is called a is called a time series methodtime series method..
If the historical data used involve other time series that If the historical data used involve other time series that are believed to be related to the time series that we are are believed to be related to the time series that we are trying to forecast, the procedure is called a trying to forecast, the procedure is called a causal causal methodmethod. .
3
Time Series MethodsTime Series Methods Three time series methods are: Three time series methods are:
Components of a Time Components of a Time SeriesSeries
The The trend componenttrend component accounts for the gradual accounts for the gradual shifting of the time series over a long period of time.shifting of the time series over a long period of time.
Any regular pattern of sequences of values above Any regular pattern of sequences of values above and below the trend line is attributable to the and below the trend line is attributable to the cyclical componentcyclical component of the series. of the series.
5
Components of a Time Components of a Time SeriesSeries
The The seasonal componentseasonal component of the series accounts of the series accounts for regular patterns of variability within certain for regular patterns of variability within certain time periods, such as over a year.time periods, such as over a year.
The The irregular componentirregular component of the series is caused of the series is caused by short-term, unanticipated and non-recurring by short-term, unanticipated and non-recurring factors that affect the values of the time series. factors that affect the values of the time series. One cannot attempt to predict its impact on the One cannot attempt to predict its impact on the time series in advance.time series in advance.
6
Measures of Forecast Measures of Forecast AccuracyAccuracy Mean Squared ErrorMean Squared Error
The average of the squared forecast errors for The average of the squared forecast errors for the historical data is calculated. The forecasting the historical data is calculated. The forecasting method or parameter(s) which minimize this mean method or parameter(s) which minimize this mean squared error is then selected.squared error is then selected.
Mean Absolute DeviationMean Absolute Deviation
The mean of the absolute values of all forecast The mean of the absolute values of all forecast errors is calculated, and the forecasting method or errors is calculated, and the forecasting method or parameter(s) which minimize this measure is parameter(s) which minimize this measure is selected. The mean absolute deviation measure is selected. The mean absolute deviation measure is less sensitive to individual large forecast errors less sensitive to individual large forecast errors than the mean squared error measure.than the mean squared error measure.
7
Smoothing MethodsSmoothing Methods In cases in which the time series is fairly stable In cases in which the time series is fairly stable
and has no significant trend, seasonal, or cyclical and has no significant trend, seasonal, or cyclical effects, one can use effects, one can use smoothing methodssmoothing methods to average to average out the irregular components of the time series. out the irregular components of the time series.
Four common smoothing methods are:Four common smoothing methods are: Moving averagesMoving averages Centered moving averagesCentered moving averages Weighted moving averagesWeighted moving averages Exponential smoothingExponential smoothing
8
Smoothing MethodsSmoothing Methods Moving Average MethodMoving Average Method
The The moving average methodmoving average method consists of computing consists of computing an average of the most recent an average of the most recent nn data values for the data values for the series and using this average for forecasting the series and using this average for forecasting the value of the time series for the next period.value of the time series for the next period.
9
Sales of Comfort brand headache Sales of Comfort brand headache medicine formedicine for
the past ten weeks at Rosco Drugsthe past ten weeks at Rosco Drugs
are shown on the next slide. If are shown on the next slide. If
Rosco Drugs uses a 3-periodRosco Drugs uses a 3-period
moving average to forecast sales,moving average to forecast sales,
what is the forecast for Week 11?what is the forecast for Week 11?
Smoothing MethodsSmoothing Methods Centered Moving Average MethodCentered Moving Average Method
The The centered moving average methodcentered moving average method consists consists of computing an average of of computing an average of n n periods' data and periods' data and associating it with the midpoint of the periods. For associating it with the midpoint of the periods. For example, the average for periods 5, 6, and 7 is example, the average for periods 5, 6, and 7 is associated with period 6. This methodology is associated with period 6. This methodology is useful in the process of computing season indexes.useful in the process of computing season indexes.
15
Smoothing MethodsSmoothing Methods
Weighted Moving Average MethodWeighted Moving Average Method
In the In the weighted moving average methodweighted moving average method for for computing the average of the most recent computing the average of the most recent n n periods, periods, the more recent observations are typically given more the more recent observations are typically given more weight than older observations. For convenience, the weight than older observations. For convenience, the weights usually sum to 1.weights usually sum to 1.
Using Using exponential smoothingexponential smoothing, the forecast for , the forecast for the next period is equal to the forecast for the the next period is equal to the forecast for the current period plus a proportion (current period plus a proportion () of the ) of the forecast error in the current period.forecast error in the current period.
Using exponential smoothing, the forecast is Using exponential smoothing, the forecast is calculated by: calculated by:
[the actual value for the current period] [the actual value for the current period] ++
(1- (1- )[the forecasted value for the current )[the forecasted value for the current period], period],
where the smoothing constant, where the smoothing constant, , is a number , is a number between 0 and 1.between 0 and 1.
17
Trend ProjectionTrend Projection If a time series exhibits a linear trend, the If a time series exhibits a linear trend, the
method of method of least squaresleast squares may be used to may be used to determine a trend line (projection) for future determine a trend line (projection) for future forecasts. forecasts.
Least squares, also used in regression analysis, Least squares, also used in regression analysis, determines the unique determines the unique trend line forecasttrend line forecast which which minimizes the mean square error between the minimizes the mean square error between the trend line forecasts and the actual observed trend line forecasts and the actual observed values for the time series.values for the time series.
The independent variable is the time period and The independent variable is the time period and the dependent variable is the actual observed the dependent variable is the actual observed value in the time series.value in the time series.
18
Trend ProjectionTrend Projection Using the method of least squares, the formula for the Using the method of least squares, the formula for the
trend projection is: trend projection is: TTtt = = bb00 + + bb11tt. .
where: where: TTtt = trend forecast for time period = trend forecast for time period tt
bb1 1 = slope of the trend line= slope of the trend line
bb00 = trend line projection for time 0 = trend line projection for time 0
bb11 = = nntYtYtt - - t t YYtt
nnt t 22 - ( - (t t ))22
where: where: YYtt = observed value of the time series at time = observed value of the time series at time
period period tt
= average of the observed values for = average of the observed values for YYtt
= average time period for the = average time period for the nn observationsobservations
0 1b Y b t 0 1b Y b t
YYtt
19
If Rosco Drugs uses exponential smoothing toIf Rosco Drugs uses exponential smoothing to
forecast sales, which value for the smoothing forecast sales, which value for the smoothing constantconstant
, .1 or .8, gives better forecasts?, .1 or .8, gives better forecasts?
To evaluate the two smoothing constants, determine To evaluate the two smoothing constants, determine how the forecasted values would compare with the actual how the forecasted values would compare with the actual historical values in each case. historical values in each case.
Let: Let: YYtt = actual sales in week = actual sales in week tt
FFt t = forecasted sales in week = forecasted sales in week tt
FF11 = = YY11 = 110 = 110
For other weeks, For other weeks, FFtt+1+1 = .1 = .1YYtt + .9 + .9FFtt
In order to determine which smoothing constant In order to determine which smoothing constant gives the better performance, calculate, for each, the gives the better performance, calculate, for each, the mean squared error for the nine weeks of forecasts, mean squared error for the nine weeks of forecasts, weeks 2 through 10 by:weeks 2 through 10 by:
Sum 974.22 Sum 974.22 Sum 847.52Sum 847.52 MSE Sum/9 MSE Sum/9 Sum/9Sum/9
108.25108.25108.25108.25 94.1794.1794.1794.17
25
Example: Rosco Drugs Example: Rosco Drugs (B)(B)
Excel Spreadsheet Showing Input DataExcel Spreadsheet Showing Input Data
A B C1 Robert's Drugs23 Week Sales4 1 1105 2 1156 3 1257 4 1208 5 1259 6 120
10 7 13011 8 11512 9 11013 10 130
26
Example: Rosco Drugs Example: Rosco Drugs (B)(B) Steps to Exponential Smoothing Using ExcelSteps to Exponential Smoothing Using Excel
Step 1:Step 1: Select the Select the ToolsTools pull-down menu. pull-down menu.
Step 2:Step 2: Select the Select the Data AnalysisData Analysis option. option.
Step 3:Step 3: When the Data Analysis Tools dialog When the Data Analysis Tools dialog appears, choose appears, choose Exponential SmoothingExponential Smoothing..
Step 4:Step 4: When the Exponential Smoothing dialog When the Exponential Smoothing dialog box box appears:appears:
Enter B4:B13 in the Enter B4:B13 in the Input RangeInput Range box. box.
Enter 0.9 (for Enter 0.9 (for = 0.1) in = 0.1) in Damping FactorDamping Factor box.box.
Enter C4 in the Enter C4 in the Output RangeOutput Range box. box.
Select Select OKOK..
27
Example: Rosco Drugs Example: Rosco Drugs (B)(B) Spreadsheet Showing Results Using Spreadsheet Showing Results Using = 0.1 = 0.1
Example: Auger’s Example: Auger’s Plumbing ServicePlumbing Service
Steps to Trend Projection Using ExcelSteps to Trend Projection Using ExcelStep 1:Step 1: Select an empty cell (B13) in the worksheet. Select an empty cell (B13) in the worksheet.
Step 2:Step 2: Select the Select the InsertInsert pull-down menu. pull-down menu.
Step 3:Step 3: Choose the Choose the FunctionFunction option. option.
Step 4:Step 4: When the Paste Function dialog box appears: When the Paste Function dialog box appears:Choose Choose StatisticalStatistical in Function Category box. in Function Category box.
Choose Choose ForecastForecast in the Function Name box. in the Function Name box.
Select Select OKOK..
more . . . . . . .more . . . . . . .
36
Example: Auger’s Example: Auger’s Plumbing ServicePlumbing Service
Steps to Trend Projecting Using Excel Steps to Trend Projecting Using Excel (continued)(continued)Step 5:Step 5: When the Forecast dialog box appears: When the Forecast dialog box appears:
Enter 10 in the Enter 10 in the xx box (for month 10). box (for month 10).
Enter B4:B12 in the Enter B4:B12 in the Known y’sKnown y’s box. box.
Enter A4:A12 in the Enter A4:A12 in the Known x’sKnown x’s box. box.
Select Select OKOK..
37
Example: Auger’s Example: Auger’s Plumbing ServicePlumbing Service
Spreadsheet with Trend Projection for Month 10Spreadsheet with Trend Projection for Month 10
A B C1 Auger's Plumbing Service23 Month Calls4 1 3535 2 3876 3 3427 4 3748 5 3969 6 409
10 7 39911 8 41212 9 40813 10 423.667 Projected
38
Example: Auger’s Example: Auger’s Plumbing Service (B)Plumbing Service (B)
Forecast for December (Month 10) using aForecast for December (Month 10) using a
three-period (three-period (nn = 3) weighted moving average with = 3) weighted moving average with
weights of .6, .3, and .1. weights of .6, .3, and .1.
Then, compare this Month 10 weighted movingThen, compare this Month 10 weighted moving
average forecast with the Month 10 trend projectionaverage forecast with the Month 10 trend projection
forecast.forecast.
39
Example: Auger’s Example: Auger’s Plumbing Service (B)Plumbing Service (B)
Three-Month Weighted Moving AverageThree-Month Weighted Moving Average
The forecast for December will be the weighted The forecast for December will be the weighted average of the preceding three months: September, average of the preceding three months: September, October, and November.October, and November.
Example: Auger’s Example: Auger’s Plumbing Service (B)Plumbing Service (B)
ConclusionConclusion
Due to the positive trend component in the time Due to the positive trend component in the time series, the trend projection produced a forecast that series, the trend projection produced a forecast that is more in tune with the trend that exists. The is more in tune with the trend that exists. The weighted moving average, even with heavy (.6) placed weighted moving average, even with heavy (.6) placed on the current period, produced a forecast that is on the current period, produced a forecast that is lagging behind the changing data. lagging behind the changing data.