SlideShare a Scribd company logo
Trend and Seasonal
Components
Group Member :
Anna Revin Nadita
Cindy Aprilia
Fitri Andriyani
Prastika Ambarita
Time series with deterministic
components
 Up until now we assumed our time series is generated by a stationary process - either a
white noise, an autoregressive, a moving-average or an ARMA process.
 However, this is not usually the case with real-world data - they are often governed by a
(deterministic) trend and they might have (deterministic) cyclical or seasonal components
in addition to the irregular/remainder (stationary process) component:
Trend component - a long-term increase or decrease in the data which might not be linear.
Sometimes the trend might change direction as time increases.
Cyclical component - exists when data exhibit rises and falls that are not of fixed period. The
average length of cycles is longer than the length of a seasonal pattern. In practice, the
trend component is assumed to include also the cyclical component. Sometimes the trend
and cyclical components together are called as trend-cycle.
Seasonal component - exists when a series exhibits regular fluctuations based on the season
(e.g. every month/quarter/year). Seasonality is always of a fixed and known period.
Irregular component - a stationary process.
In order to remove the deterministic components, we
can decompose our time series into separate stationary
and deterministic components.
Time series decomposition
 The general mathematical representation of the decomposition approach:
Yt = f (Tt , St , Et )
where
) Yt is the time series value (actual data) at period t;
) Tt is a deterministic trend-cycle or general movement component;
) St is a deterministic seasonal component
) Et is the irregular (remainder or residual) (stationary) component.
The exact functional form of f (·) depends on the decomposition method used.
Trend Stationary Time Series
 A common approach is to assume that the equation has an additive
form:
Yt = Tt + St + Et
Trend, seasonal and irregular components are simply added together to give the
observed series.
Alternatively, the multiplicative decomposition has the form:
Yt = Tt · St · Et
Trend, seasonal and irregular components are multiplied together to give the
observed series.
Additive or multiplicative?
 An additive model is appropriate if the magnitude of the seasonal
fluctuations does not vary with the level of time series;
 The multiplicative model is appropriate if the seasonal fluctuations increase
or decrease proportionally with increases and decreases in the level of the
series.
 Multiplicative decomposition is more prevalent with economic series because
most seasonal economic series do have seasonal variations which increase
with the level of the series.
 Rather than choosing either an additive or multiplicative decomposition, we
could transform the data beforehand.
Transforming data of a multiplicative
model
 Very often the transformed series can be modeled additively when the
original data is not additive. In particular, logarithms turn a multiplicative
relationship into an additive relationship:
) if our model is
Yt = Tt · St · Et
) then taking the logarithms of both sides gives us:
log (Yt ) = log(Tt ) + log(St ) + log(Et )
 So, we can fit a multiplicative relationship by fitting a more convenient
additive relationship to the logarithms of the data and then to move back to
the original series by exponentiating.
Basic Steps in Decomposition
 Estimate the trend. Two approaches:
) Using a smoothing procedure;
) Specifying a regression equation for the trend;
 De-trending the series:
) For an additive decomposition, this is done by subtracting the trend estimates
from the series;
) For a multiplicative decomposition, this is done by dividing the series by the
estimated trend values.
 Estimating the seasonal factors from the de-trended series:
) Calculate the mean (or median) values of the de-trended series for each
specific period (for example, for monthly data - to estimate the seasonal effect
of January - average the de-trended values for all January values in the series
etc);
) Alternatively, the seasonal effects could also be estimated along with the trend
by specifying a regression equation.
 The number of seasonal factors is equal to the frequency of the series (e.g.
monthly data = 12 seasonal factors, quarterly data = 4, etc.).
Basic Steps in Decomposition
 The seasonal effects should be normalized:
) For an additive model, seasonal effects are adjusted so that the average of d
seasonal components is 0 (this is equivalent to their sum being equal to 0);
) For a multiplicative model, the d seasonal effects are adjusted so that they
average to 1 (this is equivalent to their sum being equal to d );
 Calculate the irregular component
 Analyze the residual component. Whichever method was used to decompose
the series, the aim is to produce stationary residuals.
 Choose a model to fit the stationary residuals (e.g. see ARMA models).
 Forecasting can be achieved by forecasting the residuals and combining with
the forecasts of the trend and seasonal components.
Estimating the trend, Tt
 There are various ways to estimate the trend Tt at time t but a relatively
simple procedure which does not assume any specific form of Tt is to
calculate a moving average centered on t.
 A moving average is an average of a specific number of time series values
around each value of t in the time series, with the exception of the first few
and last few terms (this procedure is available in R with the decompose
function). This method smoothes the time series.
 The estimation depends on the seasonality of the time series:
) If the time series has no seasonal component;
) If the time series contains a seasonal component;
 Smoothing is usually done to help us better see patterns (like the trend) in
the time series by smoothing out the irregular roughness to see a clearer
signal. For seasonal data, we might smooth out the seasonality so that we
can identify the trend.
Estimating Tt if the time series has no
seasonal component
 In order to estimate the trend, we can take any odd number, for example, if l
= 3, we can estimate an additive model:
 In this case, we are calculating the averages, either:
) centered around t - one element to the left (past) and one element to the
right (future),
) or alternatively - two elements to the left of t (past values at t − 1 and t − 2).
Estimating Tt if the time series contains a
seasonal component
 If the time series contains a seasonal component and we want to average it
out, the length of the moving average must be equal to the seasonal
frequency (for monthly series, we would take l = 12). However, there is a
slight hurdle.
 Suppose, our time series begins in January (t = 1) and we average up to
December (t = 12). This averages corresponds to a time t = 6.5 (time
between June and July).
 When we come to estimate seasonal effects, we need a moving average at
integer times. This can be achieved by averaging the average of January to
December and the average of February (t = 2) up to January
 (t = 13). This average of the two moving averages corresponds to t = 7 and
the process is called centering.
Thank You

More Related Content

What's hot

Time series analysis
Time series analysisTime series analysis
Time series analysis
Utkarsh Sharma
 
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
Simplilearn
 
Time series slideshare
Time series slideshareTime series slideshare
Time series slideshare
Sabbir Tahmidur Rahman
 
Time series Analysis
Time series AnalysisTime series Analysis
Time series analysis- Part 2
Time series analysis- Part 2Time series analysis- Part 2
Time series analysis- Part 2
QuantUniversity
 
IBM401 Lecture 12
IBM401 Lecture 12IBM401 Lecture 12
IBM401 Lecture 12saark
 
Mba 532 2011_part_3_time_series_analysis
Mba 532 2011_part_3_time_series_analysisMba 532 2011_part_3_time_series_analysis
Mba 532 2011_part_3_time_series_analysisChandra Kodituwakku
 
Econometrics
EconometricsEconometrics
Econometrics
QuantUniversity
 
Data Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series ForecastingData Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series Forecasting
Derek Kane
 
Time Series - 1
Time Series - 1Time Series - 1
Time Series - 1
Birinder Singh Gulati
 
Demand forecasting by time series analysis
Demand forecasting by time series analysisDemand forecasting by time series analysis
Demand forecasting by time series analysis
Sunny Gandhi
 
Time series
Time seriesTime series
Time series
Nadeem Uddin
 
Lesson 2 stationary_time_series
Lesson 2 stationary_time_seriesLesson 2 stationary_time_series
Lesson 2 stationary_time_series
ankit_ppt
 
Trend analysis - Lecture Notes
Trend analysis - Lecture NotesTrend analysis - Lecture Notes
Trend analysis - Lecture Notes
Dr. Nirav Vyas
 
1634 time series and trend analysis
1634 time series and trend analysis1634 time series and trend analysis
1634 time series and trend analysis
Dr Fereidoun Dejahang
 

What's hot (19)

Time series analysis
Time series analysisTime series analysis
Time series analysis
 
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
 
Time series slideshare
Time series slideshareTime series slideshare
Time series slideshare
 
Time series
Time seriesTime series
Time series
 
Time series Analysis
Time series AnalysisTime series Analysis
Time series Analysis
 
Chapter 18 Part I
Chapter 18 Part IChapter 18 Part I
Chapter 18 Part I
 
Time series analysis- Part 2
Time series analysis- Part 2Time series analysis- Part 2
Time series analysis- Part 2
 
IBM401 Lecture 12
IBM401 Lecture 12IBM401 Lecture 12
IBM401 Lecture 12
 
Mba 532 2011_part_3_time_series_analysis
Mba 532 2011_part_3_time_series_analysisMba 532 2011_part_3_time_series_analysis
Mba 532 2011_part_3_time_series_analysis
 
Econometrics
EconometricsEconometrics
Econometrics
 
Data Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series ForecastingData Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series Forecasting
 
Time series
Time seriesTime series
Time series
 
Time Series - 1
Time Series - 1Time Series - 1
Time Series - 1
 
Demand forecasting by time series analysis
Demand forecasting by time series analysisDemand forecasting by time series analysis
Demand forecasting by time series analysis
 
Time series
Time seriesTime series
Time series
 
Lesson 2 stationary_time_series
Lesson 2 stationary_time_seriesLesson 2 stationary_time_series
Lesson 2 stationary_time_series
 
Time series Forecasting
Time series ForecastingTime series Forecasting
Time series Forecasting
 
Trend analysis - Lecture Notes
Trend analysis - Lecture NotesTrend analysis - Lecture Notes
Trend analysis - Lecture Notes
 
1634 time series and trend analysis
1634 time series and trend analysis1634 time series and trend analysis
1634 time series and trend analysis
 

Similar to Trend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta

Lecture_03.pdf
Lecture_03.pdfLecture_03.pdf
Lecture_03.pdf
jeys3
 
2b. Decomposition.pptx
2b. Decomposition.pptx2b. Decomposition.pptx
2b. Decomposition.pptx
gigol12808
 
Holtwinters terakhir lengkap
Holtwinters terakhir lengkapHoltwinters terakhir lengkap
Holtwinters terakhir lengkap
Zulyy Astutik
 
time series modeling.pptx
time series modeling.pptxtime series modeling.pptx
time series modeling.pptx
Victoria Bozhenko
 
Trend and Seasonal Components / abshor.marantika / Dwi Puspita Rini
Trend and Seasonal Components / abshor.marantika / Dwi Puspita RiniTrend and Seasonal Components / abshor.marantika / Dwi Puspita Rini
Trend and Seasonal Components / abshor.marantika / Dwi Puspita Rini
Dwi Puspita Rini
 
Time Series Analysis and Forecasting.ppt
Time Series Analysis and Forecasting.pptTime Series Analysis and Forecasting.ppt
Time Series Analysis and Forecasting.ppt
ssuser220491
 
Time Series Analysis and Forecasting.ppt
Time Series Analysis and Forecasting.pptTime Series Analysis and Forecasting.ppt
Time Series Analysis and Forecasting.ppt
ReylienCastillo1
 
Adesanya dissagregation of data corrected
Adesanya dissagregation of data correctedAdesanya dissagregation of data corrected
Adesanya dissagregation of data corrected
Alexander Decker
 
time series.pdf
time series.pdftime series.pdf
time series.pdf
college
 
Chapter 7 demand forecasting in a supply chain
Chapter 7 demand forecasting in a supply chainChapter 7 demand forecasting in a supply chain
Chapter 7 demand forecasting in a supply chain
sajidsharif2022
 
Enterprise_Planning_TimeSeries_And_Components
Enterprise_Planning_TimeSeries_And_ComponentsEnterprise_Planning_TimeSeries_And_Components
Enterprise_Planning_TimeSeries_And_Components
nanfei
 
Advanced Econometrics L10.pptx
Advanced Econometrics L10.pptxAdvanced Econometrics L10.pptx
Advanced Econometrics L10.pptx
akashayosha
 
time series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdftime series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdf
ssuser220491
 
CHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78t
CHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78tCHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78t
CHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78t
2cd
 
analysisofts-210119150637.pptx
analysisofts-210119150637.pptxanalysisofts-210119150637.pptx
analysisofts-210119150637.pptx
SoujanyaLk1
 
Time series analysis aids in decomposing a series into parts which.docx
Time series analysis aids in decomposing a series into parts which.docxTime series analysis aids in decomposing a series into parts which.docx
Time series analysis aids in decomposing a series into parts which.docx
juliennehar
 
1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-main1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-main
Zulyy Astutik
 
1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-main1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-main
Zulyy Astutik
 
Forecasting
ForecastingForecasting
Forecasting3abooodi
 

Similar to Trend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta (20)

Lecture_03.pdf
Lecture_03.pdfLecture_03.pdf
Lecture_03.pdf
 
2b. Decomposition.pptx
2b. Decomposition.pptx2b. Decomposition.pptx
2b. Decomposition.pptx
 
Time Series FORECASTING
Time Series FORECASTINGTime Series FORECASTING
Time Series FORECASTING
 
Holtwinters terakhir lengkap
Holtwinters terakhir lengkapHoltwinters terakhir lengkap
Holtwinters terakhir lengkap
 
time series modeling.pptx
time series modeling.pptxtime series modeling.pptx
time series modeling.pptx
 
Trend and Seasonal Components / abshor.marantika / Dwi Puspita Rini
Trend and Seasonal Components / abshor.marantika / Dwi Puspita RiniTrend and Seasonal Components / abshor.marantika / Dwi Puspita Rini
Trend and Seasonal Components / abshor.marantika / Dwi Puspita Rini
 
Time Series Analysis and Forecasting.ppt
Time Series Analysis and Forecasting.pptTime Series Analysis and Forecasting.ppt
Time Series Analysis and Forecasting.ppt
 
Time Series Analysis and Forecasting.ppt
Time Series Analysis and Forecasting.pptTime Series Analysis and Forecasting.ppt
Time Series Analysis and Forecasting.ppt
 
Adesanya dissagregation of data corrected
Adesanya dissagregation of data correctedAdesanya dissagregation of data corrected
Adesanya dissagregation of data corrected
 
time series.pdf
time series.pdftime series.pdf
time series.pdf
 
Chapter 7 demand forecasting in a supply chain
Chapter 7 demand forecasting in a supply chainChapter 7 demand forecasting in a supply chain
Chapter 7 demand forecasting in a supply chain
 
Enterprise_Planning_TimeSeries_And_Components
Enterprise_Planning_TimeSeries_And_ComponentsEnterprise_Planning_TimeSeries_And_Components
Enterprise_Planning_TimeSeries_And_Components
 
Advanced Econometrics L10.pptx
Advanced Econometrics L10.pptxAdvanced Econometrics L10.pptx
Advanced Econometrics L10.pptx
 
time series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdftime series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdf
 
CHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78t
CHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78tCHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78t
CHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78t
 
analysisofts-210119150637.pptx
analysisofts-210119150637.pptxanalysisofts-210119150637.pptx
analysisofts-210119150637.pptx
 
Time series analysis aids in decomposing a series into parts which.docx
Time series analysis aids in decomposing a series into parts which.docxTime series analysis aids in decomposing a series into parts which.docx
Time series analysis aids in decomposing a series into parts which.docx
 
1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-main1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-main
 
1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-main1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-main
 
Forecasting
ForecastingForecasting
Forecasting
 

Recently uploaded

RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
BBPMedia1
 
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).pptENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
zechu97
 
The-McKinsey-7S-Framework. strategic management
The-McKinsey-7S-Framework. strategic managementThe-McKinsey-7S-Framework. strategic management
The-McKinsey-7S-Framework. strategic management
Bojamma2
 
anas about venice for grade 6f about venice
anas about venice for grade 6f about veniceanas about venice for grade 6f about venice
anas about venice for grade 6f about venice
anasabutalha2013
 
What is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdfWhat is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdf
seoforlegalpillers
 
Premium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern BusinessesPremium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern Businesses
SynapseIndia
 
The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...
balatucanapplelovely
 
Cracking the Workplace Discipline Code Main.pptx
Cracking the Workplace Discipline Code Main.pptxCracking the Workplace Discipline Code Main.pptx
Cracking the Workplace Discipline Code Main.pptx
Workforce Group
 
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
BBPMedia1
 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
Aurelien Domont, MBA
 
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n PrintAffordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Navpack & Print
 
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdfSearch Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Arihant Webtech Pvt. Ltd
 
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdfModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
fisherameliaisabella
 
April 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products NewsletterApril 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products Newsletter
NathanBaughman3
 
Unveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdfUnveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdf
Sam H
 
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptxCADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
fakeloginn69
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
LR1709MUSIC
 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
marketing317746
 
Project File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdfProject File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdf
RajPriye
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
tanyjahb
 

Recently uploaded (20)

RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
 
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).pptENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
 
The-McKinsey-7S-Framework. strategic management
The-McKinsey-7S-Framework. strategic managementThe-McKinsey-7S-Framework. strategic management
The-McKinsey-7S-Framework. strategic management
 
anas about venice for grade 6f about venice
anas about venice for grade 6f about veniceanas about venice for grade 6f about venice
anas about venice for grade 6f about venice
 
What is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdfWhat is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdf
 
Premium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern BusinessesPremium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern Businesses
 
The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...
 
Cracking the Workplace Discipline Code Main.pptx
Cracking the Workplace Discipline Code Main.pptxCracking the Workplace Discipline Code Main.pptx
Cracking the Workplace Discipline Code Main.pptx
 
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
 
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n PrintAffordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n Print
 
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdfSearch Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdf
 
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdfModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
 
April 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products NewsletterApril 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products Newsletter
 
Unveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdfUnveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdf
 
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptxCADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
 
Project File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdfProject File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdf
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
 

Trend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta

  • 1. Trend and Seasonal Components Group Member : Anna Revin Nadita Cindy Aprilia Fitri Andriyani Prastika Ambarita
  • 2. Time series with deterministic components  Up until now we assumed our time series is generated by a stationary process - either a white noise, an autoregressive, a moving-average or an ARMA process.  However, this is not usually the case with real-world data - they are often governed by a (deterministic) trend and they might have (deterministic) cyclical or seasonal components in addition to the irregular/remainder (stationary process) component: Trend component - a long-term increase or decrease in the data which might not be linear. Sometimes the trend might change direction as time increases. Cyclical component - exists when data exhibit rises and falls that are not of fixed period. The average length of cycles is longer than the length of a seasonal pattern. In practice, the trend component is assumed to include also the cyclical component. Sometimes the trend and cyclical components together are called as trend-cycle. Seasonal component - exists when a series exhibits regular fluctuations based on the season (e.g. every month/quarter/year). Seasonality is always of a fixed and known period. Irregular component - a stationary process.
  • 3. In order to remove the deterministic components, we can decompose our time series into separate stationary and deterministic components.
  • 4. Time series decomposition  The general mathematical representation of the decomposition approach: Yt = f (Tt , St , Et ) where ) Yt is the time series value (actual data) at period t; ) Tt is a deterministic trend-cycle or general movement component; ) St is a deterministic seasonal component ) Et is the irregular (remainder or residual) (stationary) component. The exact functional form of f (·) depends on the decomposition method used.
  • 5. Trend Stationary Time Series  A common approach is to assume that the equation has an additive form: Yt = Tt + St + Et Trend, seasonal and irregular components are simply added together to give the observed series. Alternatively, the multiplicative decomposition has the form: Yt = Tt · St · Et Trend, seasonal and irregular components are multiplied together to give the observed series.
  • 6. Additive or multiplicative?  An additive model is appropriate if the magnitude of the seasonal fluctuations does not vary with the level of time series;  The multiplicative model is appropriate if the seasonal fluctuations increase or decrease proportionally with increases and decreases in the level of the series.  Multiplicative decomposition is more prevalent with economic series because most seasonal economic series do have seasonal variations which increase with the level of the series.  Rather than choosing either an additive or multiplicative decomposition, we could transform the data beforehand.
  • 7. Transforming data of a multiplicative model  Very often the transformed series can be modeled additively when the original data is not additive. In particular, logarithms turn a multiplicative relationship into an additive relationship: ) if our model is Yt = Tt · St · Et ) then taking the logarithms of both sides gives us: log (Yt ) = log(Tt ) + log(St ) + log(Et )  So, we can fit a multiplicative relationship by fitting a more convenient additive relationship to the logarithms of the data and then to move back to the original series by exponentiating.
  • 8. Basic Steps in Decomposition  Estimate the trend. Two approaches: ) Using a smoothing procedure; ) Specifying a regression equation for the trend;  De-trending the series: ) For an additive decomposition, this is done by subtracting the trend estimates from the series; ) For a multiplicative decomposition, this is done by dividing the series by the estimated trend values.  Estimating the seasonal factors from the de-trended series: ) Calculate the mean (or median) values of the de-trended series for each specific period (for example, for monthly data - to estimate the seasonal effect of January - average the de-trended values for all January values in the series etc); ) Alternatively, the seasonal effects could also be estimated along with the trend by specifying a regression equation.  The number of seasonal factors is equal to the frequency of the series (e.g. monthly data = 12 seasonal factors, quarterly data = 4, etc.).
  • 9. Basic Steps in Decomposition  The seasonal effects should be normalized: ) For an additive model, seasonal effects are adjusted so that the average of d seasonal components is 0 (this is equivalent to their sum being equal to 0); ) For a multiplicative model, the d seasonal effects are adjusted so that they average to 1 (this is equivalent to their sum being equal to d );  Calculate the irregular component  Analyze the residual component. Whichever method was used to decompose the series, the aim is to produce stationary residuals.  Choose a model to fit the stationary residuals (e.g. see ARMA models).  Forecasting can be achieved by forecasting the residuals and combining with the forecasts of the trend and seasonal components.
  • 10. Estimating the trend, Tt  There are various ways to estimate the trend Tt at time t but a relatively simple procedure which does not assume any specific form of Tt is to calculate a moving average centered on t.  A moving average is an average of a specific number of time series values around each value of t in the time series, with the exception of the first few and last few terms (this procedure is available in R with the decompose function). This method smoothes the time series.  The estimation depends on the seasonality of the time series: ) If the time series has no seasonal component; ) If the time series contains a seasonal component;  Smoothing is usually done to help us better see patterns (like the trend) in the time series by smoothing out the irregular roughness to see a clearer signal. For seasonal data, we might smooth out the seasonality so that we can identify the trend.
  • 11. Estimating Tt if the time series has no seasonal component  In order to estimate the trend, we can take any odd number, for example, if l = 3, we can estimate an additive model:  In this case, we are calculating the averages, either: ) centered around t - one element to the left (past) and one element to the right (future), ) or alternatively - two elements to the left of t (past values at t − 1 and t − 2).
  • 12. Estimating Tt if the time series contains a seasonal component  If the time series contains a seasonal component and we want to average it out, the length of the moving average must be equal to the seasonal frequency (for monthly series, we would take l = 12). However, there is a slight hurdle.  Suppose, our time series begins in January (t = 1) and we average up to December (t = 12). This averages corresponds to a time t = 6.5 (time between June and July).  When we come to estimate seasonal effects, we need a moving average at integer times. This can be achieved by averaging the average of January to December and the average of February (t = 2) up to January  (t = 13). This average of the two moving averages corresponds to t = 7 and the process is called centering.