Forecast Calculation Examples
Forecast Calculation Examples
1 Forecast Calculation Methods Month 2004 Sales 2005 Sales 2006 Forecast
Simulated 2005
Forecast
Twelve methods of calculating forecasts are available. Most of these methods provide for limited user control.
For example, the weight placed on recent historical data or the date range of historical data used in the August 128 140 161
calculations might be specified. The following examples show the calculation procedure for each of the
available forecasting methods, given an identical set of historical data. September 118 131 151
The following examples use the same 2004 and 2005 sales data to produce a 2006 sales forecast. In addition October 123 114 131 141.45
to the forecast calculation, each example includes a simulated 2005 forecast for a three month holdout period
November 139 119 137 159.85
(processing option 19 = '3') which is then used for percent of accuracy and mean absolute deviation
calculations (actual sales compared to simulated forecast).
December 133 137 158 152.95
November 139 119 111 143.66925 A.5 Method 3 - Last year to This Year
December 133 137 128 137.4677 This method copies sales data from the previous year to the next year.
Required sales history: One year for calculating the forecast plus the number of time periods specified for
evaluating forecast performance (processing option 19).
March, 2005 sales = 115 * 0.9367 = 107.7205 or about 108 August 128 140 140
Sum the three months of 2005 prior to holdout period (July, Aug, Sept): October 123 114 114 123
Sum the same three months for the previous year: December 133 137 137 133
November 2004 sales = 139 January forecast: 114 + 119 + 137 = 370, 370 / 3 = 123.333 or 123
December 2004 sales = 133 February forecast: 119 + 137 + 123 = 379, 379 / 3 = 126.333 or 126
Required sales history: Twice the number of periods to be included in the average (processing option 4a), plus
number of time periods for evaluating forecast performance (processing option 19).
A.6.4 Mean Absolute Deviation Calculation
MAD = (|133.3333 - 114| + |128.3333 - 119| + |121.3333 - 137|) / 3 = 14.7777
Simulated 2005
Month 2004 Sales 2005 Sales 2006 Forecast Forecast
A.7 Method 5 - Linear Approximation
January 125 128 123
Linear Approximation calculates a trend based upon two sales history data points.
February 132 117 126
Those two points define a straight trend line that is projected into the future. Use this method with caution, as
March 115 115 129 long range forecasts are leveraged by small changes in just two data points.
April 137 125 126 Required sales history: The number of periods to include in regression (processing option 5a), plus 1 plus the
number of time periods for evaluating forecast performance (processing option 19).
May 122 122 127
For each month of the forecast, add the increase or decrease during the specified periods prior to holdout May 122 122 192
period the previous period.
June 130 137 204
January forecast: (137 - 114)/2 + 137 = 148.5 or 149
July 141 129 215
February forecast: (137 - 114)/2 * 2 + 137 = 160
August 128 140 227
March forecast: (137 - 114)/2 * 3 + 137 = 171.5 or 172
September 118 131 238
November 2004 sales = (114 - 140) / 2 + 114 = 101 December 133 137 273 109.333
A.7.4 Mean Absolute Deviation Calculation For each month of the forecast, add the increase or decrease during the specified periods prior to holdout
MAD = (|132 - 114| + |101 - 119| + |113 - 137|) / 3 = 20 period the previous period.
January forecast:
A.8 Method 6 - Least Square Regression Average of the previous three months = (114 + 119 + 137)/3 = 123.3333
Linear Regression or Least Squares Regression (LSR) is the most popular method for identifying a linear trend
in historical sales data. The method calculates the values for "a" and "b" to be used in the formula: Y = a + bX. Summary of the previous three months with weight considered
The equation describes a straight line where Y represents sales, and X represents time. Linear regression is
slow to recognize turning points and step function shifts in demand. Linear regression fits a straight line to the = (114 * 1) + (119 * 2) + (137 * 3) = 763
data, even when the data is seasonal or would better be described by a curve. When the sales history data
follows a curve or has a strong seasonal pattern, forecast bias and systematic errors occur. Difference between the values
= 763 - 123.3333 * (1 + 2 + 3) = 23 Value2 = Average - value1 * ratio = 128.3333 - (-12.9999) * 2 = 154.3333
Ratio = (1^2 + 2^2 + 3^2) - {(1 + 2 + 3)/3}^2 * 3 = 14 - 12 = 2 Forecast = 4 * -12.9999 + 154.3333 = 102.3333
Value2 = Average - value1 * ratio = 123.3333 - 11.5 * 2 = 100.3333 Average of the previous three months
Forecast = (1 + n) * value1 + value2 = 4 * 11.5 + 100.3333 = 146.333 or 146 = (131 + 114 + 119)/3 = 121.3333
February forecast: Summary of the previous three months with weight considered
= 802 - 133.3333 * (1 + 2 + 3) = 2
Average of the previous three months Forecast specifications: The formulae finds a, b, and c to fit a curve to exactly three points. You specify n in the
processing option 7a, the number of time periods of data to accumulate into each of the three points. In this
= (140 + 131 + 114)/3 = 128.3333 example n = 3. Therefore, actual sales data for April through June are combined into the first point, Q1. July
through September are added together to create Q2, and October through December sum to Q3. The curve will
Summary of the previous three months with weight considered be fitted to the three values Q1, Q2, and Q3.
= (140 * 1) + (131 * 2) + (114 * 3) = 744 Required sales history: 3 * n periods for calculating the forecast plus the number of time periods required for
evaluating the forecast performance (PBF).
Difference between the values = 744 - 128.3333 * (1 + 2 + 3) = -25.9999
September 118 131 1 c = [(Q3 - Q2) + (Q1 - Q2)]/2 = [(370 - 400) + (384 - 400)]/2 = -23
Use the previous (3 * n) months in three-month blocks: July thru September forecast (X=6):
The next step involves calculating the three coefficients a, b, and c to be used in the forecasting formula Y = a A.9.2 Simulated Forecast Calculation
+ bX + cX^2
October, November and December, 2004 sales:
(1) Q1 = a + bX + cX^2 (where X = 1) = a + b + c
Q1(Jan - Mar) = 360
(2) Q2 = a + bX + cX^2 (where X = 2) = a + 2b + 4c
Q2(Apr - Jun) = 384
(3) Q3 = a + bX + cX^2 (where X = 3) = a + 3b + 9c
Q3(Jul - Sep) = 400
Solve the three equations simultaneously to find b, a, and c:
a = 400 - 3(384 - 360) = 328
Subtract equation (1) from equation (2) and solve for b
c = [(400 - 384) + (360 - 384)]/2 = -4
(2) - (1) = Q2 - Q1 = b + 3c
b = (384 - 360) - 3 * (-4) = 36