Inverse Transform Sampling + R Demo

Поделиться
HTML-код
  • Опубликовано: 25 июл 2024
  • Using the inverse transform method to get random samples from a non-uniform distribution.
    Thanks for watching!! ❤️
    //Chapters
    0:00 Inverse transform sampling explanation
    2:22 Example
    6:18 R demo
    //Second Inverse Transform video
    • Inverse Transform Samp...
    ♫ Eric Skiff - Chibi Ninja
    freemusicarchive.org/music/Eri...
    Tip Jar 👉🏻👈🏻
    ☕️ ko-fi.com/mathetal
    #InverseTransformMethod #MonteCarloSampling

Комментарии • 26

  • @muhannadobeidat
    @muhannadobeidat 3 года назад +2

    Great video, pace and example. Thanks a million

  • @user-ki1nl5qk1x
    @user-ki1nl5qk1x 2 года назад +2

    amazing video! informative and straight to the point explanation with a great example

  • @Hailey-vg9jz
    @Hailey-vg9jz 2 года назад +4

    Thanks for saving me. I already ruined my midterm but thanks to you I've got hope for my final.

  • @homataha5626
    @homataha5626 2 года назад +2

    I loved it!

  • @bogusmcbogus2637
    @bogusmcbogus2637 3 года назад +1

    Fantastic explanation. Subscribed.

  • @angienicolehernandez104
    @angienicolehernandez104 3 года назад +1

    Thanks! I finally get it!

  • @338Maxime
    @338Maxime 2 года назад

    God that was amazing, thank you.

  • @jgeff9777
    @jgeff9777 3 года назад +1

    You're a legend

  • @myzafran1
    @myzafran1 3 года назад +1

    Thank you!!!!

  • @accountantguy2
    @accountantguy2 10 месяцев назад +1

    Great explanation! I finally "get it".

  • @vankadavathrohith1589
    @vankadavathrohith1589 11 месяцев назад +1

    Great video, tq so much

  • @richardren9869
    @richardren9869 2 года назад +1

    thanks you saved my life

  • @maximegrossman2146
    @maximegrossman2146 3 года назад +1

    excellent

  • @fntldks
    @fntldks 3 года назад +3

    FINALLY get it, you explained how it works!! it is cool!

  • @Lovestrant
    @Lovestrant 2 года назад +1

    I got it.Thanks

  • @Silver1980love
    @Silver1980love Год назад +1

    Great. Deserve 5 🌟

  • @vaibhavghadge4057
    @vaibhavghadge4057 4 года назад +1

    Thanks

  • @sergiotahim629
    @sergiotahim629 8 месяцев назад

    great video, and if a need to transform a normal distribution to a uniform distibution?

  • @sindbadthesailor1541
    @sindbadthesailor1541 4 года назад

    Could you explain the concept of copulae?

  • @yt-1161
    @yt-1161 2 года назад

    When integrating choose a variable different from x

  • @onstantinos.7286
    @onstantinos.7286 3 года назад +1

  • @kerguule
    @kerguule 6 месяцев назад

    If I would now do some Monte Carlo simulation with inverse transform sampling so that I got a group of failure times as an output, do I already see the expected outcome if I plotted the PDF? So that the higher the Y-axis value peak the more failure times around that time (X-axis) I would expect? The PDF of that exponential function is a decreasing curve but the hazard rate is constant. Why do we call that memoryless even though we would get more failure time values according to the PDF in the beginning (because it looks to be a decreasing curve)?

  • @adetunjiademola498
    @adetunjiademola498 2 года назад

    What happens when there's no definite form for the transformed variable?
    I mean when X can't be made subject of the formula in a definite form

  • @saragreesa2839
    @saragreesa2839 2 года назад

    If it is normal distribution how to transform?

  • @tomatorama
    @tomatorama 2 года назад

    Hi, I’m curious, why is there a need to get non uniform samples from uniform sampling ?

    • @ejovo
      @ejovo 2 года назад +3

      The true need is "How can we generate a random non-uniform sample?".
      You might need to do that if you want to perform simulations of... literally anything. How a pandemic spreads. How traffic flows in urban planning.
      We've developped mathematical tricks to generate a (pseudo) random uniform distribution, and it turns out we can use the uniform distribution to generate any other non-uniform distribution!
      Look at the fact that we generate a non uniform from a uniform distribution as a neat trick rather than necessity. We _need_ to generate a non uniform sample and using the uniform with the inverse transform of the cdf is a convenient way to do so.