An introduction to rejection sampling

Поделиться
HTML-код
  • Опубликовано: 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!

  • @deniz.7200
    @deniz.7200 10 месяцев назад

    Clear explanation!

  • @anoshrezaei2933
    @anoshrezaei2933 Год назад

    Really nice and practically explained

  • @purmortalwang1097
    @purmortalwang1097 3 года назад

    Thanks so much!

  • @andyharrison4194
    @andyharrison4194 3 года назад

    Nice explanation.

  • @muratcan__22
    @muratcan__22 5 лет назад

    thanks!!!

  • @kf2469
    @kf2469 5 лет назад

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

  • @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

  • @caljohn1475
    @caljohn1475 Год назад

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

  • @mariodamianorusso9045
    @mariodamianorusso9045 5 лет назад

    MVP

  • @ujjwaltyagi3030
    @ujjwaltyagi3030 5 месяцев назад

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

  • @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?

  • @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.