Ito's Lemma -- Some intuitive explanations on the solution of stochastic differential equations

Sdílet
Vložit
  • čas přidán 30. 06. 2024
  • Table of contents below, if you just want to watch part of the video.
    🌎🌍🌏 subtitles available, German version: • Ito's Lemma -- Einige ...
    Prof. Hakenes teaches Finance and Mathematics in Bonn (www.econ.uni-bonn.de).
    We consider an stochastic differential equation (SDE), very similar to an ordinary differential equation (ODE), with the main difference that the increments are stochastic. We also simulate it numerically, and make a guess for its solution. The guess is incorrect, because it does not take the #volatility (σ) correctly into account. Of course, we then show the correct solution. Here, "solution" means that we get a closed equation for the process that depends only on the initial value, time, and the underlying #Wiener process (W).
    No finally, we want to prove that our solution is indeed correct. We therefore need to take a the derivative, but this involves the stochastic increments. We must use #Ito's Lemma, which is essentially an extension of the ordinary chain rule. The proof, actually, is just one line or two.
    What you need to watch this video:
    * Calculus, and some knowledge of ordinary differential equations,
    * Knowledge of Excel to follow the numerical examples.
    What you DO get from this video:
    * An intuition of what stochastic processes are (like the Wiener process),
    * An intuition of what stochastic differential equations are are,
    * An intuition of what it means to solve an SDE,
    * A relatively simple application of Ito's lemma,
    * Some understanding about what Ito's lemma does.
    What you DON'T get from this video:
    * A proof of Ito's lemma,
    * A thorough introduction to stochastic calculus (with measure spaces, filterings, ...).
    Comments:
    At 04:12, we have chosen a tiny beta. Typically, to numerically solve an ODE, on let's dt converge to zero. We have dt constant at dt = 1, so to comensate for that, we choose a function that does not move a lot (tiny beta), such that the tracking error does not become too large.
    Thanks @ Prof. Dr. Schweizer for very helpful comments.
    Thanks @ Prof. Dr. Bühler for teaching me this material.
    Thanks @ Prof. Dr. Sandmann for teaching me even more of this stuff.
    Thanks @ all of you for your positive feedback. I am therefore planning to make more videos, also answering to some requests. Please *let me know*, in the comments, what topics you would be most interested in. Option pricing, like Black Scholes? Other processes, like Vasicek, Ornstein-Uhlenbeck or the Brownian bridge? Or what else? I am willing to put in some effort. The underlying theme would still be: I try to create a bridge between the mathematical theory, which is beautiful, and (economic) intuition, which would typically also include Excel examples.
    Here is a link to our Excel example: docs.google.com/spreadsheets/...
    Table of Contents
    00:01 Introduction
    00:34 What is Ito's Lemma about, in words?
    01:49 Comparison to Ordinary Stochastic Equation (ODE): What is the "solution" of an ODE?
    04:03 Excel simulation of the ODE (not yet the SDE)
    06:21 Excel simulation of an SDE
    08:40 Geometric Brownian motion (in Excel)
    11:05 What is a "solution" of an SDE?
    11:57 Educated guess, but without the quadratic term
    14:12 True solution, with the term σ^2/2
    16:02 Formal solution, using Ito's lemma (finally!)
    21:18 Recapitulation

Komentáře • 51

  • @sipholukhozi9791
    @sipholukhozi9791 Před rokem +17

    In 2023 - this is still the most powerful explanation I have ever came across regarding Ito and SDEs. Thanks a lot!

    • @heha1390
      @heha1390  Před rokem

      Thanks a lot for the positive response 😀

  • @xddxd4697
    @xddxd4697 Před 6 dny

    I wish all your videos were on english, because your explanations are just excellent. I was familiar with Ito but u just gave me a new intuition, Thank you so much

  • @manueljoaquincerezodelaroc4497

    This is the first time I got SDE's and how to use Ito's Lemma. Thank you!

  • @kostas6915
    @kostas6915 Před 7 měsíci +4

    one the simplest and most excellent expositions I ve seen. Bravo!

  • @tvlobo202
    @tvlobo202 Před měsícem +1

    Good job sir, i always try to watch intuitive videos of math and the solve the equations understanding why you use that

  • @user-oi7gz1qt8g
    @user-oi7gz1qt8g Před 11 měsíci +4

    I would love to see more financial mathematics videos covered in english!!! This was really helpful. Thank you :)

    • @heha1390
      @heha1390  Před 9 měsíci

      Thanks a lot for the nice words!

  • @ferrari1
    @ferrari1 Před 4 měsíci +2

    Excellent!!!-A CQF alumni

  • @daryoushmehrtash7601
    @daryoushmehrtash7601 Před 4 měsíci +3

    Enlightening. Thanks

  • @bbanahh
    @bbanahh Před 12 dny

    Brilliant!

  • @wenzhang365
    @wenzhang365 Před 2 lety +3

    Great explanation with Excel. Good job, thank you!

  • @idealized_
    @idealized_ Před 4 měsíci

    I’m taking a financial mathematics course this semester. Thanks for this

  • @iainfraser2213
    @iainfraser2213 Před rokem +2

    Great video!

  • @codyfintech
    @codyfintech Před rokem +2

    Very good, although I do think its useful to include a note on the quadratic variance of the Wiener process being equal to dt, for the application of Ito's lemma.

  • @jacobious1537
    @jacobious1537 Před rokem +2

    amazing video thank u so much

  • @syng9596
    @syng9596 Před rokem +1

    Thanks for the clear explanation! greeting from malaysia👍👍👍

    • @heha1390
      @heha1390  Před 5 měsíci

      Thanks for the reply! Great to see where all the viewers come from! Greetings from Bonn, Germany...

  • @paulbirs
    @paulbirs Před rokem +1

    Just stumbled upon this explanation. Really nice, thanks a lot! I have a question though. At 15:00 you show the formula for the correct solution and there I can see that there is a term -A2 which is "t". But in this case we basically end up with the function similar to exp(-t), because "t" is increasing and Wt is not. And the solution can't look like what we need. So did you correct the formula afterwards? How does "t" actually contribute to exp(sigma*Wt - t*sigma^2/2) formula?

  • @cdenn016
    @cdenn016 Před rokem +1

    Would love you to go through ito integration in similar detail

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Před rokem +1

    Excellent video.

    • @heha1390
      @heha1390  Před rokem

      Thanks for this comment :-)

  • @thezorrinofromgemail6978
    @thezorrinofromgemail6978 Před 2 lety +3

    Fiiiiiiiiinally someting clear about ito.....

    • @heha1390
      @heha1390  Před 2 lety

      Thanks for the comment, nice to hear :-)

  • @changeme454
    @changeme454 Před 6 měsíci +1

    Thanks

  • @wishuahappyday6021
    @wishuahappyday6021 Před rokem

    thank you for the brilliant content, professor. I have known that a standard Brownian motion has property : W(t) - w(S) FOLLOWS N(0, t-s) . May I ask if the dW used here is also following N (0 , step size) assuming step size used here is 1?

    • @heha1390
      @heha1390  Před rokem

      Hello, thanks for your questions, maybe the same answer applies to both questions: In order to make everything as simple as possible for a start, so I used a step size of 1. To make up for that, I used a tiny beta. For a larger beta, to get a good approximation, one would have to reduce the step size.
      Your second intuition is correct: W(t)-W(s) follows N(0,t-s), and W(t+1)-W(t) follows N(0, 1).
      If this is not helpful, let me know, I'll write more :-) Best, H^2

  • @bhavinmoriya9216
    @bhavinmoriya9216 Před 11 měsíci +1

    Dear Hendrik, Thanks very much for an awesome video. Could you please share the Excel sheet which you produced in the video?

    • @heha1390
      @heha1390  Před 4 měsíci

      I just did, see docs.google.com/spreadsheets/d/1R8XnkAcfAmASlk2sn7bnlJxzceOosxKYUAlSg61_7ro/edit?usp=sharing

  • @surendrabarsode8959
    @surendrabarsode8959 Před 2 lety +1

    Thanks Professor for this excellent explanatory video. I have a doubt- do we take dw(t) as realization of a standard normal variable a time t or dw(t) as difference of (realization of a Std Nomal Variable - such realization at time t-1)?

    • @heha1390
      @heha1390  Před 2 lety

      Dear Surendra, thanks for the positive feedback and for the question! I think that your answer 1 is correct. dw is the realization of a standard normal variable, and we add it to w at date t to get w at date t+dt. And of course, like always when we speak about stochastic differential equations, this is just the intuitive explanation. dt is really infinitesimally small, so also dw is infinitesimally small. But adding up an infinite number of infinitesimals gives us something non-zero. Best! H^2

    • @heha1390
      @heha1390  Před 2 lety

      P.S. If this answer did not help, let me know 🙂

  • @wishuahappyday6021
    @wishuahappyday6021 Před rokem +1

    Professor, I have tested the equations on my computer, and I found that the denotation "t" used is actually the step size, instead of the actual t {0,1,2,3,4,5,6,7,8....} . may I ask why is that ?

  • @UsefulMotivation365
    @UsefulMotivation365 Před 7 měsíci

    When in the minute 15:53 you said that "this means that this ( formula) is the solution to our differential equation", this means that the formula is capable to predict all the values of the function ahead on time? Or means that is a solution for all the points that you already have and you can't predict nothing with the solution to the differential equation? Thanks for your answer

  • @Manik_007
    @Manik_007 Před 9 měsíci

    Sir, please more videos in english on Financial Mathematics

  • @mehdiAbderezai
    @mehdiAbderezai Před 2 lety +1

    Hi,
    I tried to reproduce this in excel. I noticed that if I use a volatility of 10% or 0.1, the Ito and actual value separate at some points but re-converge or are at least close. More interestingly, the naïve exp(Wt) implementation diverges significantly. I suspect that this is due to numerical error. Could you comment on that?

    • @heha1390
      @heha1390  Před 2 lety

      I am not sure, it is difficult to diagnose from far away. My guess would be, a high volatility has a similar effect as a large step size. An a large step size, also for ordinary differential equations, leads to an imprecise approximation. In each step, you follow the tangent instead of the actual solution. So my suggestions would be, let the step size decrease, and see whether the tracking error remains... Let me know if you were successful. Best, H^2

    • @robertschedler8469
      @robertschedler8469 Před 2 lety +1

      @@heha1390 I reproduced the question and used your solution and it appears to work. Thank you both!

  • @who8678
    @who8678 Před 5 měsíci +1

    It took you 25 mins to explain what my teacher tried to explain in 6 months

    • @heha1390
      @heha1390  Před 5 měsíci

      Thank you for these nice words, made my day!

  • @mileknz
    @mileknz Před rokem +1

    Hi, very basic question: how you get dWt from Wt? And Wt is just ~N(0,1)?

    • @heha1390
      @heha1390  Před rokem

      Dear Camile, thanks for the question. Actually, it is the other way round. dW(t) is the increment, it is (in this example) ~N(0,1) because the time increment is always 1. If you choose a smaller increment dt, then the increment is ~N(0, 1/sqrt(dt)). So the increments are normally distributed, such that the path W(t) itself is wiggly but continuous (if you'd let dt converge to 0). I chose dt = 1 in order not to get too much notation at the start. Best, H^2

  • @Skandar0007
    @Skandar0007 Před rokem +1

    How do you calculate Wt and dWt in excel at 6:30

    • @heha1390
      @heha1390  Před rokem +2

      Thanks for the question! Because the step size is 1, and the volatility of a Wiener process is 1, and drift (mean) zero, so the increments dW_t are standard normally distributed. The equation for dW_t in Excel is thus simply =NORMSINV(RAND()). Then you get W_t by aggregating dW_t, B3 = B2 + C3 and so on. Does that work? Best, H^2

    • @Skandar0007
      @Skandar0007 Před rokem

      @@heha1390 No, I didn’t work. Could you please add the excel file link to description

  • @FernandoAMarroquin
    @FernandoAMarroquin Před 2 lety

    It is embarrassing to explain a mathematical concept with Excel. Probably your students are from Kindergarden.

    • @heha1390
      @heha1390  Před 2 lety +12

      Thanks for the comment, but I disagree, for two reasons. First, I think that mathematical concepts, when used in econ, are much more valuable if one has a strong intuition. Second, real price movements are discrete anyway, so I think there is nothing wrong in having a discrete example, even if it is only programmed in Excel.
      But also, the video is not for our university students. The topic came up at a Xmas party, where someone (a pretty smart someone, actually) said that he never got an intuition what Ito is about. So I felt challenged and tried to do a video with a lot of intuition in it. This video is not for the 5% for whom Ito is Kindergarden, but for the 15% for whom it is within reach but still a little complicated.
      My favorite CZcams shows are MinutePhysics, Numberphile, Veritasium and the like, so I tried to do something in that direction (but without the budget).

    • @mehdiAbderezai
      @mehdiAbderezai Před 2 lety +1

      If you are good with Matlab or Python you can quickly run a "simulation" and explain complex concepts. The benefit of excel is that you can in real time, tweak a value and see its immediate impact without having to rerun a program. You wont use excel to price options or to evaluate a strategy. You should use excel to teach a fundamental mathematical concept.
      This video made Steven Shreve's first 4 chapters come to life. Amazing. Thank you for taking the time to explain a complex concept visually and practically. Thank you.

    • @heha1390
      @heha1390  Před 2 lety +1

      @@mehdiAbderezai I agree. Also, it should be a program that everyone knows, and that applies to Excel more than to Python or MatLab, I believe. I personally use Mathematica... Thanks!!

    • @Bunny-ij3ej
      @Bunny-ij3ej Před rokem +4

      Being able to explain a complex mathematical concept with the simplest tools is a sign of expertise and shows that one truly understands the inner workings of the concept. I don’t see a point of stating such a comment but to make yourself look “good”. This video is extremely well executed and provides more insight than most other videos. Good job to the Professor!