Lesson 1 Introduction To Time Series
Lesson 1 Introduction To Time Series
Learning Objectives
2
What Is a Time Series?
3
Time Series
4
Motivations for Using Time Series
5
Applications of Time Series
7
Economic Forecasting
Macroeconomic predictions:
8
Demand Forecasting
9
Anomaly Detection
10
Time-Series Components
12
Trend
13
Time Series
Trend
14
Seasonality
Seasonality captures effects that occur with specific frequency. It can be driven
by many factors.
▪ Naturally occurring events, such as weather fluctuations caused by time of year
▪ Business or administrative procedures, such as start and end of a school year
▪ Social or cultural behavior, such as holidays or religious observances
▪ Fluctuations due to calendar events, such as the number of Mondays per
month for trading or holidays that shift from year to year (Easter, Chinese
New Year)
15
16
Residuals
Residuals are the random fluctuations left over after trend and seasonality are
removed.
▪ They are what is left over after trend and seasonality are removed from the
original time series.
– You should not see a trend or seasonal pattern in the residual.
▪ They represent short-term fluctuations.
▪ They’re either random or a portion of the trend or seasonality components
was missed in the decomposition.
17
18
Decomposition Models
20
Additive Model
Additive models assume that the observed time series is the sum of its
components.
▪ Observation = Trend + Seasonality + Residual
▪ Additive models are used when the magnitudes of the seasonal and residual
values are independent of trend.
21
22
Multiplicative Model
23
24
Additive vs. Multiplicative Models
The magnitudes of the seasonal and The magnitudes of the seasonal and
residual values fluctuate with trend. residual values are independent of trend.
25
Pseudoadditive Model
26
How to Decompose a Time Series
Of the many ways to decompose a time series, these are the most common:
▪ Single, double, or triple exponential smoothing
▪ Locally estimated scatterplot smoothing (LOESS)
▪ Frequency-based methods common in signal processing
▪ More on these methods in future lessons!
27
Using Python to Decompose Time Series
28
Learning Objectives Recap
29
Legal Notices and Disclaimers
This presentation is for informational purposes only. INTEL MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS
SUMMARY.
Intel technologies’ features and benefits depend on system configuration and may require enabled hardware, software
or service activation. Performance varies depending on system configuration. Check with your system manufacturer or
retailer or learn more at intel.com.
Sample source code is released under the Intel Sample Source Code License Agreement.
Intel, the Intel logo, the Intel. Experience What’s Inside logo, and Intel. Experience What’s Inside are trademarks of Intel
Corporation in the U.S. and/or other countries.
30