How many
units of a product should a company produce to meet demand for the next time
period? How many bushels of corn will
an acre yield? What will the interest
rate be? How many waiters and waitresses
should be scheduled for a shift? How
will the value of a stock change? What
will raw material prices be? How many
bottles of beer will a restaurant sell?
How do
businesses answer these types of questions?
Obviously, there is uncertainty associated with these scenarios, so they
cannot simply calculate the answers.
Rather, they forecast the answers to such questions. Business managers rely on forecasting
techniques to recognize trends and develop appropriate strategies.
There are
basically three types of forecasting methods:
Typically a quantitative method is
used in conjunction with a judgmental method.
Our focus will be on the quantitative methods, but recognize no method
can accurately forecast the future every time.
A time series is a series of
observations collected over evenly spaced intervals of some quantity of
interest. e.g. number of phone calls
per hour, number of cars per day, number of students per semester,…
Let
yi = observed value i
of a time series (i = 1,2,…,t)
yhati
= forecasted value of yi
ei
= error for case i = yi – yhati
Sometimes the
forecast is too high (negative error) and sometimes it is too low (positive
error).
The
accuracy of the forecasting method is measured by the forecasting errors. There are two popular methods for assessing
forecasting accuracy:
Mean
Absolute Deviation (MAD)
MAD = ( å | ei | )/n
Where n is
the number of periods in the forecast
Units of
MAD are same as units of yi
Mean
Squared Error
MSE = (å ei 2 )/n
Units
squared
This is the simplest and most
commonly used forecasting method. It
works best when the time series fluctuates around a constant base level.
Use an average of the N most
recent observations to forecast the next period. From one period to the next, the average “moves” by replacing the
oldest observation in the average with the most recent observation. In the process, short-term irregularities
in the data series are “smoothed out”.
MA = å yi
/ N
See milk.xls for an example.
How do you choose N? Want the value of N that gives us the best
forecasting accuracy. (i.e. minimizes
MAD or MSE)
If the errors are normally
distributed, then the standard deviation of the forecast errors (se)
is approximately equal to 1.25 * MAD.
68% of the forecasts will be
within +/- one se of the observed value.
95% of the forecasts will be
within +/- two se of the observed value.
To graph the observed values and
the forecasted values over time in Excel,
Highlight the observed values and
the forecasted values b6:c26
Click on the chart wizard icon
Next
Next
Category
(X) axis: days
Value (Y)
axis: gallons of milk
Next
As new sheet: Milk sales graph
Finish
In the moving averages method,
each observation in the average is equally weighted. In the weighted moving averages method, typically the most recent
observation carries the most weight in the average.
Let wi = weight for
observation i
The sum of the weights is 1.
WMA = å wiyi
To illustrate, let’s rework the milk
example using a weight of .5 for the most recent observation, a weight of .3
for the next most recent observation, and a weight of .2 for the oldest
observation.
Target Cell
is MAD
Min
Changing
Cells are the weights
Constraints
are that the weights must <= 1, >= 0, and add up to 1.