SlideShare a Scribd company logo
1 of 40
Download to read offline
TIME SERIES FORECASTING
9-Jan-18 1
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
VISUALIZING TIME SERIES
COMPONENTS
9-Jan-18 2
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Steps in Forecasting
1. Problem definition:
2. Gathering information
3. Preliminary (exploratory) analysis.
4. Choosing and fitting models
5. Using and evaluating a forecasting model.
3
Objective of this lesson is to explore several time series data
sets and apply visual methods using R to extract information
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Problem Definition
Time series forecasting involves
• Understanding historical pattern of data
• Using past knowledge forecasting for future
Before a forecasting problem is taken up, decision needs to be
made regarding the forecast horizon
4
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Forecast Range
Different industry needs different forecast range for different purpose
Example: Airlines industry: Interested in passenger volume forecast
Passenger volume is the driving force behind all its operation
• Long-term forecast: 5-10 years
̶ Required for strategic decision making
̶ Acknowledging limited reliability of these forecasts
• Mid-term forecast: 2-5 years
̶ Manpower hiring
̶ Decision on addition/alteration in new and existing routes
• Short-term forecast: 2 weeks – 6 months
̶ Manpower rostering
̶ Dynamic pricing
5
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Forecast Range
• Supply Chain: Responds to customer demand
̶ Very long range forecast will not serve the purpose well
̶ In addition to taking into account the past demand, lead time
and planned advertising and other marketing activity must be
incorporated into forecast horizon
6
• Contract Research Organization doing clinical trials
̶ 2000 trials running simultaneously across the world
̶ Need to forecast monthly for each of some 5000 items required
for trials for next 6 months
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Gathering Information
Historical data required for future prediction
If volume of data is limited, forecasts will not
be reliable enough
If data is available for very long past, data may
not be useful at all
7
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example: Clay Brick Production
8
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example: Clay Brick Production
9
Series not stable
Use stable part for forecast
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example: Crest Toothpaste
10
0
0.1
0.2
0.3
0.4
0.5
0.6
Week
0001
W07
0001
W14
0001
W21
0001
W28
0001
W35
0001
W42
0001
W49
0002
W04
0002
W11
0002
W18
0002
W25
0002
W32
0002
W39
0002
W46
0003
W01
0003
W08
0003
W15
0003
W22
0003
W29
0003
W36
0003
W43
0003
W50
0004
W05
0004
W12
0004
W19
0004
W26
0004
W33
0004
W40
0004
W47
0005
W02
0005
W09
0005
W16
0005
W23
0005
W30
0005
W37
0005
W44
0005
W51
0006
W06
0006
W13
Weekly Market Share
Use later part only for forecast
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Exploratory analysis
Plotting of both series highlighted the changed pattern in the
series
First step: Plot the time series.
Graphs enable many features of the data to be visualized,
including patterns, unusual observations, changes over time,
and relationships between variables.
Appropriate graph captures the inherent features of time
series
11
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Time Series in R
 A time series is saved as a ts object in R with special properties
appropriate to the series
USGDP <- ts(US_GDP[,2], start=c(1929,1), end=c(1991,1),
frequency=1)
plot(USGDP)
Shoe <- ts(Shoe_Sales[,3], start=c(2011,1), frequency=12)
plot(Shoe)
Income <- ts(Quarterly_Income[,3], start=c(2000,4), frequency=4)
plot(Income)
12
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
What do graphs reveal?
GDP shows a continuous upward movemet
Shoe sales show two features:
There is a typical movement within a year
This type of shoe sales went up from 2011 – 2014 and past that
it shows decline
Quarterly income started low, went up to some extent but
movement of this series is spikey – some quarters show sudden
jump
13
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
What do graphs reveal?
These observations give clue to inherent features of the time
series, known as components of time series
14
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Components of Time Series
15
Time Series Components
 Trend
 Seasonal component
 Cyclic component
 Irregular component (Error or Random Component)
Graphs highlight variety of patterns inherent to TS
A TS can be split into several components, each representing one of the
underlying categories of patterns,
Systematic
Component
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Trend
16
• Long term movement of a series: either increasing or
decreasing
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example: Demand of Bricks
9-Jan-18 17
75
95
115
135
155
175
195
215
1988-01
1988-02
1988-03
1988-04
1988-05
1988-06
1988-07
1988-08
1988-09
1988-10
1988-11
1988-12
1989-01
1989-02
1989-03
1989-04
1989-05
1989-06
1989-07
1989-08
1989-09
1989-10
1989-11
1989-12
1990-01
1990-02
1990-03
1990-04
1990-05
1990-06
1990-07
1990-08
1990-09
1990-10
1990-11
1990-12
1991-01
1991-02
1991-03
1991-04
1991-05
1991-06
1991-07
1991-08
1991-09
1991-10
1991-11
1991-12
Bricks
High Demand (May)
Low Demand (Jan)
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example: Demand of Bricks
Across each year demand for bricks follow a
repetitive pattern
In a particular month (Jan) demand is the
lowest
In some other months, demand fluctutaes
18
9-Jan-18
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Seasonality
19
• Representing intra-year stable fluctuations repeatable year
after year with respect to timing, direction and magnitude
• Normal variations that recur every year to the
same extent
• A Yearly series does not have seasonality
.
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Seasonality
• Demand for winter clothes
• Airlines and train ticket demands
• Incidence of influenza or other vector-borne
diseases
20
9-Jan-18
Stock prices typically will not show any
seasonal pattern
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example: Sale of Shoes
21
2011-13 demand increasing
2013-15 stable demand
2015 onwards demand declining
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Cyclical Component
22
• In addition to within year stable fluctuation,
demand for this particular style of shoes show
increase over years for a period and then decrease
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Systematic Components
• Trend, Seasonality, Cyclicality are part of
systematic component
• These patterns are interpretable
• These can be estimated
• Forecast of time series involves estimation
and extrapolation of these components
23
We focus on Trend and Seasonality only
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Irregular Component
The error or variability associated with the series is the Irregular
component
This component is a random component
The part of the series that cannot be explained through Systematic
component forms the Irregular Component
Other names of this component is Error or White Noise
This component is assumed to have a normal distribution with 0 mean and
constant variance σ2
24
9-Jan-18
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Graphically identify Important
Characteristics
• Time Series plots are the first step in understanding the
pattern of the data
• Not only it identifies whether there are trend, seasonality or
cyclicality, it also identifies
̶ Which historical horizon to include for forecasting
̶ Is there any abrupt change in the level of the series?
̶ Whether there are any unusual observations in the series
̶ sudden spikes or sudden drops!
25
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Time Series: Important Characteristics
26
 Is there a Trend?
 Is there a Seasonality?
 Are there Outliers? [How to handle?]
 Is there a Long-run cycle?
 Is there any Abrupt change in the level?
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example 1: Reserve Bank of Australia
Govt Bond 2-Year Security
27
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example 1: Important Characteristics
28
 Is there a Trend? No perceptible trend overall; might
depend on which portion you are considering
 Is there a Seasonality? No seasonality
 Are there Outliers? Does not look like
 Is there a Long-run cycle? Difficult to say
 Is there any Abrupt change in the level? Yes
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example 2: Champagne Sales
29
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example 2: Important Characteristics
30
 Is there a Trend? No
 Is there a Seasonality? Definite seasonality
 Are there Outliers? Does not look like
 Is there a Long-run cycle? No
 Is there any Abrupt change in the level? No
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example 3: International Air Passengers
31
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example 3: Important Characteristics
32
 Is there a Trend? Yes, increasing trend
 Is there a Seasonality? Definite seasonality
 Are there Outliers? Does not look like
 Is there a Long-run cycle? No
 Is there any Abrupt change in the level? No
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example 4: Brick Production
33
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Example 4: Important Characteristics
34
 Is there a Trend? Increasing to start but after a while
became constant
 Is there a Seasonality? Yes
 Are there Outliers? Yes, possibly
 Is there a Long-run cycle? Most likely, yes
 Is there any Abrupt change in the level? No
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Visualization for Seasonality:
Seasonal Subseries for Champagne
Sales
35
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Visualization for Seasonality:
Seasonal Subseries
• Emphasizes the seasonality pattern where the data for each
season are collected together in separate mini time plots.
• The horizontal lines indicate the means for each season.
• The underlying seasonal pattern are clearly seen
• Changes in seasonality over time is clear
̶ Higher fluctuations in the later months
̶ Maximum fluctuation in Nov & Dec
36
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Seasonal Subplot: Airlines
Passengers
37
Every month of
every year
passenger volume
increases
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Seasonal Subplot: Quarterly
Income
38
Initially revenue
was low in every
quarter
Q3 shows one
high spike –
unusual
observation?
Q4 movements
almost
metronomic!
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Seasonal Subplot: Quarterly
Income
A thought:
Since all quarters of initial
years’ revenue seems
significantly lower compared
to the later years, would it
make more sense to discard
those initial years data for
forecasting?
9-Jan-18 39
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.
Next Step
In the next lesson we extract the components
of time series, namely trend and seasonality, to
improve understanding of time series and use
the information for forecasting
40
9-Jan-18
Thank You
haritika74@gmail.com
BABIINTLMAY19001
This file is meant for personal use by haritika74@gmail.com only.
Sharing or publishing the contents in part or full is liable for legal action.

More Related Content

Similar to Visualization IN DATA ANALYTICS IN TIME SERIES

Cis 500 Enhance teaching-snaptutorial.com
Cis 500 Enhance teaching-snaptutorial.comCis 500 Enhance teaching-snaptutorial.com
Cis 500 Enhance teaching-snaptutorial.comrobertleew8
 
Cis 500 Effective Communication - snaptutorial.com
Cis 500  Effective Communication - snaptutorial.comCis 500  Effective Communication - snaptutorial.com
Cis 500 Effective Communication - snaptutorial.comHarrisGeorg11
 
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...KINSHIP digital
 
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...Walter Adamson
 
Strayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditStrayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditshyaminfotech
 
Strayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditStrayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditshyaminfopvtltd
 
Strayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditStrayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditElijahEthaan
 
Strayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditStrayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditvindaniel123
 
Business Growth Planning Powerpoint Presentation Slides
Business Growth Planning Powerpoint Presentation SlidesBusiness Growth Planning Powerpoint Presentation Slides
Business Growth Planning Powerpoint Presentation SlidesSlideTeam
 
Quick response tool and die manufacturing
Quick response tool and die manufacturingQuick response tool and die manufacturing
Quick response tool and die manufacturingtavantoan
 
IT 244 Entire Course NEW
IT 244 Entire Course NEWIT 244 Entire Course NEW
IT 244 Entire Course NEWshyamuopfive
 
Big data, big deal, Acxiom
Big data, big deal, Acxiom  Big data, big deal, Acxiom
Big data, big deal, Acxiom Internet World
 
Chapter - FIVE - DEMAND FORECASTING.pptx
Chapter - FIVE - DEMAND FORECASTING.pptxChapter - FIVE - DEMAND FORECASTING.pptx
Chapter - FIVE - DEMAND FORECASTING.pptxMahinRahman11
 
Information Systems 365/765, Lecture 4, Policies, Data Classification, Traini...
Information Systems 365/765, Lecture 4, Policies, Data Classification, Traini...Information Systems 365/765, Lecture 4, Policies, Data Classification, Traini...
Information Systems 365/765, Lecture 4, Policies, Data Classification, Traini...Nicholas Davis
 
ModuleLearningOutcomesassessedinthispiec.docx
ModuleLearningOutcomesassessedinthispiec.docxModuleLearningOutcomesassessedinthispiec.docx
ModuleLearningOutcomesassessedinthispiec.docxssuserf9c51d
 
CIS 336 (STRAYER) Entire Course NEW
CIS 336 (STRAYER) Entire Course NEWCIS 336 (STRAYER) Entire Course NEW
CIS 336 (STRAYER) Entire Course NEWshyamuopuop
 
Kickstarter analytics
Kickstarter analyticsKickstarter analytics
Kickstarter analyticsTerry Kuo
 
Cis 599 Enhance teaching / snaptutorial.com
Cis 599   Enhance teaching / snaptutorial.comCis 599   Enhance teaching / snaptutorial.com
Cis 599 Enhance teaching / snaptutorial.comDavis105
 
Cis 599 Education Redefined - snaptutorial.com
Cis 599     Education Redefined - snaptutorial.comCis 599     Education Redefined - snaptutorial.com
Cis 599 Education Redefined - snaptutorial.comDavisMurphyC77
 

Similar to Visualization IN DATA ANALYTICS IN TIME SERIES (20)

Cis 500 Enhance teaching-snaptutorial.com
Cis 500 Enhance teaching-snaptutorial.comCis 500 Enhance teaching-snaptutorial.com
Cis 500 Enhance teaching-snaptutorial.com
 
Cis 500 Effective Communication - snaptutorial.com
Cis 500  Effective Communication - snaptutorial.comCis 500  Effective Communication - snaptutorial.com
Cis 500 Effective Communication - snaptutorial.com
 
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...
 
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...
Kinship Digital ASX GN8 Compliance Monitoring Social Media Examples Crown New...
 
Strayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditStrayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure audit
 
Strayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditStrayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure audit
 
Strayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditStrayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure audit
 
Strayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure auditStrayer cis 558 week 10 term paper managing an it infrastructure audit
Strayer cis 558 week 10 term paper managing an it infrastructure audit
 
Business Growth Planning Powerpoint Presentation Slides
Business Growth Planning Powerpoint Presentation SlidesBusiness Growth Planning Powerpoint Presentation Slides
Business Growth Planning Powerpoint Presentation Slides
 
Quick response tool and die manufacturing
Quick response tool and die manufacturingQuick response tool and die manufacturing
Quick response tool and die manufacturing
 
IT 244 Entire Course NEW
IT 244 Entire Course NEWIT 244 Entire Course NEW
IT 244 Entire Course NEW
 
MVA Project.pptx
MVA Project.pptxMVA Project.pptx
MVA Project.pptx
 
Big data, big deal, Acxiom
Big data, big deal, Acxiom  Big data, big deal, Acxiom
Big data, big deal, Acxiom
 
Chapter - FIVE - DEMAND FORECASTING.pptx
Chapter - FIVE - DEMAND FORECASTING.pptxChapter - FIVE - DEMAND FORECASTING.pptx
Chapter - FIVE - DEMAND FORECASTING.pptx
 
Information Systems 365/765, Lecture 4, Policies, Data Classification, Traini...
Information Systems 365/765, Lecture 4, Policies, Data Classification, Traini...Information Systems 365/765, Lecture 4, Policies, Data Classification, Traini...
Information Systems 365/765, Lecture 4, Policies, Data Classification, Traini...
 
ModuleLearningOutcomesassessedinthispiec.docx
ModuleLearningOutcomesassessedinthispiec.docxModuleLearningOutcomesassessedinthispiec.docx
ModuleLearningOutcomesassessedinthispiec.docx
 
CIS 336 (STRAYER) Entire Course NEW
CIS 336 (STRAYER) Entire Course NEWCIS 336 (STRAYER) Entire Course NEW
CIS 336 (STRAYER) Entire Course NEW
 
Kickstarter analytics
Kickstarter analyticsKickstarter analytics
Kickstarter analytics
 
Cis 599 Enhance teaching / snaptutorial.com
Cis 599   Enhance teaching / snaptutorial.comCis 599   Enhance teaching / snaptutorial.com
Cis 599 Enhance teaching / snaptutorial.com
 
Cis 599 Education Redefined - snaptutorial.com
Cis 599     Education Redefined - snaptutorial.comCis 599     Education Redefined - snaptutorial.com
Cis 599 Education Redefined - snaptutorial.com
 

More from HaritikaChhatwal1

SMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxSMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxHaritikaChhatwal1
 
Factor Analysis-Presentation DATA ANALYTICS
Factor Analysis-Presentation DATA ANALYTICSFactor Analysis-Presentation DATA ANALYTICS
Factor Analysis-Presentation DATA ANALYTICSHaritikaChhatwal1
 
Additional Reading material-Probability.ppt
Additional Reading material-Probability.pptAdditional Reading material-Probability.ppt
Additional Reading material-Probability.pptHaritikaChhatwal1
 
Decision Tree_Loan Delinquent_Problem Statement.pdf
Decision Tree_Loan Delinquent_Problem Statement.pdfDecision Tree_Loan Delinquent_Problem Statement.pdf
Decision Tree_Loan Delinquent_Problem Statement.pdfHaritikaChhatwal1
 
Frequency Based Classification Algorithms_ important
Frequency Based Classification Algorithms_ importantFrequency Based Classification Algorithms_ important
Frequency Based Classification Algorithms_ importantHaritikaChhatwal1
 
M2W1 - FBS - Descriptive Statistics_Mentoring Presentation.pptx
M2W1 - FBS - Descriptive Statistics_Mentoring Presentation.pptxM2W1 - FBS - Descriptive Statistics_Mentoring Presentation.pptx
M2W1 - FBS - Descriptive Statistics_Mentoring Presentation.pptxHaritikaChhatwal1
 
Introduction to R _IMPORTANT FOR DATA ANALYTICS
Introduction to R _IMPORTANT FOR DATA ANALYTICSIntroduction to R _IMPORTANT FOR DATA ANALYTICS
Introduction to R _IMPORTANT FOR DATA ANALYTICSHaritikaChhatwal1
 
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
BUSINESS ANALYTICS WITH R SOFTWARE DIASTBUSINESS ANALYTICS WITH R SOFTWARE DIAST
BUSINESS ANALYTICS WITH R SOFTWARE DIASTHaritikaChhatwal1
 
SESSION 1-2 [Autosaved] [Autosaved].pptx
SESSION 1-2 [Autosaved] [Autosaved].pptxSESSION 1-2 [Autosaved] [Autosaved].pptx
SESSION 1-2 [Autosaved] [Autosaved].pptxHaritikaChhatwal1
 
WORKSHEET INTRO AND TVM _SESSION 1 AND 2.pdf
WORKSHEET INTRO AND TVM _SESSION 1 AND 2.pdfWORKSHEET INTRO AND TVM _SESSION 1 AND 2.pdf
WORKSHEET INTRO AND TVM _SESSION 1 AND 2.pdfHaritikaChhatwal1
 
Epigeum at ntunive singapore MED900.pptx
Epigeum at ntunive singapore MED900.pptxEpigeum at ntunive singapore MED900.pptx
Epigeum at ntunive singapore MED900.pptxHaritikaChhatwal1
 
MED 900 Correlational Studies online safety sake.pptx
MED 900 Correlational Studies online safety sake.pptxMED 900 Correlational Studies online safety sake.pptx
MED 900 Correlational Studies online safety sake.pptxHaritikaChhatwal1
 
Nw Microsoft PowerPoint Presentation.pptx
Nw Microsoft PowerPoint Presentation.pptxNw Microsoft PowerPoint Presentation.pptx
Nw Microsoft PowerPoint Presentation.pptxHaritikaChhatwal1
 
HOWs CORRELATIONAL STUDIES are performed
HOWs CORRELATIONAL STUDIES are performedHOWs CORRELATIONAL STUDIES are performed
HOWs CORRELATIONAL STUDIES are performedHaritikaChhatwal1
 
CHAPTER 4 -TYPES OF BUSINESS.pptx
CHAPTER 4 -TYPES OF BUSINESS.pptxCHAPTER 4 -TYPES OF BUSINESS.pptx
CHAPTER 4 -TYPES OF BUSINESS.pptxHaritikaChhatwal1
 
CHAPTER 3-ENTREPRENEURSHIP [Autosaved].pptx
CHAPTER 3-ENTREPRENEURSHIP [Autosaved].pptxCHAPTER 3-ENTREPRENEURSHIP [Autosaved].pptx
CHAPTER 3-ENTREPRENEURSHIP [Autosaved].pptxHaritikaChhatwal1
 

More from HaritikaChhatwal1 (18)

SMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxSMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptx
 
Factor Analysis-Presentation DATA ANALYTICS
Factor Analysis-Presentation DATA ANALYTICSFactor Analysis-Presentation DATA ANALYTICS
Factor Analysis-Presentation DATA ANALYTICS
 
Additional Reading material-Probability.ppt
Additional Reading material-Probability.pptAdditional Reading material-Probability.ppt
Additional Reading material-Probability.ppt
 
Decision Tree_Loan Delinquent_Problem Statement.pdf
Decision Tree_Loan Delinquent_Problem Statement.pdfDecision Tree_Loan Delinquent_Problem Statement.pdf
Decision Tree_Loan Delinquent_Problem Statement.pdf
 
Frequency Based Classification Algorithms_ important
Frequency Based Classification Algorithms_ importantFrequency Based Classification Algorithms_ important
Frequency Based Classification Algorithms_ important
 
M2W1 - FBS - Descriptive Statistics_Mentoring Presentation.pptx
M2W1 - FBS - Descriptive Statistics_Mentoring Presentation.pptxM2W1 - FBS - Descriptive Statistics_Mentoring Presentation.pptx
M2W1 - FBS - Descriptive Statistics_Mentoring Presentation.pptx
 
Introduction to R _IMPORTANT FOR DATA ANALYTICS
Introduction to R _IMPORTANT FOR DATA ANALYTICSIntroduction to R _IMPORTANT FOR DATA ANALYTICS
Introduction to R _IMPORTANT FOR DATA ANALYTICS
 
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
BUSINESS ANALYTICS WITH R SOFTWARE DIASTBUSINESS ANALYTICS WITH R SOFTWARE DIAST
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
 
SESSION 1-2 [Autosaved] [Autosaved].pptx
SESSION 1-2 [Autosaved] [Autosaved].pptxSESSION 1-2 [Autosaved] [Autosaved].pptx
SESSION 1-2 [Autosaved] [Autosaved].pptx
 
WORKSHEET INTRO AND TVM _SESSION 1 AND 2.pdf
WORKSHEET INTRO AND TVM _SESSION 1 AND 2.pdfWORKSHEET INTRO AND TVM _SESSION 1 AND 2.pdf
WORKSHEET INTRO AND TVM _SESSION 1 AND 2.pdf
 
Epigeum at ntunive singapore MED900.pptx
Epigeum at ntunive singapore MED900.pptxEpigeum at ntunive singapore MED900.pptx
Epigeum at ntunive singapore MED900.pptx
 
MED 900 Correlational Studies online safety sake.pptx
MED 900 Correlational Studies online safety sake.pptxMED 900 Correlational Studies online safety sake.pptx
MED 900 Correlational Studies online safety sake.pptx
 
Nw Microsoft PowerPoint Presentation.pptx
Nw Microsoft PowerPoint Presentation.pptxNw Microsoft PowerPoint Presentation.pptx
Nw Microsoft PowerPoint Presentation.pptx
 
HOWs CORRELATIONAL STUDIES are performed
HOWs CORRELATIONAL STUDIES are performedHOWs CORRELATIONAL STUDIES are performed
HOWs CORRELATIONAL STUDIES are performed
 
DIAS PRESENTATION.pptx
DIAS PRESENTATION.pptxDIAS PRESENTATION.pptx
DIAS PRESENTATION.pptx
 
FULLTEXT01.pdf
FULLTEXT01.pdfFULLTEXT01.pdf
FULLTEXT01.pdf
 
CHAPTER 4 -TYPES OF BUSINESS.pptx
CHAPTER 4 -TYPES OF BUSINESS.pptxCHAPTER 4 -TYPES OF BUSINESS.pptx
CHAPTER 4 -TYPES OF BUSINESS.pptx
 
CHAPTER 3-ENTREPRENEURSHIP [Autosaved].pptx
CHAPTER 3-ENTREPRENEURSHIP [Autosaved].pptxCHAPTER 3-ENTREPRENEURSHIP [Autosaved].pptx
CHAPTER 3-ENTREPRENEURSHIP [Autosaved].pptx
 

Recently uploaded

{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
Spark3's new memory model/management
Spark3's new memory model/managementSpark3's new memory model/management
Spark3's new memory model/managementakshesh doshi
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 

Recently uploaded (20)

Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
Spark3's new memory model/management
Spark3's new memory model/managementSpark3's new memory model/management
Spark3's new memory model/management
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
Russian Call Girls Dwarka Sector 15 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...
Russian Call Girls Dwarka Sector 15 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...Russian Call Girls Dwarka Sector 15 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...
Russian Call Girls Dwarka Sector 15 💓 Delhi 9999965857 @Sabina Modi VVIP MODE...
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 

Visualization IN DATA ANALYTICS IN TIME SERIES

  • 1. TIME SERIES FORECASTING 9-Jan-18 1 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 2. VISUALIZING TIME SERIES COMPONENTS 9-Jan-18 2 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 3. Steps in Forecasting 1. Problem definition: 2. Gathering information 3. Preliminary (exploratory) analysis. 4. Choosing and fitting models 5. Using and evaluating a forecasting model. 3 Objective of this lesson is to explore several time series data sets and apply visual methods using R to extract information haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 4. Problem Definition Time series forecasting involves • Understanding historical pattern of data • Using past knowledge forecasting for future Before a forecasting problem is taken up, decision needs to be made regarding the forecast horizon 4 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 5. Forecast Range Different industry needs different forecast range for different purpose Example: Airlines industry: Interested in passenger volume forecast Passenger volume is the driving force behind all its operation • Long-term forecast: 5-10 years ̶ Required for strategic decision making ̶ Acknowledging limited reliability of these forecasts • Mid-term forecast: 2-5 years ̶ Manpower hiring ̶ Decision on addition/alteration in new and existing routes • Short-term forecast: 2 weeks – 6 months ̶ Manpower rostering ̶ Dynamic pricing 5 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 6. Forecast Range • Supply Chain: Responds to customer demand ̶ Very long range forecast will not serve the purpose well ̶ In addition to taking into account the past demand, lead time and planned advertising and other marketing activity must be incorporated into forecast horizon 6 • Contract Research Organization doing clinical trials ̶ 2000 trials running simultaneously across the world ̶ Need to forecast monthly for each of some 5000 items required for trials for next 6 months haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 7. Gathering Information Historical data required for future prediction If volume of data is limited, forecasts will not be reliable enough If data is available for very long past, data may not be useful at all 7 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 8. Example: Clay Brick Production 8 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 9. Example: Clay Brick Production 9 Series not stable Use stable part for forecast haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 11. Exploratory analysis Plotting of both series highlighted the changed pattern in the series First step: Plot the time series. Graphs enable many features of the data to be visualized, including patterns, unusual observations, changes over time, and relationships between variables. Appropriate graph captures the inherent features of time series 11 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 12. Time Series in R  A time series is saved as a ts object in R with special properties appropriate to the series USGDP <- ts(US_GDP[,2], start=c(1929,1), end=c(1991,1), frequency=1) plot(USGDP) Shoe <- ts(Shoe_Sales[,3], start=c(2011,1), frequency=12) plot(Shoe) Income <- ts(Quarterly_Income[,3], start=c(2000,4), frequency=4) plot(Income) 12 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 13. What do graphs reveal? GDP shows a continuous upward movemet Shoe sales show two features: There is a typical movement within a year This type of shoe sales went up from 2011 – 2014 and past that it shows decline Quarterly income started low, went up to some extent but movement of this series is spikey – some quarters show sudden jump 13 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 14. What do graphs reveal? These observations give clue to inherent features of the time series, known as components of time series 14 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 15. Components of Time Series 15 Time Series Components  Trend  Seasonal component  Cyclic component  Irregular component (Error or Random Component) Graphs highlight variety of patterns inherent to TS A TS can be split into several components, each representing one of the underlying categories of patterns, Systematic Component haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 16. Trend 16 • Long term movement of a series: either increasing or decreasing haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 17. Example: Demand of Bricks 9-Jan-18 17 75 95 115 135 155 175 195 215 1988-01 1988-02 1988-03 1988-04 1988-05 1988-06 1988-07 1988-08 1988-09 1988-10 1988-11 1988-12 1989-01 1989-02 1989-03 1989-04 1989-05 1989-06 1989-07 1989-08 1989-09 1989-10 1989-11 1989-12 1990-01 1990-02 1990-03 1990-04 1990-05 1990-06 1990-07 1990-08 1990-09 1990-10 1990-11 1990-12 1991-01 1991-02 1991-03 1991-04 1991-05 1991-06 1991-07 1991-08 1991-09 1991-10 1991-11 1991-12 Bricks High Demand (May) Low Demand (Jan) haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 18. Example: Demand of Bricks Across each year demand for bricks follow a repetitive pattern In a particular month (Jan) demand is the lowest In some other months, demand fluctutaes 18 9-Jan-18 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 19. Seasonality 19 • Representing intra-year stable fluctuations repeatable year after year with respect to timing, direction and magnitude • Normal variations that recur every year to the same extent • A Yearly series does not have seasonality . haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 20. Seasonality • Demand for winter clothes • Airlines and train ticket demands • Incidence of influenza or other vector-borne diseases 20 9-Jan-18 Stock prices typically will not show any seasonal pattern haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 21. Example: Sale of Shoes 21 2011-13 demand increasing 2013-15 stable demand 2015 onwards demand declining haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 22. Cyclical Component 22 • In addition to within year stable fluctuation, demand for this particular style of shoes show increase over years for a period and then decrease haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 23. Systematic Components • Trend, Seasonality, Cyclicality are part of systematic component • These patterns are interpretable • These can be estimated • Forecast of time series involves estimation and extrapolation of these components 23 We focus on Trend and Seasonality only haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 24. Irregular Component The error or variability associated with the series is the Irregular component This component is a random component The part of the series that cannot be explained through Systematic component forms the Irregular Component Other names of this component is Error or White Noise This component is assumed to have a normal distribution with 0 mean and constant variance σ2 24 9-Jan-18 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 25. Graphically identify Important Characteristics • Time Series plots are the first step in understanding the pattern of the data • Not only it identifies whether there are trend, seasonality or cyclicality, it also identifies ̶ Which historical horizon to include for forecasting ̶ Is there any abrupt change in the level of the series? ̶ Whether there are any unusual observations in the series ̶ sudden spikes or sudden drops! 25 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 26. Time Series: Important Characteristics 26  Is there a Trend?  Is there a Seasonality?  Are there Outliers? [How to handle?]  Is there a Long-run cycle?  Is there any Abrupt change in the level? haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 27. Example 1: Reserve Bank of Australia Govt Bond 2-Year Security 27 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 28. Example 1: Important Characteristics 28  Is there a Trend? No perceptible trend overall; might depend on which portion you are considering  Is there a Seasonality? No seasonality  Are there Outliers? Does not look like  Is there a Long-run cycle? Difficult to say  Is there any Abrupt change in the level? Yes haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 29. Example 2: Champagne Sales 29 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 30. Example 2: Important Characteristics 30  Is there a Trend? No  Is there a Seasonality? Definite seasonality  Are there Outliers? Does not look like  Is there a Long-run cycle? No  Is there any Abrupt change in the level? No haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 31. Example 3: International Air Passengers 31 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 32. Example 3: Important Characteristics 32  Is there a Trend? Yes, increasing trend  Is there a Seasonality? Definite seasonality  Are there Outliers? Does not look like  Is there a Long-run cycle? No  Is there any Abrupt change in the level? No haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 33. Example 4: Brick Production 33 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 34. Example 4: Important Characteristics 34  Is there a Trend? Increasing to start but after a while became constant  Is there a Seasonality? Yes  Are there Outliers? Yes, possibly  Is there a Long-run cycle? Most likely, yes  Is there any Abrupt change in the level? No haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 35. Visualization for Seasonality: Seasonal Subseries for Champagne Sales 35 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 36. Visualization for Seasonality: Seasonal Subseries • Emphasizes the seasonality pattern where the data for each season are collected together in separate mini time plots. • The horizontal lines indicate the means for each season. • The underlying seasonal pattern are clearly seen • Changes in seasonality over time is clear ̶ Higher fluctuations in the later months ̶ Maximum fluctuation in Nov & Dec 36 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 37. Seasonal Subplot: Airlines Passengers 37 Every month of every year passenger volume increases haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 38. Seasonal Subplot: Quarterly Income 38 Initially revenue was low in every quarter Q3 shows one high spike – unusual observation? Q4 movements almost metronomic! haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 39. Seasonal Subplot: Quarterly Income A thought: Since all quarters of initial years’ revenue seems significantly lower compared to the later years, would it make more sense to discard those initial years data for forecasting? 9-Jan-18 39 haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.
  • 40. Next Step In the next lesson we extract the components of time series, namely trend and seasonality, to improve understanding of time series and use the information for forecasting 40 9-Jan-18 Thank You haritika74@gmail.com BABIINTLMAY19001 This file is meant for personal use by haritika74@gmail.com only. Sharing or publishing the contents in part or full is liable for legal action.