Professional Documents
Culture Documents
QUAN 21
Given : Computation:
Week 1 = 17 Moving Average = (17+21+19) / 3
Week 2 = 21 Moving Average = 19
Week 3 = 19
n =3
• The moving average value is the forecasted sales in week 4.
Summary of 3 –week moving average calculation
MOVING AVERAGE
• An important consideration in selecting forecasting method
is the accuracy of the forecast.
• The error associated with the forecast is the difference
between the observed value of the time series and the
forecast.
• Mean Squared Error (MES), or the average of the sum of
squared errors can be used to develop measures of forecast
accuracy.
MOVING AVERAGE
MOVING AVERAGE
MSE = 16+9+16+1+0+16+0+25+9
9
MSE = 10.22
MAD(ά=0.10 ) = 84 / 8
= 10.5
MAD(ά=0.50) = 100 / 8
= 12.50
* Smoothing constant, ά=0.10 , is preferred to ά=0.50 because its MAD is smaller.
TIME SERIES REGRESSION
• Time Series- is a set of data collected at regular
intervals such as every week , every month, or
every week.
• Regression – in statistics is a term used to describe
the process of estimating the relationship between
two variables , in this case the time and sales.
LEAST SQUARE METHOD
Where Ft = estimated or forecast value of sales for t
a = intercept , or the point at which the trend line
intercepts . The x axis (sales)
b = slope of the trend line , or the rate of the change in
sales.
t = time , in this case the months from 1 to 6 any series of
number can be used as long as they are consecutive.
LEAST SQUARE METHOD
• Two equations are used to find the slope and
intercept of the best fitting trend line. The slope is
always computed as follows:
where b = slope
t = time
x= dependent variable of sales
= mean of the value of x
LEAST SQUARE METHOD
• Second the intercept is calculated as follows:
SMOOTHING LINEAR TRENDS
• Simple smoothing continually adjusts the forecasts according to
the errors. To start a forecast for a period 1 (F ) is selected. A
1
• Smoothing the linear trend works the same way except that the
errors are used to continually adjust to things : the intercept and
the slope of the trend line.
• The adjustments are made with sequence of equations repeated
each period.
SMOOTHING LINEAR TRENDS
Smoothed level of t = forecast for t + a1 x error in t
Smoothed trend at the end of t = smoothed trend at the end of t + a2 x error in t
Forecast for t + 1 = smoothed level at the end of t + smoothed trend at the end of t
• The smoothing equations for a linear trend compute a new trend line at the end
of each period . The intercept of the trend line is called smoothed level
• This is not quiet the same as the regression intercept of a . In regression trend
line starts at period 1 in smoothing the trend line starts at current period.
• The slope of a new trend line is called smoothed trend and is similar to the
slope b in regression.
SMOOTHED LINEAR TRENDS
• To see how model works, we will put the equations into symbols and then
smooth the Computer land sales. The equations are: