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

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ต.ค. 2024

ความคิดเห็น • 64

  • @sipholukhozi9791
    @sipholukhozi9791 ปีที่แล้ว +23

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

    • @heha1390
      @heha1390  ปีที่แล้ว +1

      Thanks a lot for the positive response 😀

  • @kostas6915
    @kostas6915 11 หลายเดือนก่อน +6

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

    • @heha1390
      @heha1390  11 หลายเดือนก่อน

      Thanks a lot!

  • @manueljoaquincerezodelaroc4497
    @manueljoaquincerezodelaroc4497 ปีที่แล้ว +5

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

  • @daryoushmehrtash7601
    @daryoushmehrtash7601 8 หลายเดือนก่อน +3

    Enlightening. Thanks

  • @tvlobo202
    @tvlobo202 5 หลายเดือนก่อน +1

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

  • @ClaireHur-v2p
    @ClaireHur-v2p ปีที่แล้ว +4

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

    • @heha1390
      @heha1390  ปีที่แล้ว

      Thanks a lot for the nice words!

  • @xddxd4697
    @xddxd4697 4 หลายเดือนก่อน

    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

    • @heha1390
      @heha1390  3 หลายเดือนก่อน

      Thanks a lot for your nice comment. I will do a math for economists channel next term, but that will be fairly elementary.

  • @idealized_
    @idealized_ 8 หลายเดือนก่อน

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

  • @ferrari1
    @ferrari1 8 หลายเดือนก่อน +2

    Excellent!!!-A CQF alumni

  • @wenzhang365
    @wenzhang365 2 ปีที่แล้ว +3

    Great explanation with Excel. Good job, thank you!

  • @codyfintech
    @codyfintech ปีที่แล้ว +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.

  • @redroach401
    @redroach401 11 วันที่ผ่านมา

    If you treat it like a regular ODE, then you get the first function you were describing but it doesn't take into account the stochastic part like you said. My question is how did you figure out the stochastic part was -variance/2*t? Is it because you equated the 2nd and 3rd parts in ito's lemma so that they would cancel out and you would be left with the correct solution?

  • @syng9596
    @syng9596 ปีที่แล้ว +1

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

    • @heha1390
      @heha1390  9 หลายเดือนก่อน

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

  • @jacobious1537
    @jacobious1537 ปีที่แล้ว +2

    amazing video thank u so much

  • @tanchienhao
    @tanchienhao 3 หลายเดือนก่อน

    Thanks for this video

  • @iainfraser2213
    @iainfraser2213 ปีที่แล้ว +2

    Great video!

  • @cdenn016
    @cdenn016 ปีที่แล้ว +1

    Would love you to go through ito integration in similar detail

  • @MarineLefarge
    @MarineLefarge 3 หลายเดือนก่อน

    The video is very interesting, thank you! However, I didn't quite understand how Ito's lemma allows to take into account continuous variations of the interest rate

    • @heha1390
      @heha1390  3 หลายเดือนก่อน

      Dear Marine, continuous variations of the interest rate are more complex. The easiest model is Vasicek, see for example th-cam.com/video/bHr1bBO61FY/w-d-xo.htmlsi=9caCaOHSEqVKAncS

  • @paulbirs
    @paulbirs ปีที่แล้ว +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?

  • @yann9637
    @yann9637 3 หลายเดือนก่อน

    Very instructive video thanks sir. May I know where the intuition comes for adding the variance term in order to correct the solution of the PDE for Wienner process ?

    • @heha1390
      @heha1390  3 หลายเดือนก่อน

      Thanks for the question, sure! You go down 1 percent, then up again 1 percent, but you do not get the initial value. So the "arithmetic" version (one more, one less) has no drift, but the "geometric" version (one percent more, one percent less) does have a drift, and that needs to be taken into account. Does that help (a little)? Best, H^2

  • @bbanahh
    @bbanahh 4 หลายเดือนก่อน

    Brilliant!

  • @wishuahappyday6021
    @wishuahappyday6021 ปีที่แล้ว +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 ?

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w ปีที่แล้ว +1

    Excellent video.

    • @heha1390
      @heha1390  ปีที่แล้ว

      Thanks for this comment :-)

  • @bhavinmoriya9216
    @bhavinmoriya9216 ปีที่แล้ว +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  8 หลายเดือนก่อน

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

  • @venkteshbohra4473
    @venkteshbohra4473 หลายเดือนก่อน

    Can we find this excel file ?

  • @Manik_007
    @Manik_007 ปีที่แล้ว

    Sir, please more videos in english on Financial Mathematics

  • @StatisticalLearner
    @StatisticalLearner 3 หลายเดือนก่อน +1

    This is slightly confusing, and potentially teach the wrong intuition, in that you appear to show there is a volatility impact on terminal wealth. But shouldn't be an expectation of volatility drag on cumulative wealth. Your comparison is not quite "(static) apple to (stochastic) apple". In the ODE (non stochastic) case, you had assumed a constant and positive compounding rate for the stock. But in the SDE, stochastic case, the stock compounding rate is drawn from a normal distribution with mean 0 and stdev of sigma. Therefore in your SDE, the expected compounding rate is 0, while the "expected" compounding rate in your ODE is finite, which you labeld beta! You wouldn't compare the static apple to a fussy stochastic apple with a mean diameter of 0, would you? Now, if the more interesting question here is whether a stochastic process with the same log normal mean as a non stochastic process, would there be a drag on cumulative wealth due to the volatility? To answer that question we need to solve a SDE with the same mean drift as the ODE, but add a stochastic term representing the geometric brownian motion (Wiener process):
    dS_t =a x S_t x dt+b x S_t x dW_t,
    where a is the drift (same as your beta) or average compounding rate, and b is the standard deviation of the compounding rate for one time period. dW is the geometric brownian shock ~ N(0,1), or white noise.
    You can integrate this by first express this Ito process into a Stratonovich form:
    dS_t =(a - 1/2*b^2) x S_t x dt+b x S_t * dW_t
    where "x" is the Ito, and "*" is the Stratonovich form of SDE. We can use separation of variable to integrate this but first we have to separate the variables, dividing both side of the Stratonovich form of the SDE by S_t:
    dS_t/S_t = (a-1/2*b^2) x dt + b * dW_t
    Now integrate both sides, from t=0 to t you get
    S_t = So * exp[(a-1/2*b^2)*t +b*sqrt(t)*epsilon]
    where epsilon ~ N(0, 1). People often erroneously assume 1/2*b^2 is a volatility drag on performance. Let's see is it a drag or not on average expected terminal wealth, S_t. To find the difference in mean terminal value, lets take the expectation of the S_t, and realizing that only epsilon is random you get:
    E[S_t]=So * exp[(a-1/2*b^2)*t ] * E[exp(b*sqrt(t)*epsilon)]
    Recall E[exp(X)]= exp(sigma^2/2) if X ~N(0,sigma). I am omitting the derivation, which essentially involves the integral of INTEGRAL[exp(X)*pdf(X) dX], where pdf(X) is normal gaussian in X. This means.
    E[S_t]= S0* exp(a*t), the "volatility drag" 1/2*b^2t, cancels out by the Expectation of cumulative random process. So there is NO drag. And therefore the fussy stochastic apple has its average shape as the static apple.
    So in your case, the S_t=S_0*exp[sigma*Wt-1/2*sigma^2*t] your sigm =: b, and 0=: a in my equation. And therefore the final discrete dS_t will have a mean 0, which does not compare to your ODE case where there is a finite drift.

  • @changeme454
    @changeme454 10 หลายเดือนก่อน +1

    Thanks

  • @wishuahappyday6021
    @wishuahappyday6021 ปีที่แล้ว

    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  ปีที่แล้ว

      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

  • @Tyokok
    @Tyokok 3 หลายเดือนก่อน

    Thanks for the great video! One question if I may, at 8:29 if your delta t is not 1, your dWt still using standard normal? I just want to clarify the relation between dWt, standard normal, and dt. Is dWt always ~N(0,1) under any dt? Many thanks in advance if anyone can advise.

    • @eugenefrancisco8279
      @eugenefrancisco8279 2 หลายเดือนก่อน +1

      The variance of the normal distribution is typically the difference in time for the interval. The interval happened to be 1 here so we use N(0,1), but if the intervals were 2, you’d use N(0,2).

    • @Tyokok
      @Tyokok 2 หลายเดือนก่อน

      @@eugenefrancisco8279 Thank you Sir so much for clarifying! So here we just choose dt=1 so dWt~N(0,1) for mathematical convenient, and all the following derivation is based on dt=1, right? And if we choose dt=2, then his excel spread sheet example will yield different random path as the the variance become 2, dWt will be more volatile and the path will shift more from the mean. is that right?

  • @UsefulMotivation365
    @UsefulMotivation365 11 หลายเดือนก่อน

    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

    • @heha1390
      @heha1390  3 หลายเดือนก่อน

      Thanks for the question! It is really not trivial what "solving" an SDE means. Can you make predictions? Yes and no. The stochastic process always "wiggles" up and down. So you can never know where it will be at some future time T. But you can calculate where you expect it to be (expected value), the standard deviation, and so on, even the complete probability distribution of potential values. Because if you "solve" the SDE, you know that the probability distribution is a distorted version of the Gaussian distribution, that is, the distribution of the underlying Wiener process. I hope that helps (a little). Compare with the solution of an ODE. Without the solution: you have to simulate in order to get the value at some date. With the solution: you can get the value with an equation, no simulation needed. In the case of an SDE, without the solution: you can use a Monte Carlo simulation to get a distribution of potential values. With the solution: you can calculate the distribution right away, no simulation needed.

  • @mileknz
    @mileknz 2 ปีที่แล้ว +1

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

    • @heha1390
      @heha1390  2 ปีที่แล้ว

      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

  • @surendrabarsode8959
    @surendrabarsode8959 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      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  2 ปีที่แล้ว

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

  • @who8678
    @who8678 9 หลายเดือนก่อน +1

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

    • @heha1390
      @heha1390  9 หลายเดือนก่อน

      Thank you for these nice words, made my day!

  • @mehdiAbderezai
    @mehdiAbderezai 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      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 2 ปีที่แล้ว +1

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

  • @Skandar0007
    @Skandar0007 ปีที่แล้ว +1

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

    • @heha1390
      @heha1390  ปีที่แล้ว +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 ปีที่แล้ว

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

  • @FernandoAMarroquin
    @FernandoAMarroquin 2 ปีที่แล้ว

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

    • @heha1390
      @heha1390  2 ปีที่แล้ว +14

      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 TH-cam shows are MinutePhysics, Numberphile, Veritasium and the like, so I tried to do something in that direction (but without the budget).

    • @mehdiAbderezai
      @mehdiAbderezai 2 ปีที่แล้ว +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  2 ปีที่แล้ว +3

      @@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 ปีที่แล้ว +5

      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!