An introduction to importance sampling - optimal importance distributions

Sdílet
Vložit
  • čas přidán 10. 09. 2024

Komentáře • 13

  • @alexistremblay1076
    @alexistremblay1076 Před 5 lety +10

    At 2:47, for the continuous case, isn't there an f(x) missing?

    • @SpartacanUsuals
      @SpartacanUsuals  Před 5 lety +6

      Yes, good spot. There should be a f(x) after the fraction. Sorry for any confusion this causes people! Best, Ben

    • @FalguniDasShuvo
      @FalguniDasShuvo Před 4 lety +7

      @@SpartacanUsuals You could give it a quick fix by just popping up some text during the video saying there will be an additional f(x).

  • @quao8194
    @quao8194 Před 4 lety

    It's very helpful! Thank you very much for making this.

  • @karthikponnupillai8923

    please guide me for this question: Suppose that you have run a Monte Carlo analysis (m samples) and wish to cut the standard deviation in
    half. How many samples do you need to run?

  • @marcoponts8942
    @marcoponts8942 Před 3 lety

    At 6:56, shouldn't there also be a multiplication with the function you divide by? Because the mean E_g[x] should only be sum over x*g(x), or should it not?

  • @davidsewell4999
    @davidsewell4999 Před 6 lety +2

    Just curious if you use mathematica in your day to day workflow? The graphics / animations you have shown in mathematica seem like they could be really helpful and it requires a fair bit of work to do the same thing in something like python.

    • @SpartacanUsuals
      @SpartacanUsuals  Před 6 lety +2

      Hi, thanks for your comment. Yes, it is by far the most important tool in my day to day work (R is, perhaps, second). There's a bit of a learning curve when you start with Mathematica. But the ease with which you can create interactive graphics and animations really leaves Matlab in the dust, in my view. Best, Ben

    • @davidsewell4999
      @davidsewell4999 Před 6 lety +2

      Ben, Thanks for the response. Ok interesting well I may have to give it a go. I use python at work for doing different machine learning tasks but being able to create animations as you have done is very helpful for understanding different concepts. Anyways , great series and I am enjoying the book so far as well!

  • @stefanoskechagias1736
    @stefanoskechagias1736 Před 4 lety

    very nice! Maybe follow up with video on approximating likelihoods plus some resampling to avoid degeneracy.

  • @omridrori3286
    @omridrori3286 Před 2 lety

    Hey can you give link for the animation so i can also play it myself?

  • @royapar7050
    @royapar7050 Před 11 měsíci

    How we choose h(x)?

  • @costantinodibello8027
    @costantinodibello8027 Před 3 lety

    Very nice explanation! Can someone explain how to make that funny animation with Mathematica?