440 likes | 452 Views
Learn about the basics of forecasting and how it can help managers plan their systems and their usage. Explore different techniques such as judgmental, time series, and associative forecasting.
E N D
BUAD306 Chapter 3 – Forecasting
Everyday Forecasting • Weather • Time • Traffic • Other examples???
What is Forecasting? • Forecast: A statement about the future • Used to help managers: • Plan the system • Plan the use of the system
Forecasting Basics • Assumes causal system past ==> future • Forecasts rarely perfect because of randomness • Forecasts more accurate for groups vs. individuals • Forecast accuracy decreases as time horizon increases
Elements of a Good Forecast • Timely – feasible horizon • Reliable – works consistently • Accurate – degree should be stated • Expressed in meaningful units • Written – for consistency of usage • Easy to Use - KISS
Approaches to Forecasting • Judgmental – subjective inputs • Time Series – historical data • Associative – explanatory variables
Judgmental Forecasts • Executive Opinions Bias?? • Outside Opinions Accuracy? • Consumer Surveys Guarantee??? • Sales Force Feedback Bias???
Time Series Forecasts • Based on observations over a period of time • Identifies: • Trend – LT movement in data • Seasonality – ST, regular variations • Cycles – longer wavelike variations • Irregular Variations – unusual events • Random Variations – chance/residual
Forecast Variations Irregularvariation Random variation Trend Cycles 12 13 11 14 11 12 13 Seasonal Variations
Naïve Forecasting • Simple to use • Minimal to no cost • Data analysis is almost nonexistent • Easily understandable • Cannot provide high accuracy • Can be a standard for accuracy RULE:“Whatever happened “yesterday” is going to happen tomorrow as long as I apply LOGIC.”
Techniques for Averaging • Moving average • Weighted moving average • Exponential smoothing
n Ai MAn = i = 1 n Simple Moving Average Where: i = index that corresponds to periods n = number of periods (data points) Ai= Actual value in time period I MA = Moving Average Ft = Forecast for period t
Weighted Moving Average • Similar to a moving average, but assigns more weight to the most recent observations. • Total of weights must equal 1.
Calculating Error • Mathematically: et = At - Ft Let’s discuss examples on board…
Premise - Exponential Smoothing • The most recent observations might have the highest predictive value…. • And since all forecasts have error… • We should give more weight to the error in the more recent time periods when forecasting.
Exponential Smoothing Ft = Ft-1 + (At-1 - Ft-1) Next forecast = Previous forecast + (Actual -Previous Forecast) Smoothing Constant
About • = Smoothing constant selected by forecaster • It is a percentage of the forecast error • The closer the value is to zero, the slower the forecast will be to adjust to forecast errors (greater smoothing) • The higher the value is to 1.00, the greater the responsiveness to errors and the less smoothing
Example 3: Exponential Smoothing Ft = Ft-1 + (At-1 - Ft-1) • Assume a starting forecast of 4030 for period 3. • Given data at left and = .10, what would the forecast be for period 8?
Techniques for Seasonality • Seasonal Variations – regularly repeating movements in series values that can be tied to recurring events • Examples in life/around campus??? Computing Seasonal Relatives: Although we will discuss how relatives are created in class, you do not have to know this for exam – just how to apply the relatives to a forecast.
Using Seasonal Relatives • Allows you to incorporate seasonality or deseasonalize data • Seasonalize (×) : Factors seasonality into the trend forecast so that you can see peaks and valleys. • Deseasonalize (÷) : Removes seasonal components to get a clearer picture of underlying trend • Value of each to business???
Example 4: Using Seasonal Relatives A publisher wants to predict quarterly demand for a certain book for periods 12 and 15, which happen to be in the 4th and 1st quarters of a particular year. The data series consists of both trend and seasonality. The trend portion of demand is projected using the equation: yt=65,500 + 180.5t. Quarter relatives are Q1= 1.3, Q2=.8, Q3=1.4, Q4=.9 Use this information to predict demand for periods 12 and 15. • Calculate the trend values (plugging in T value) • Incorporate relatives to calculate seasonalized values
HW #12 – Let’s Discuss The following equation summarizes the trend portion of quarterly sales of condos over a long cycle. Prepare a forecast for each Q of next year and the first quarter of the following year. Ft = 40 – 6.5t + 2t2 Ft = unit sales t= 0 at 1Q of last year
Assoc. Forecasting Technique:Simple Linear Regression • Predictor variables - used to predict values of variable interest • Regression - technique for fitting a line to a set of points • Least squares line - minimizes sum of squared deviations around the line
Linear Regression Assumptions • Variations around line are random • No patterns are apparent • Deviations around the line should be normally distributed • Predictions are being made only in the range of observed values • Should use minimum of 20 observations for best results
The regression line has the following equation: y c = a + bx Where: y c = Predicted (dependent) variable x = Predictor (independent) variable b = slope of the line a = Value of y c when x=0 b = n (xy) - (x)(y) n(x2) - (x)2 a = y - bx n
Example 5 - Linear Regression: Suppose that a manufacturing company made batches of a certain product. The accountant for the company wished to determine the cost of a batch of product given the following data: Cost of batch (in 1000s) $1.4 3.4 4.1 3.8 6.7 6.6 7.8 10.4 11.7 Size of batch 20 30 40 50 70 80 100 120 150 Question… which is the dependent (y) and which is the independent (x) variable?
We are now ready to determine the values of b and a: b = n (xy) - (x)(y) = 9 (5264) - (660)(55.9) n(x2) - (x)29(63600) - (660)2 = 47376-36894 = 10482 =.0766 572400-435600 136800 a = y - bx = 55.9 - .0766(660)= .59 n 9
Our linear regression equation: y c = a + bx y c = .59 + .0766x What is the cost of a batch of 125 pieces? y c = .59 + .0766 (125) = 10.16
Problem #7 Freight car loadings at a busy port are as follows:
Problem #7 b = n (xy) - (x)(y) n(x2) - (x)2 a = y - bx n
Correlation (r) • A measure of the relationship between two variables • Strength • Direction (positive or negative) • Ranges from -1.00 to +1.00 • Correlation close to 0 signifies a weak relationship – other variables may be at play • Correlation close to +1 or -1 signifies a strong relationship
Example 6: Continued r = 9 (5264) - (660)(55.9) 9(63600)- (660)2 * 9(439.11) - (55.9)2 r = 47376 - 36894 = 10482 = .985 136800 * 827.18 369.86 * 28.76 r = n( xy) - ( x)( y) n( x2)- ( x)2 * n( y2) - ( y)2
Coefficient of Determination (r2) • How well a regression line “fits” the data • Ranges from 0.00 to 1.00 • The closer to 1.0, the better the fit r = .985 r2 = .9852 = .97
Forecast Accuracy • Error - difference between actual value and predicted value • Mean absolute deviation (MAD) • Average absolute error • Mean squared error (MSE) • Average of squared error Why can’t we simply calculate error for each observed period and then select the technique with the lowest error?
Calculating Error • Mathematically: What do the negative errors mean? How do they affect total error? et = At - Ft
Actual forecast MAD = n 2 ( Actual forecast) MSE = n - 1 Calculating MAD and MSE
Conclusions with MAD & MSE • The MAD and MSE can be used as a comparison tool for several forecasting techniques. • The forecasting technique that yields the lowest MAD and MSE is the preferred forecasting method.