Professional Documents
Culture Documents
Week+1 Presentations
Week+1 Presentations
sunny1637@gmail.com
BX9T5ZHNQF
– Regression
– Data mining methods
This file is meant for personal use by sunny1637@gmail.com only.
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited.
Sharing or publishing the contents in part or full is liable for legal action.
Why Forecast?
Time Series is another technique for forecasting
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
The measurements are made at regular time intervals.
BX9T5ZHNQF
Quarterly Revenue
sunny1637@gmail.com
BX9T5ZHNQF
Weekly Demand
Hourly AAQI
This file is meant for personal use by sunny1637@gmail.com only.
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited.
Sharing or publishing the contents in part or full is liable for legal action.
sunny1637@gmail.com
BX9T5ZHNQF
EXAMPLES OF TIME SERIES
sunny1637@gmail.com
BX9T5ZHNQF
GDP
per 81.2848 84.4264 88.9149 100.049 …… 1606.04 1717.47 1939.61
capita
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF
Quarter Q1 Q2 Q3 ….. Q2 Q3 Q4
Pax 21 61 119 ….. 96 152 61
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF Portfolio managers try to understand stock movements based
on past data so that they can be more effective in advising
their clients how best to invest
sunny1637@gmail.com
BX9T5ZHNQF Based on past data on booking pattern hotels decide on
whether any discounts are to be offered in room pricing at
certain times of the year
Year of Horsepowe
Make Make MPG r Weight Order of the
AMC 80 24.3 90 3003 Observation
Audi 80 34.3 78 2188 s
Buick 81 22.4 110 3415
sunny1637@gmail.com
Chevy 82 27 90 2950
Does not
BX9T5ZHNQF
Chrysler 82 26 92 2585 matter
Datsun 81 32.9 100 2615
Make Year of Make MPG Horsepower Weight
Datsun 81 32.9 100 2615
Audi 80 34.3 78 2188
Chevy 82 27 90 2950
Chrysler 82 26 92 2585
AMC 80 24.3 90 3003
Buick 81 22.4 110 3415
WRONG
Turnove
Order of the
Year Quarter Year Quarter Turnover
r Observation
1982 Q3 13423.2 s is All 1982 Q3 13423.2
1983 Q1 15398.8
We should not try to forecast if the historical
data available is for a short duration
1983 Q2 12964.2
contiguous
• Impute missing data to the best of
your knowledge
sunny1637@gmail.com
BX9T5ZHNQF
Time Series Components
Trend Systematic
Component
Seasonal component
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
• Normal variations that recur every year to the
BX9T5ZHNQF
same extent
sunny1637@gmail.com
BX9T5ZHNQF
• 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?
The part of the series that cannot be explained through Systematic component forms the Irregular
Component
sunny1637@gmail.com
BX9T5ZHNQF
This component is assumed to have a normal distribution with 0 mean and constant variance σ2
•
sunny1637@gmail.com
BX9T5ZHNQF
Compare the long-term movement of the series (Trend) vis-a-vis
short-term movement (seasonality) to understand which has the
higher influence
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF
Seasonal
Quarter Index
Q3 -518.03
Q4 -515.26
Q1
Q1 1896.48
sunny1637@gmail.com
BX9T5ZHNQF Q2 -863.19
Q3
Q4
Q2
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF
sunny1637@gmail.com
BX9T5ZHNQF
HAPPY LEARNING