Professional Documents
Culture Documents
Forecasting-Timeseries-Smoothing and Decomposition
Forecasting-Timeseries-Smoothing and Decomposition
Forecasting-Timeseries-Smoothing and Decomposition
TIME SERIES
S M O O T H I N G AND
DECOMPOSITION
METHODS
CONTENTS
PL 5101 FORECASTING ANALYSIS
PLANNING ANALYTICAL TIME SERIES
METHOD Smoothing and Decomposition Methods
1. Introduction
A. BACKGROUND 2. Types of Data Pattern
3. Evaluation Model
1. Explanation
C. DECOMPOSITION METHODS 2. Example
3. It can be assumed that some aspects of the past pattern will continue into the future.
The objective of Time – Series is to discover the pattern in the historical data series and
extrapolate the pattern into the future.
The reasons :
1. The system may not be understood (Makridakis et al, 2008)
2.Explanatory is necessary to be predicted but it is too difficult (Rob J Hyndman, 2009)
3.Only to predict what will happen (Makridakis et al, 2008)
Look at the data Forecast using one or Evaluate the technique
(Scatter Plot) more techniques and pick the best one.
Diagram Basics Procedur in Forecasting (source : http://www2.gsu.edu/~dscsss/teaching/mgs3100/sum07/Ch_5.ppt
A. BACKGROUND
2. TYPES OF DATA PATTERN
For time series, the most obvious time plot graphical form is a time plot in which the data
are plotted over time.
The major task of time series analysis is to describe the nature of the past variation of a
variable in order that its future values can be predicted and acted upon accordingly
(Kachigan, 1986)
An important step in selecting an appropriate forecasting method is to consider the types
of data patterns, so that the methods most appropriate to those patterns can be utilized.
Four types of time series patterns data patterns can be distinguished: horizontal, seasonal,
cyclical, and trend.
https://www.cengage.com
A. BACKGROUND
2. TYPES OF DATA PATTERN
A SEASONAL (S) PATTERN
exists when a series is influenced by seasonal factors or in regular interval.
(e.g., the quarter of the year, the month, or day of the week).
SOURCE : Makridakis Et Al, 2008
A. BACKGROUND
2. TYPES OF DATA PATTERN
A CYCLICAL (C) PATTERN
exists when the data exhibit rises and falls that are not of a fixed period.
SOURCE : Makridakis Et Al, 2008
A. BACKGROUND
2. TYPES OF DATA PATTERN
A TREND (T) PATTERN
exists when there is a long-term increase or decrease in the
data.
SOURCE : Makridakis Et Al, 2008
A. BACKGROUND
3. EVALUATION MODEL
ME - The arithmetic mean of the errors Mean Square Error - MSE
ME
(Actual - Forecast) Error •
MSE (Actual -nForecast) 2
(Error) 2
n
n
SOURCE : Makridais Et Al, 2008
Pegels (1969) has provide a simple but useful framework for separating trend and seasonal aspects is
whether or not the model should be additive (linear) or multiplicative (non linear) in smoothing methods.
B. SMOOTHING METHODS 1. AVERAGING
METHODS
a. The Mean & Single Moving Avarage
The method of the mean is simply The single moving averages method uses
to take the average of all observed the average of the most recent k data values in
data as the forecast. the time series as the forecast for the next
THE EQUATION IS : period.
THE EQUATION IS :
It cannot handle trend or seasonality very well, although it can do better than the total
mean. It is useful for time series with a slowly changing mean.
B. SMOOTHING METHODS 1. AVERAGING
METHODS
c. Double Moving Avarages and Other Moving
Avarages Combination
The double moving averages method uses
the technique of single average moving with an THE EQUATION for Moving
adjustment for trend from period t to period t+1 Avarages
Method is :
THE EQUATION IS :
Exponential smoothing method often used to forecast due their simplicity and low cost
Exponential smoothing methods provide forecasts using weighted averages of past values of
data and forecast errors.
In exponential smoothing (as opposed to in moving averages smoothing) older data is given
progressively-less relative weight (importance) whereas newer data is given progressively-
greater weight.
It require that certain parameters be defined, and that parameters value lie between 0
and 1
Four types of Exponential Smoothing : 3. Double Exponential Smoothing
1. Single Exponential Smoothing (SES) a. Brown One Parameter (Linear method)
2.Single Exponential Smoothing – b. Holt Two Parameter(Linear method)
Adaptive Approach 4. Triple Exponential Smoothing
a. Brown (Squared method)
b. Holt-Winter (Trend and Seasonality)
B. SMOOTHING METHODS 2. EXPONENTIAL SMOOTHING METHODS
Classical time series decomposition separates a time series into five components: mean, long-
range trend, seasonality, cycle, and randomness.
The decomposition model is Value = (Mean) x (Trend) x (Seasonality) x (Cycle) x (Random).
Time series decomposition can be used to separate or decompose a time series into seasonal,
trend, and irregular components.
A general mathematical model takes the following form:
In this model, the trend and seasonal
tX = f(I , T , C , E ),
t t t t and irregular components are multiplied to
Where : the value of the time series. Trend is
give
measured in units of the item being forecast.
Xt is the Time Series Value (Actual Data) At Period t
However, the seasonal and irregular
It Is the Seasonal component (Index) at period t
components are measured in relative terms,
Tt is the Trend component (Index) at period t with values above 1.00 indicating
Ct is the Cycal component (Index) at period t above the effects below 1.00
Et is the Error or Random component at period indicating effects
trendbelow
andthe
values
trend.
t
C. DECOMPOSITION METHODS
Commonly, there are two types of decomposition method which are Classical (1920s) Additive
Form that appropriate if the magnitude of the seasonal does not vary and Multicative Form. This
two types have same mathematical model.
To illustrate the process of Multicative Decomposition, we take a data of the television set sales
in 4 year that divided in 4 quarter each year.
Sales
Continued Television Sale
Year Quarter (Thousand) 0.01
Thousands
1 1 4.80 3 1 6.00
0.01
1 2 4.10 3 2 5.60
1 3 6.00 3 3 7.50 0.01
2 2 5.20 4 2 5.90
0.00
2 3 6.80 4 3 8.00
0.00
2 4 7.40 4 4 8.40 1
15 16
2 3 4 5 6 7 8 9 10 11 12 13 14
C. DECOMPOSITION METHODS
Step 1 & 2 : Calculate the Moving Avarages and Substract the moving avarages values to result Seasonality
and Randomness
Four-Quarter Moving Centered Moving
Year Quarter Sales ( Thousand)
Avarage Average
1 1 4.80
1 2 4.10 5.350
1 3 6.00 5.600 5.475
1 4 6.50 5.875 5.738
2 1 5.80 6.075 5.975
2 2 5.20 6.300 6.188
2 3 6.80 6.350 6.325
2 4 7.40 6.450 6.400
3 1 6.00 6.625 6.538
3 2 5.60 6.725 6.675
3 3 7.50 6.800 6.763
3 4 7.80 6.875 6.838
4 1 6.30 7.000 6.938
4 2 5.90 7.150 7.075
4 3 8.00
4 4 8.40
C. DECOMPOSITION METHODS
Deseasonalized Trend
Year Quarter
Foorecast
5 1 7.601
2 7.748
3 7.895
4 8.042
C. DECOMPOSITION METHODS
AHMAD CHUSYAIRI
Information Technology STIKOM PGRI
Banyuwangi
PELSRI RAMADAR N.S.
Information Technology STIKOM PGRI
Banyuwangi
BAGIO
Planning Departement Police Resort
Banyuwangi
In this research examines the selection of an appropriate forecasting model in accordance with
time series data available for predicting the missing reports in a period.
ALOGARITHM ANALYSIS
o Review :
1. SES actualy was the lowest one only in
MAD not in MSE (DES was the lower).
2. I try using other method by using DES:
Brown’s Linier Method and TES Brown
Quadratic Method which is easier to
apply than DES Holt’s Method or TES
Conclusion : Winter’s Method. The DES Brown’s
The most suitable method in predicting Method is as simple as SES but provide
moving data up and down (fluctuation)in the
the lower result in MAD and MSE
data report is by using the Single Exponential
No. Method MAD MSE MAPE
Smoothing method because it has the error
value of the prediction data using Mean Absolute 1 DES Brown 4.92 725.89 282.29
Deviation (MAD), and Mean Square Error
(MSE), however triple exponential smoothing 2 TES Brown 4.17 521.68 295.58
method has a smallest error value using Mean
Absolute Percentage Error (MAPE). DES : = 0.2 and Initialization S’=S’’= X
TES : = 0.15 and Initialization S’=S’’=S’’’=X
REFFERENCE
Spyros G. Makridakis, Steven C. Wheelwright, Rob J Hyndman - Forecasting
Methods and Applications - Wiley (1997)
The Use of Exponential Smoothing Method to Predict Missing Service E-
Report - Ahmad Chusyairi, Pelsri Ramadar N.S. and Bagio,
https://ieeexplore.ieee.org/
http://www2.gsu.edu/~dscsss/teaching/mgs3100/sum07/Ch_5.ppt
https://otexts.org/fpp2/
https://ec.europa.eu/eurostat/statistics-explained
http://www.businessdictionary.com/definition/exponential-smoothing
http://www.ncss.com
https://
www.cengage.com/resource_uploads/downloads/0840062389_34
7257.pdf
https://arumprimandari.files.wordpress.com/2015/03/course-5_pegels-
classification.pdf