The Beta distribution in 12 minutes!

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

ความคิดเห็น • 88

  • @jayraldbasan5354
    @jayraldbasan5354 2 ปีที่แล้ว +36

    Thank you for this! Ive been waiting for 3blue1brown's 3rd part of the probabilities of probabilities series. There are a lot of very comprehensive videos on beta distribution out there but this has been the most intuitive so far.

    • @felipec
      @felipec 2 ปีที่แล้ว +6

      This is exactly the same reason I came here.

  • @bobbyc1120
    @bobbyc1120 3 ปีที่แล้ว +29

    For years I've been trying to understand the beta distribution. I'm out of college and studying for a probability exam, and it finally makes sense thanks to your video.

    • @Kornackifs
      @Kornackifs 10 หลายเดือนก่อน

      ​@@mazmillion451
      Mutually exclusive events

    • @mmilrl5768
      @mmilrl5768 6 หลายเดือนก่อน +1

      @@mazmillion451 He's probably talking about exam P for the actuarial exams

  • @ihgnmah
    @ihgnmah 3 ปีที่แล้ว +7

    For those who don't know why we use the Beta function as the normalizing factor:
    We need to sum up all the probabilities of all the coins. Since we have infinite numbers of coins, that summation means the area under the distribution curve. In calculus, the area under the curve is defined by the integral of the function of that curve. In this case, the function is x^(q-1)*(1-x)^(r-1) (q=8, r=4 for the example in the video; substituting them in the equation, you will have x^7*(1-x)^3). The integral of x^(q-1)*(1-x)^(r-1) from 0 to 1 (x is a probability, it can only take on a value from 0 to 1) is exactly the Beta function.

    • @lucassullivan2109
      @lucassullivan2109 8 หลายเดือนก่อน +1

      Holy shit! That's awesome!

  • @xxxx3732
    @xxxx3732 ปีที่แล้ว +1

    i stuck in beta baz they do not explain gamma to me now i knew which step they sliped
    you are the grokking machine learning‘s writer! i just be recommend this book.

  • @wootcrisp
    @wootcrisp 3 ปีที่แล้ว +14

    Very good. I aspire to teach with your level of clarity and kindness.

  • @testme2026
    @testme2026 2 ปีที่แล้ว +1

    This crazy, top professors can not explain as good as this guy! thank you

  • @mantidream8179
    @mantidream8179 3 ปีที่แล้ว +4

    Great video, you've got a real knack for teaching

  • @rush19772112
    @rush19772112 2 ปีที่แล้ว +1

    Dr Serrano thank you for your well explained video. Watching your videos understood in 1 hour more than I have been studying for months. that's a talent and thank you so much for your analysis. EVERYTHING IS MUCH APPRECIATED

  • @sidharthdash2666
    @sidharthdash2666 3 ปีที่แล้ว +5

    To Luis Serrano- The most humble and articulated teacher I know so far. I am a data scientist who is self taught through videos/blogs and books and do not have any academic training in this field. I wish I could roll back time and start learning these watching your videos. You are an institution yourself. I request you if you could have a series of videos in the field of optimization in general.

  • @sdsa007
    @sdsa007 ปีที่แล้ว +1

    I went the mile to learn the beta and gamma integrals! But that was just to understand what you explained soooo very well! Thank you!

  • @davegoodo3603
    @davegoodo3603 ปีที่แล้ว +2

    Thank you Luis, that was a very good video. Clearly presented, easy to follow, it has helped me enormously in understanding this distribution. I'm studying Bayesian Statistics so it has helped me with that as well. I've subscribed, so I'll look at other videos in your collection. Much appreciated.👍

  • @richardedward123
    @richardedward123 8 วันที่ผ่านมา

    great visuals at the end (the 3 distributions). they really worked for me. thanks.

  • @srinivasanbalan2469
    @srinivasanbalan2469 3 ปีที่แล้ว +3

    Kudos Dr. Serrano. You are an excellent teacher as always! Looking forward for the Thompson sampling

  • @dansplain2393
    @dansplain2393 2 ปีที่แล้ว

    Really good. Never seen the intuition of bayes explained like that: “these have to add to 1”

  • @allisonal
    @allisonal ปีที่แล้ว

    Clear and methodical exposition. Thank you!

  • @NaZhao-r1f
    @NaZhao-r1f 8 หลายเดือนก่อน

    Thank you so much for the video, best beta distribution ever seen. I wonder if there would be a gemma distribution introduction video planned?

  • @Tyokok
    @Tyokok ปีที่แล้ว +1

    Incredible explain!

  •  3 ปีที่แล้ว

    A very neat way to introduce this topic. Thanks sir

  • @kylepalmer6936
    @kylepalmer6936 3 ปีที่แล้ว

    This is really quite good; very clear explanation of a complex concept. Please follow through with a video on the gamma function.

  • @LSC69
    @LSC69 2 ปีที่แล้ว +1

    Very good video. Did a much better explanation than my statistics professor. One tiny suggestion though, at 11:16, I think it would be more intuitive to the viewers if you didn't vertically scale each probability graph but instead maintained the same scale. That way it is easier to see how a more spread-out distribution results in less probability density around the mode of 0.7.

  • @tanim980
    @tanim980 ปีที่แล้ว

    Please make a video about Upper confidence bound in reinforcement learning ,you teach so well

  • @ukjoeee
    @ukjoeee 3 ปีที่แล้ว

    I am looking forward to seeing next video

  • @robharwood3538
    @robharwood3538 3 ปีที่แล้ว +1

    Luis, I have a request. It may be something too difficult (I have been trying to find a good, understandable answer for many years now), but on the other hand, it is absolutely *fundamental* to the topics you cover on your channel. The question is: How would one go about calculating (or approximating numerically) values for the Gamma Function without the aid of a black-box tool like a spreadsheet gamma(x) or gammaln(x), or Wolfram Alpha, or anything like that? And not just for special values like for integers n or (n + 1/2), but for a general rational/real number r.
    Everywhere I look there are either a) appeals to an existing black-box function that will return a value for you, without understanding where it came from, b) resorting just to the general properties of the Gamma function (such as Gamma(x + 1) = x * Gamma(x)) and special pre-known values such as Gamma(1/2) being some value involving Pi, I believe, or c) virtually impenetrable mathematical formulas that assume the reader knows way more advanced calculus and advanced theorems that themselves require other advanced theorems to even *understand* what they're *for!*
    It's very frustrating, because the Gamma function is used everywhere when you start digging down into the fundamentals of probability theory, Bayesian statistics (and classical stats, too), information theory, machine learning, and a whole host of other areas.
    But *nowhere* have I found an explanation of how to calculate it that goes from 1) here's the definition and some properties of it, to 2) here's how you can actually calculate it for yourself if you really want to. Is it really that opaque???
    Compare the situation with say the exponential or natural logarithm. If you have the patience, you can use the Taylor series to calculate them for whatever input you like. Likewise for most other common functions you can think of, trig functions, even things like the Normal distribution can be approximated in various fairly straightforward ways.
    Surely someone can open up the black boxes and explain how they work to us non-super-advanced-math folks?!?! Especially for such a fundamentally important function!
    Anyway, if you have any ideas you could mention or perhaps if you get inspired to even make a video about it, I personally would very much appreciate it, and I suspect I'm not the only person in the world who would! 😅

    • @Nxck2440
      @Nxck2440 2 ปีที่แล้ว +1

      Gamma is defined as an integral,
      gamma(x) = integral from 0 to infinity: t^(x - 1) * e^(-t) dt
      You can use a substitution to make these bounds finite, e.g. let t = -ln u:
      gamma(x) = integral from 0 to 1: (-ln u)^(x - 1) du
      Now you can use numerical integration. You have to be a bit careful though since the lower bound is improper. A good strategy might be to start at u = 1 and integrate backwards, taking smaller and smaller steps as you get to u --> 0. Writing this as a summation is possible but not very useful as you'd want to program it, and at that point why not just use the black-box function anyway?

  • @Lsazeh
    @Lsazeh 2 ปีที่แล้ว

    Super clear explanation, thank you!

  • @BetoAlvesRocha
    @BetoAlvesRocha 2 ปีที่แล้ว

    Hi, mate! Thank you so much for the very clear and kind explanation. By the way, love your accent. Cheers from Brazil! ;)

    • @BetoAlvesRocha
      @BetoAlvesRocha 2 ปีที่แล้ว

      Ahhh man! Now I know where I know you. It's from Udacity, I can remember some Machine Learning classes taught by you =)

  • @jbtechcon7434
    @jbtechcon7434 3 ปีที่แล้ว

    Another great video and clear explanation.

  • @felipec
    @felipec 2 ปีที่แล้ว

    Excellent explanation, one minor comment though. At the end you present 3 graphs with the beta distribution at different values, and it's clear the one with a=701, b=301 is the more likely one to land close to 0.7, but you didn't show the *height* which I believe is the maximum likelihood estimator and it's much higher in the 3rd one.

  • @emanalsuradi4969
    @emanalsuradi4969 3 ปีที่แล้ว

    superb!!! The best explanation ever!

  • @gergerger53
    @gergerger53 3 ปีที่แล้ว +1

    Another great video!

  • @michaeldouglas7641
    @michaeldouglas7641 3 ปีที่แล้ว

    Hi Luis. Great video. Have you since made a video regarding the Gamma function/distribution as you mentioned you might at (9:08) mins?

  • @nitinkapoor4752
    @nitinkapoor4752 ปีที่แล้ว

    Finally… I have a better understanding of Beta distribution

  • @dyoolyoos
    @dyoolyoos 3 ปีที่แล้ว +6

    Just have to say, I've watched the binomial distribution vids of 3Bl1Br and your explanation made more sense!👍🏼 Granted we're still waiting for his Part 3; pls help prod him for it!😊

    • @hardwarejunkie9
      @hardwarejunkie9 2 ปีที่แล้ว +1

      Absolutely. Hunting around to fill the gaps for Part 3.

  • @nanu-Nina
    @nanu-Nina 2 ปีที่แล้ว

    Thank you so much. Now I got it!

  • @kenkinyua7036
    @kenkinyua7036 2 ปีที่แล้ว

    watching from kenya this was amazing thanks

    • @SerranoAcademy
      @SerranoAcademy  2 ปีที่แล้ว

      Yeahhh!!! Greetings to Kenya! :)

  • @scottfan5079
    @scottfan5079 3 ปีที่แล้ว

    Very useful, thank you very much!

  • @rajatsharma6137
    @rajatsharma6137 3 ปีที่แล้ว

    please make more probability related videos...its really helpful..

  • @tithisarkar2987
    @tithisarkar2987 3 ปีที่แล้ว

    It's so much helpful
    Thank you so much sir

  • @calluma8472
    @calluma8472 ปีที่แล้ว

    Best video I have found on this topic - I have been waiting for 3b1b to finish the binomial topic by talking about using the beta. One question - let's say I have a coin and have done 10 throws and so I use beta distribution where a=8 and b=4. Can I then say something concrete like p(h) is between 0.6 and 0.8 with confidence of 54% (54% is based on cumulative dist at 0.8 minus cumulative dist at 0.6)? And with a=71 b=31 confidence would be more like 77% for the same range?

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w ปีที่แล้ว

    I thought data was incorporated into the likelihood. But in your last example, with larger sample, the beta prior reflects the data increase. I’m not clear on that part.

  • @maxyen9892
    @maxyen9892 2 ปีที่แล้ว

    fantastic video!

  • @bestoftheinternet3421
    @bestoftheinternet3421 19 วันที่ผ่านมา

    wow this is interesting. thanks sir!

  • @omarmohy3975
    @omarmohy3975 3 ปีที่แล้ว

    Luis, really great video as always. I would like to ask to make sure I understood, If I have a problem where I want to get a likelihood score for 3/5 and 60/100, and I want the second one to yield a higher score then I use the Beta Distribution right?
    The second question will the probability which is are under curve will differ a lot from f(x) from a=7, b=3 and a=700, b=301

  • @cernejr
    @cernejr 3 ปีที่แล้ว

    What is the intuitive explanation of the asymmetry of the curve? And why is the curve getting more symmetric as the number of coin flips rises? I would be nice to see these discussed/explained.

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว +1

      that's a great question, I hadn't thought about the symmetry... I don't know if the one with more flips looks more symmetric simply because it's skinnier, or because it's actually more symmetric for a combinatorial reason. I'll give it more thought to see if it means something, keep me posted if anything comes to mind!

  • @angelsabillon93
    @angelsabillon93 2 ปีที่แล้ว

    I wish my statistics professor explained like this

  • @thomasward7196
    @thomasward7196 3 ปีที่แล้ว

    I had a ohhhhhhhhg moment, while watching this. Thanks for the amazing explanation, I'll make sure to sub. Cheers

  • @jackpot7041
    @jackpot7041 ปีที่แล้ว

    very nice video, thanks

  • @vivekgandhi8891
    @vivekgandhi8891 ปีที่แล้ว

    why did you multiply the probabilities on 3 heads and 2 tails

  • @tejask5417
    @tejask5417 3 ปีที่แล้ว

    You are a genius :) Thank you!

  • @anttwo
    @anttwo 6 หลายเดือนก่อน

    I don't understand something. Why do we multiply the probability of heads to the probability of tails?
    Eg: coin 3 of the second example has P(H)=0.3, why do we multiply it with P(T)=0.7?
    Edit: I also didn't understand why is it (1-p) still

  • @ytseberle
    @ytseberle 2 ปีที่แล้ว

    Excellent video. Thanks so much.
    One picky note: sometimes you pronounce it "beta" and sometimes "bee". The Roman letter B (bee) and the Greek letter B (beta) look alike, but aren't pronounced the same.

    • @mahnazakbari2504
      @mahnazakbari2504 2 ปีที่แล้ว

      *B* is the area under the curve. *Beta* distribution is the *density* divided by *B* .

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w ปีที่แล้ว

    Not sure why the binomial coefficient term would go away.

  • @InglesConConfianza
    @InglesConConfianza ปีที่แล้ว

    THANK YOU!!!!!!!

  • @lactobacillus128
    @lactobacillus128 6 หลายเดือนก่อน

    Why the probability of Head is started 0.4? not 0.5 each?

  • @samirelzein1978
    @samirelzein1978 3 ปีที่แล้ว

    Awesome as usual

  • @Имя-к1ю
    @Имя-к1ю 8 หลายเดือนก่อน

    But this is a probability density function, f(x)=PDF, not the probability of p, so how we know the real probability of p?

  • @AmitGuptaGwl
    @AmitGuptaGwl 2 ปีที่แล้ว

    Sorry, I couldn't understand why we divided with the sum?

    • @SerranoAcademy
      @SerranoAcademy  2 ปีที่แล้ว

      Hi Amit! It's so that the probabilities add to 1, since they always have to add to 1, as we're considering all the possible cases.

  • @offswitcher3159
    @offswitcher3159 2 ปีที่แล้ว

    Great video

  • @suslamo
    @suslamo 3 ปีที่แล้ว

    thank you!

  • @pradiptapattanayak8085
    @pradiptapattanayak8085 3 ปีที่แล้ว

    Presentation is too good.

  • @RajdeepBorgohainRajdeep
    @RajdeepBorgohainRajdeep 3 ปีที่แล้ว

    Hello, Sir please make a video on Eigenvectors :)

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว +3

      Thanks! THere are some eigenvectors in this video: th-cam.com/video/g-Hb26agBFg/w-d-xo.html
      But soon there'll be a video on generalized eigenspaces, stay tuned!

    • @RajdeepBorgohainRajdeep
      @RajdeepBorgohainRajdeep 3 ปีที่แล้ว

      @@SerranoAcademy Sir, I have seen the above mentioned lesson. Thank you and waiting for the new one :)

  • @maxpaju
    @maxpaju 3 ปีที่แล้ว

    Why are they not called meta-distributions?

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว +1

      Ohh that’s a very good name!

  • @johnokon-c2i
    @johnokon-c2i ปีที่แล้ว

    Bruh!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    May your days be long and as easy as you just made my life!!!

  • @venready2839
    @venready2839 ปีที่แล้ว

    The link to your book is broken.

  • @md.abdurrahman7059
    @md.abdurrahman7059 8 หลายเดือนก่อน

    Good video❤

  • @franard4547
    @franard4547 2 ปีที่แล้ว

    nice exp.

  • @Coughi3
    @Coughi3 ปีที่แล้ว

    thank you for the video that was very well explained

  • @奶盖生煎包
    @奶盖生煎包 ปีที่แล้ว

    LOOOOOVE YOOUUUUU❤

  • @tormentacristal
    @tormentacristal 2 ปีที่แล้ว

    Great!😍

  • @rhuanbarros
    @rhuanbarros ปีที่แล้ว

    thank youuuuuu

  • @tianyiluo2991
    @tianyiluo2991 2 ปีที่แล้ว

    nice video

  • @antonioruotolo6014
    @antonioruotolo6014 9 หลายเดือนก่อน

    too many leaps to be easily undertandable

  • @gauravms6681
    @gauravms6681 3 ปีที่แล้ว

    ❤️

  • @kasraamanat5453
    @kasraamanat5453 2 ปีที่แล้ว

    ❤️