Home > Statistics > Moving Average > Simple Moving Average forecast example

5. Simple Moving Average forecast example ( Enter your problem )
  1. Formula & 3 year Simple Moving Average forecast Example
  2. 4 year Simple Moving Average forecast Example
  3. 5 year Simple Moving Average forecast Example

1. Formula & 3 year Simple Moving Average forecast Example





Formula
Examples
1) 3 year Simple Moving Average forecast
year123456789101112
Sales5.24.95.54.95.25.75.45.85.965.24.8
Calculate 3 year Simple Moving Average forecast


Solution:
The value of table for `x` and `y`

x123456789101112
y5.24.95.54.95.25.75.45.85.965.24.8

Calculation of 3 year moving averages of the data
(1)
year
(2)
Sales
(3)
3 year moving total
(4)
3 year moving average
`(3)-:3`
15.2
24.9`5.2+4.9+5.5=15.6``15.6-:3=5.2`
35.5`4.9+5.5+4.9=15.3``15.3-:3=5.1`
44.9`5.5+4.9+5.2=15.6``15.6-:3=5.2`
55.2`4.9+5.2+5.7=15.8``15.8-:3=5.2667`
65.7`5.2+5.7+5.4=16.3``16.3-:3=5.4333`
75.4`5.7+5.4+5.8=16.9``16.9-:3=5.6333`
85.8`5.4+5.8+5.9=17.1``17.1-:3=5.7`
95.9`5.8+5.9+6=17.7``17.7-:3=5.9`
106`5.9+6+5.2=17.1``17.1-:3=5.7`
115.2`6+5.2+4.8=16``16-:3=5.3333`
124.8


(1)
year
(2)
Sales
(3)
3 year moving average
(4)
Error
(5)
|Error|
(6)
`"Error"^2`
(7)
`|%"Error"|`
15.2
24.9
35.5
44.95.2`4.9-5.2=-0.3``0.3``0.09``6.12%`
55.25.1`5.2-5.1=0.1``0.1``0.01``1.92%`
65.75.2`5.7-5.2=0.5``0.5``0.25``8.77%`
75.45.2667`5.4-5.2667=0.1333``0.1333``0.0178``2.47%`
85.85.4333`5.8-5.4333=0.3667``0.3667``0.1344``6.32%`
95.95.6333`5.9-5.6333=0.2667``0.2667``0.0711``4.52%`
1065.7`6-5.7=0.3``0.3``0.09``5%`
115.25.9`5.2-5.9=-0.7``0.7``0.49``13.46%`
124.85.7`4.8-5.7=-0.9``0.9``0.81``18.75%`
135.3333Total`3.5667``1.9633``67.34%`


Forecasting errors

1. Mean absolute error (MAE), also called mean absolute deviation (MAD)
MAE`=1/n sum |e_i|=3.5667/9=0.3963`


2. Mean squared error (MSE)
MSE`=1/n sum |e_i^2|=1.9633/9=0.2181`


3. Root mean squared error (RMSE)
RMSE`=sqrt(MSE)=sqrt(0.2181)=0.4671`


4. Mean absolute percentage error (MAPE)
MAPE`=1/n sum |e_i/y_i|=67.34/9=7.48`


2) 3 year Simple Moving Average forecast
year12345678910
Sales30253525203035403045
Calculate 3 year Simple Moving Average forecast


Solution:
The value of table for `x` and `y`

x12345678910
y30253525203035403045

Calculation of 3 year moving averages of the data
(1)
year
(2)
Sales
(3)
3 year moving total
(4)
3 year moving average
`(3)-:3`
130
225`30+25+35=90``90-:3=30`
335`25+35+25=85``85-:3=28.3333`
425`35+25+20=80``80-:3=26.6667`
520`25+20+30=75``75-:3=25`
630`20+30+35=85``85-:3=28.3333`
735`30+35+40=105``105-:3=35`
840`35+40+30=105``105-:3=35`
930`40+30+45=115``115-:3=38.3333`
1045


(1)
year
(2)
Sales
(3)
3 year moving average
(4)
Error
(5)
|Error|
(6)
`"Error"^2`
(7)
`|%"Error"|`
130
225
335
42530`25-30=-5``5``25``20%`
52028.3333`20-28.3333=-8.3333``8.3333``69.4444``41.67%`
63026.6667`30-26.6667=3.3333``3.3333``11.1111``11.11%`
73525`35-25=10``10``100``28.57%`
84028.3333`40-28.3333=11.6667``11.6667``136.1111``29.17%`
93035`30-35=-5``5``25``16.67%`
104535`45-35=10``10``100``22.22%`
1138.3333Total`53.3333``466.6667``169.4%`


Forecasting errors

1. Mean absolute error (MAE), also called mean absolute deviation (MAD)
MAE`=1/n sum |e_i|=53.3333/7=7.619`


2. Mean squared error (MSE)
MSE`=1/n sum |e_i^2|=466.6667/7=66.6667`


3. Root mean squared error (RMSE)
RMSE`=sqrt(MSE)=sqrt(66.6667)=8.165`


4. Mean absolute percentage error (MAPE)
MAPE`=1/n sum |e_i/y_i|=169.4/7=24.2`




This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here





Share this solution or page with your friends.
 
 
Copyright © 2026. All rights reserved. Terms, Privacy
 
 

.