An introduction to rejection sampling

Поділитися
Вставка
  • Опубліковано 14 тра 2018
  • Explains how to independently sample from a distribution using rejection sampling.
    This video is part of a lecture course which closely follows the material covered in the book, "A Student's Guide to Bayesian Statistics", published by Sage, which is available to order on Amazon here: www.amazon.co.uk/Students-Gui...
    For more information on all things Bayesian, have a look at: ben-lambert.com/bayesian/. The playlist for the lecture course is here: • A Student's Guide to B...

КОМЕНТАРІ • 25

  • @zgbjnnw9306
    @zgbjnnw9306 2 роки тому +2

    Every time when I have statistics problems and nobody could help me, I could always find answers in your videos! Really helpful and intuitive! Thank you so much!

  • @mermaid6380
    @mermaid6380 5 років тому +15

    Hi Ben, Thank you very much for the video! I learned it in class but didn't understand it. You saved my Homework and Midterm!

  • @chrismcdonagh4465
    @chrismcdonagh4465 3 роки тому

    When I google a concept and a Ben Lambert video pops up all my worries fade away.

  • @gmarcosoldo
    @gmarcosoldo 4 роки тому +2

    Thank you so much for this! I read about this topic on Gelman, and did not understand what it was, but this helped soooo much :)

  • @tuhinsheikh2880
    @tuhinsheikh2880 4 роки тому +1

    Hi Ben, thanks for making this useful video. The presentation with Shiny animation results looks great.

  • @joonhocho3863
    @joonhocho3863 4 роки тому

    Thank you for the excellent video.

  • @shashvatshukla
    @shashvatshukla 3 роки тому

    Fantastic explanation!

  • @kf2469
    @kf2469 5 років тому

    Hi Ben, what is options3 for you in your mathematica notebook? Great explanation by the way!

  • @anoshrezaei2933
    @anoshrezaei2933 Рік тому

    Really nice and practically explained

  • @deniz.7200
    @deniz.7200 9 місяців тому

    Clear explanation!

  • @purmortalwang1097
    @purmortalwang1097 2 роки тому

    Thanks so much!

  • @muratcan__22
    @muratcan__22 5 років тому

    thanks!!!

  • @ujjwaltyagi3030
    @ujjwaltyagi3030 4 місяці тому

    In this case we already knew the posterior to be exponential. What if we dont know the posterior?

  • @andyharrison4194
    @andyharrison4194 3 роки тому

    Nice explanation.

  • @ibsaibns5419
    @ibsaibns5419 4 роки тому

    so is rejection sampling more useful if we don't know the pdf of the r.v. we are dealing with (if we only know the shape I assume?), and not very useful the other way around?

  • @lerneninverschiedenenforme7513
    @lerneninverschiedenenforme7513 3 роки тому

    2:25 isn't the curve p(x), not the y-axis?

  • @caljohn1475
    @caljohn1475 Рік тому

    Fantastic explanation, thanks a lot, my lecturer was making it look like rocket science lol

  • @Miyelsh
    @Miyelsh 3 роки тому +4

    If you want to generate from 0 to infinity you just have to turn the 8 sideways

  • @edgetrading2
    @edgetrading2 5 років тому

    Nice video

  • @uchembaka9617
    @uchembaka9617 4 роки тому

    How did you get (generate) the exponential line?

  • @cunningham.s_law
    @cunningham.s_law 5 років тому +5

    I don't understand what we can do with this? what is the point?

    • @glasSpN
      @glasSpN 5 років тому +1

      Integrate any function from which we cannot sample directly, which will usually be the case in a bayesian context (e.g. hierarchical models)

    • @tunichtgut5285
      @tunichtgut5285 5 років тому

      Monte Carlo integration with importance sampling.

  • @mariodamianorusso9045
    @mariodamianorusso9045 5 років тому

    MVP