SlideShare a Scribd company logo
1 of 13
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 - 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 analysis- Part 2
Time series analysis- Part 2Time series analysis- Part 2
Time series analysis- Part 2QuantUniversity
 
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
 
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 ForecastingDerek Kane
 
Demand forecasting by time series analysis
Demand forecasting by time series analysisDemand forecasting by time series analysis
Demand forecasting by time series analysisSunny Gandhi
 
Lesson 2 stationary_time_series
Lesson 2 stationary_time_seriesLesson 2 stationary_time_series
Lesson 2 stationary_time_seriesankit_ppt
 
Trend analysis - Lecture Notes
Trend analysis - Lecture NotesTrend analysis - Lecture Notes
Trend analysis - Lecture NotesDr. Nirav Vyas
 

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.pdfjeys3
 
2b. Decomposition.pptx
2b. Decomposition.pptx2b. Decomposition.pptx
2b. Decomposition.pptxgigol12808
 
Holtwinters terakhir lengkap
Holtwinters terakhir lengkapHoltwinters terakhir lengkap
Holtwinters terakhir lengkapZulyy Astutik
 
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 RiniDwi Puspita Rini
 
Time Series Analysis and Forecasting.ppt
Time Series Analysis and Forecasting.pptTime Series Analysis and Forecasting.ppt
Time Series Analysis and Forecasting.pptssuser220491
 
Adesanya dissagregation of data corrected
Adesanya dissagregation of data correctedAdesanya dissagregation of data corrected
Adesanya dissagregation of data correctedAlexander Decker
 
time series.pdf
time series.pdftime series.pdf
time series.pdfcollege
 
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 chainsajidsharif2022
 
Enterprise_Planning_TimeSeries_And_Components
Enterprise_Planning_TimeSeries_And_ComponentsEnterprise_Planning_TimeSeries_And_Components
Enterprise_Planning_TimeSeries_And_Componentsnanfei
 
Advanced Econometrics L10.pptx
Advanced Econometrics L10.pptxAdvanced Econometrics L10.pptx
Advanced Econometrics L10.pptxakashayosha
 
time series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdftime series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdfssuser220491
 
CHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78t
CHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78tCHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78t
CHAPTER- FIVE.pptx futfuyuiui898 y90y8y98t78t2cd
 
analysisofts-210119150637.pptx
analysisofts-210119150637.pptxanalysisofts-210119150637.pptx
analysisofts-210119150637.pptxSoujanyaLk1
 
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.docxjuliennehar
 
1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-main1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-mainZulyy Astutik
 
1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-main1 s2.0-0272696386900197-main
1 s2.0-0272696386900197-mainZulyy Astutik
 
Forecasting
ForecastingForecasting
Forecasting3abooodi
 
Iso 9001 and 14001
Iso 9001 and 14001Iso 9001 and 14001
Iso 9001 and 14001porikgefus
 

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
 
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
 
Iso 9001 and 14001
Iso 9001 and 14001Iso 9001 and 14001
Iso 9001 and 14001
 

Recently uploaded

M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptx
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptxBanana Powder Manufacturing Plant Project Report 2024 Edition.pptx
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptxgeorgebrinton95
 
A.I. Bot Summit 3 Opening Keynote - Perry Belcher
A.I. Bot Summit 3 Opening Keynote - Perry BelcherA.I. Bot Summit 3 Opening Keynote - Perry Belcher
A.I. Bot Summit 3 Opening Keynote - Perry BelcherPerry Belcher
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechNewman George Leech
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfmuskan1121w
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCRsoniya singh
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
CATALOG cáp điện Goldcup (bảng giá) 1.4.2024.PDF
CATALOG cáp điện Goldcup (bảng giá) 1.4.2024.PDFCATALOG cáp điện Goldcup (bảng giá) 1.4.2024.PDF
CATALOG cáp điện Goldcup (bảng giá) 1.4.2024.PDFOrient Homes
 
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCRsoniya singh
 
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service DewasVip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewasmakika9823
 
Marketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet CreationsMarketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet Creationsnakalysalcedo61
 
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiFULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiMalviyaNagarCallGirl
 
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 

Recently uploaded (20)

M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
Best Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting PartnershipBest Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting Partnership
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
KestrelPro Flyer Japan IT Week 2024 (English)
KestrelPro Flyer Japan IT Week 2024 (English)KestrelPro Flyer Japan IT Week 2024 (English)
KestrelPro Flyer Japan IT Week 2024 (English)
 
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptx
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptxBanana Powder Manufacturing Plant Project Report 2024 Edition.pptx
Banana Powder Manufacturing Plant Project Report 2024 Edition.pptx
 
A.I. Bot Summit 3 Opening Keynote - Perry Belcher
A.I. Bot Summit 3 Opening Keynote - Perry BelcherA.I. Bot Summit 3 Opening Keynote - Perry Belcher
A.I. Bot Summit 3 Opening Keynote - Perry Belcher
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman Leech
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdf
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
CATALOG cáp điện Goldcup (bảng giá) 1.4.2024.PDF
CATALOG cáp điện Goldcup (bảng giá) 1.4.2024.PDFCATALOG cáp điện Goldcup (bảng giá) 1.4.2024.PDF
CATALOG cáp điện Goldcup (bảng giá) 1.4.2024.PDF
 
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
 
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service DewasVip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
 
Marketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet CreationsMarketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet Creations
 
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
 
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiFULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
 
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 

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.