Hamiltonian Monte Carlo For Dummies (Statisticians / Pharmacometricians / All)

Поделиться
HTML-код
  • Опубликовано: 8 авг 2024
  • Hamiltonian Monte Carlo (HMC) is the best MCMC method for complex, high dimensional, Bayesian modelling. This tutorial aims to provide an introduction to HMC through worked examples ranging from elementary to complex models.
  • НаукаНаука

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

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

    Thank goodness for RUclips recommendation.

  • @colorizedenhanced-silentmo5628
    @colorizedenhanced-silentmo5628 4 года назад +3

    Bonjour, Alan Maloney. this is a colorful video. thanks. :)

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

    Great blog. The best HMC video I have seen before. Thanks.

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

      Thanks for the friendly feedback...delighted you liked it!

  • @xondiego
    @xondiego 9 месяцев назад +1

    Jeez after watching this and Ben's Lambert, I am ready to try by my own the HMC, thanks a lot that sucha good presentation on the intuition of the HMC.

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

    Thank you for this very illustrative and insightful video.

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

      Great to hear - delighted someone thought it was useful!

  • @yuanhu7264
    @yuanhu7264 3 года назад +14

    Video aside, I don't think any real dummy is interested in HMC, lol.

  • @user-kz9tb5te5f
    @user-kz9tb5te5f 6 месяцев назад +1

    Thanks for the amazing video. It helped a lot!!

  • @yli6050
    @yli6050 2 месяца назад +1

    Thank you for great explanation ❤

  • @keqiaoli4617
    @keqiaoli4617 Год назад +2

    Thanks for the insightful video. Could you please provide some sample codes of the figures you show on the slides? Thank you

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

    Sorry may be I missed it but did you discuss how it can traverse other contours? Your example showed how it can stay in its contour plane.

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

      Hi Y. Good question. HMC follows the joint contour 'within' an iteration (i.e. for the L=15 steps) ...see the video at around 9:48, where it followed the contour with m=1.00 for iteration 1 to yield the new value for theta (e.g. -0.65 in the video). For the next iteration, it will sample a new m variable (say m=0.00). This will 'shift' us to a new joint contour for iteration 2 (the intersection of theta = -0.65 and m=0.00 on the graph). Thus 'between' iterations is when we "jump" between the joint contours. Hope this is clear.

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

    I have some doubts. What does stan do that other languages like R or python doesn't?
    Can I use stan for constrained optimisation? I have a problem I need help with. Its about maximising an objective function subject to set of inequality constraints. Would you be abe to help or give some directions?

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

      Hello. R currently doesn't have anything like Stan. I am not sure about Python, but I doubt it. Stan is not built to solve constrained optimisation problems - rather to fit complex Bayesian models. My only advice would be to google for tools/packages to solve constrained optimisation problems like yours. For simple problems, I expect many tools would have something. However for more complex problems, you may need more specialised software. Good luck. Al

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

      @@alanmaloney2791
      My maximisation function is a log likelihood function, similar to how we solve MLE, but subject to some constraints regarding a distribution parameter theta.
      So not sure if it counts as a "Bayesian".

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

      Hello. If the constraint is on a parameter, Stan can handle that (see their website). If you have many constraints like theta1+theta2+theta3 = 100, theta1*theta3 = 10 etc., I think it may be more tricky to code in Stan. If you are wishing to do MLE, other software may be easier. Cheers Al

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

    very confusing