Stationarity and Differencing - Applied Time Series Analysis in Python and TensorFlow
๐ Get the course for 87% off: https://www.udemy.com/course/applied-time-series-analysis-in-python/?couponCode=TSPYTHON2021
Email me for a coupon: peixmarco@gmail.com
------------------------------------------------
Letโs introduce the concepts of stationarity and differencing.
They are both key concepts in time series analysis as they will come up very often as we progress through the course and start modelling.
A time series is said to be stationary when its properties do not change with time. Therefore, it has constant mean and variance, and covariance is independent of time. For example, if a time series has some kind of trend or seasonality, then its mean is not constant, so it not stationary. However, white noise is indeed stationary.
Here, we see the ACF plot for a time series. We saw this plot in the previous lesson and we know that this time series with a trend will have a similar ACF plot. Therefore, we can also say from the correlogram that the time series is not stationary.
Now, differencing is what is called a transformation. It is a way to make a time series stationary, by removing trend and stabilizing the mean. Taking the algorithm is another popular transformation used to reduce variance.
Differencing is simply the difference between consecutive observations. We can difference a time series more than once if necessary, until we make it stationary. However, we never difference more than twice.
Here, we see again the ACF of white noise, and so we know that it is a stationary process. So now, you know how to recognize stationarity by looking at the ACF plot. In the next lesson, we will also see how we differencing will impact the stationarity of a time series, and then, we will code each step in Python.
Watch on YouTube โ
(saves to browser)
Sign in to unlock AI tutor explanation ยท โก30
Playlist
Uploads from Data Science with Marco ยท Data Science with Marco ยท 12 of 38
1
2
3
4
5
6
7
8
9
10
11
โถ
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Linear Regression in Python | Data Science with Marco
Data Science with Marco
Classification in Python | logistic regression, LDA, QDA | Data Science With Marco
Data Science with Marco
Resampling and Regularization | Data Science with Marco
Data Science with Marco
Decision Trees | Data Science with Marco
Data Science with Marco
Suppor Vector Machine (SVM) in Python | Data Science with Marco
Data Science with Marco
Unsupervised Learning | PCA and Clustering | Data Science with Marco
Data Science with Marco
Data Science Portfolio Project: Regression #1 | Data Science with Marco
Data Science with Marco
Data Science Portfolio Project: Regression #2 | Data Science with Marco
Data Science with Marco
What Are Time Series - Applied Time Series Analysis in Python and TensorFlow
Data Science with Marco
Basic Statistics - Applied Time Series Analysis in Python and TensorFlow
Data Science with Marco
Autocorrelation and White Noise - Applied Time Series Analysis in Python and TensorFlow
Data Science with Marco
Stationarity and Differencing - Applied Time Series Analysis in Python and TensorFlow
Data Science with Marco
Random Walk Model - Applied Time Series Analysis in Python and TensorFlow
Data Science with Marco
Moving Average Process - Applied Time Series Analysis in Python and TensorFlow
Data Science with Marco
Autoregressive Process - Applied Time Series Analysis in Python and TensorFlow
Data Science with Marco
ARMA Model - Time Series Analysis in Python and TensorFlow
Data Science with Marco
What is data science?
Data Science with Marco
Answering DATA SCIENCE questions #1 - Why learn SQL when Python and R exist?
Data Science with Marco
R vs Python in the Industry - Data Science Q&A #datascience #datasciencecareer #careeradvice
Data Science with Marco
Data science or data engineering - which is best for you? #datascience #datasciencecareer
Data Science with Marco
Where to find data for data science projetcs? #datascience #datasciencecareer
Data Science with Marco
Data science certificates on resume? #datascience #datasciencecareer #careeradvice
Data Science with Marco
Should you aim for data science or data engineering? | Data Science Q&A #1
Data Science with Marco
Don't waste time on this | #datascience #datasciencecareer
Data Science with Marco
Low-code AI tools - are they good? | #datascience #datasciencecareer #careeradvice
Data Science With Marco
How to grow as a data scientist after 2+ years of experience? #datascience #datasciencecareer
Data Science with Marco
Transition into DATA SCIENCE without a masters or bootcamp #careertransition
Data Science With Marco
How to improve your data science profile?
Data Science With Marco
How to learn Python for data science?
Data Science With Marco
Does Scrum/Agile work for data science?
Data Science With Marco
What are the major roles in analytics and how to choose?
Data Science with Marco
Thoughts and advice for a live SQL coding round
Data Science With Marco
Data science interview question: difference between type 1 and type 2 error
Data Science With Marco
Feature selection in machine learning | Full course
Data Science With Marco
Anomaly detection in time series with Python | Data Science with Marco
Data Science With Marco
Podcast - TimeGPT, predicting the future, and more
Data Science With Marco
Big announcement - Revealing my new book
Data Science With Marco
Get Started in Time Series Forecasting in Python | Full Course
Data Science With Marco
More on: Data Literacy
View skill โRelated AI Lessons
โก
โก
โก
โก
How to Win Your First Hackathon: A FAANG Judgeโs Playbook
Medium ยท AI
How to Win Your First Hackathon: A FAANG Judgeโs Playbook
Medium ยท Programming
How to Win Your First Hackathon: A FAANG Judgeโs Playbook
Medium ยท Startup
GoCardless Posts First Profitable Quarter Defying Fintech Cash Burn Norms
Medium ยท Startup
๐
Tutor Explanation
DeepCamp AI