Maximum Likelihood Estimation - the Ornstein-Uhlenbeck Process(part 2)

  Рет қаралды 5,581

Kevin Mooney

Kevin Mooney

Күн бұрын

In part one, we looked at the method of maximum likelihood estimation in the context of the normal distribution. Keeping with the theme of this channel, we also showed how to calculate these parameters numerically if one cannot derive an analytical solution. In the video, we look at using maximum likelihood estimation for extracting the parameters where our random variable follows an Ornstein-Uhlenbeck process. We will look at some simulated data and extract the parameters numerically. Since these videos will eventually lead to parameter analysis for mean-reverting pairs trades, we will also compare our answers with the results given analytically in the book, Optimal Mean Reverting Trading mentioned in the description of part one.
Github: github.com/kpm...
Tip Jar: paypal.me/kpmo...

Пікірлер: 16
@kalebnunn2100
@kalebnunn2100 3 жыл бұрын
you are the best!!!! I learn more from ur videos than just about any other on the internet.
@FrancescoDelaidelli
@FrancescoDelaidelli Жыл бұрын
Hello Kevin, would it be possible to have the notebook with the code? I am having issue with some part of the code . Thanks!
@jaredvv86
@jaredvv86 3 жыл бұрын
Just found your videos. They are great thanks for posting. Please keep them coming.
@worldcooking
@worldcooking 3 жыл бұрын
Nice work. Cat`t wait for the next pair trading video. Thanks a lot.
@prashlovessamosa
@prashlovessamosa Жыл бұрын
Thanks
@RachelDance
@RachelDance 3 жыл бұрын
Dude, I could hug you right now, that part where you sort out the zero values coming from the distribution just made my WEEK! Im curious though, does there exist anywhere the (probably quite tedious, but nevertheless) derivation of those optimal parameters? Found them in a paper as well but im sure its 'left as an exercise for the reader'...! I got mine by least squares method and solving the OU analytically, and they seem to be numerically the same to maybe, 4.d.p which is great, but I cant map the two together. I cant derive these ones from scratch, and i'm interested to know how its done :) thanks from the UK!
@kpmooney
@kpmooney 3 жыл бұрын
I've never seen the derivation written out. As you say, it looks quite tedious, and personally, I'm to making mistakes when working through pages of algebra and caucus by hand.
@MrJanjai
@MrJanjai Жыл бұрын
I'm currently trying to apply this to a detrended time series. Problem is: I'm getting a negativ theta s.t. I cant log Xxy - theta * Xx - theta * Xy + N * theta**2. Any ideas what I'm doing wrong? Great video, thx!
@hichamm.a.c.i9058
@hichamm.a.c.i9058 2 жыл бұрын
thank you for this video, please what's the name of the book ?
@kpmooney
@kpmooney 2 жыл бұрын
Optimal Mean Reversion Trading by Tim Leung and Xin Li.
@lll8188
@lll8188 3 жыл бұрын
It was very helpful! But in analytic caculate, one parenthesis is missing from the denominator of theta*, and the - sign of the mu* is missing. I'm telling you just in case. Thank you very much!
@kpmooney
@kpmooney 3 жыл бұрын
Thank you. I fixed it on the github page.
@noadino
@noadino 3 жыл бұрын
This is great , can you help me to find maximum liklihood for a function with pso algorithm pleeeease
@kpmooney
@kpmooney 3 жыл бұрын
Yeah, but it will be a while before I have time for it.
@volarb9613
@volarb9613 3 жыл бұрын
You beautiful man
@FrancescoDelaidelli
@FrancescoDelaidelli Жыл бұрын
Hello Kevin, would it be possible to have the notebook with the code? I am having issue with some part of the code . Thanks!
Maximum Likelihood Estimation (Part 1)
16:27
Kevin Mooney
Рет қаралды 8 М.
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 24 МЛН
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 117 МЛН
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 19 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
The Key Equation Behind Probability
26:24
Artem Kirsanov
Рет қаралды 127 М.
Revisiting the Intuition Behind Maximum Likelihood Estimation
20:26
Advanced Pairs Trading: Optimal Trading Rules
16:38
Hudson & Thames
Рет қаралды 11 М.
The medical test paradox, and redesigning Bayes' rule
21:14
3Blue1Brown
Рет қаралды 1,2 МЛН
Advanced Pairs Trading: Intro to the Copula Approach
38:13
Hudson & Thames
Рет қаралды 14 М.
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 24 МЛН