↑ ↓ Navigate ↡ Select ESC Close

Random Walk Model - Applied Time Series Analysis in Python and TensorFlow

2021-02-21 Science & Technology
4.7k
44
5

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

πŸ‘‰ Get the course at 87% off: https://www.udemy.com/course/applied-time-series-analysis-in-python/?couponCode=TSPYTHON2021 πŸ“š Link to the notebook: https://github.com/marcopeix/AppliedTimeSeriesAnalysisWithPython/blob/main/HOTSAP_random_walk.ipynb Email me for a coupon if the one above expired: [email protected] ----------------------------------- Let’s now introduce the random walk model. The random walk model states that the location at time t is the sum of the previous location and some random noise. In this case, we assume that the noise is normally distributed, so it has a mean of 0 and a variance of 1. Of course, if we start the random walk at 0, then any point in time is the sum of the noise, expressed like this. Looking at the ACF plot for this time series, we see that the autocorrelation is very high at first, and slowly decreases. This is indicative of a trend. Now, is there a way to remove that trend? Of course! Since we know that random walk adds noise to the previous point, if we take difference between a point and a previous one, then we get only noise! If it seems unclear now, don’t worry, we will go through each step in Python, in the next lesson. So, by taking the difference and plotting the result, we get the following: noise. We see that there is no clear trend in the time series, and we it is purely random noise.

Top Comments (2)

@programmingwithjackchew903 2022-11-24

hi if the acf plot show lag 1 exceeds the bond and rest of them stay within bond can it still conclude as random walk model

0 3 replies
@dereksteven2052 2021-02-21

Great video! Thank you learnt a lot:)

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan β€’ All features unlocked

App screenshot