An Introduction to the Hypergeometric Distribution

Поділитися
Вставка
  • Опубліковано 6 жов 2024
  • An introduction to the hypergeometric distribution. I briefly discuss the difference between sampling with replacement and sampling without replacement. I describe the conditions required for the hypergeometric distribution to hold, discuss the formula, and work through 2 simple examples.
    I also discuss the relationship between the binomial distribution and the hypergeometric distribution, and a rough guideline for when the binomial distribution can be used as a reasonable approximation to the hypergeometric. I finish with a brief example involving the multivariate hypergeometric distribution.
    For those using R, here is the R code to find the probabilities for the examples in this video:
    The probability of picking exactly 4 red balls when picking 5 balls from a source containing 6 red and 14 yellow.
    Without replacement (hypergeometric):
    choose(6,4)*choose(14,1)/choose(20,5)
    [1] 0.01354489
    or
    dhyper(4,6,14,5)
    [1] 0.01354489
    With replacement (binomial):
    dbinom(4,5,6/20)
    [1] 0.02835
    The probability of picking exactly 7 females when randomly sampling from a school with 1100 female and 900 male students.
    Without replacement (hypergeometric):
    choose(1100,7)*choose(900,3)/choose(2000,10)
    [1] 0.1664901
    or
    dhyper(7,1100,900,10)
    [1] 0.1664901
    With replacement (binomial):
    dbinom(7,10,1100/2000)
    [1] 0.1664783
    Multivariate hypergeometric, probability of picking exactly 3 Democrats, 2 Republicans, and 1 independent in the sample.
    choose(12,3)*choose(24,2)*choose(8,1)/choose(44,6)
    [1] 0.06881377
    or, with the extraDistr package installed:
    dmvrhyper(c(3,2,1),c(12,24,8),6)

КОМЕНТАРІ • 245

  • @aymenechchalim4654
    @aymenechchalim4654 Рік тому +51

    Huge admiration for your work, it's nice to realize that something you did 9 years ago is still remarkably useful to many of us, thank you

    • @jbstatistics
      @jbstatistics  Рік тому +18

      Thanks for the kind words! I tried to build them to stand the test of time :)

  • @lazy_hiker_guy
    @lazy_hiker_guy 10 років тому +127

    You are better at explaining the basic concepts of statistics than my college professors. You have become my shifu!

    • @jbstatistics
      @jbstatistics  10 років тому +36

      I'm always happy to be somebody's shifu!

    • @lazy_hiker_guy
      @lazy_hiker_guy 10 років тому +4

      Could you please upload video on Gamma Distribution?

    • @pesa2164
      @pesa2164 3 роки тому +7

      I had to Google shifuh…

    • @phenomenal821
      @phenomenal821 Рік тому +1

      @@pesa2164 🤣

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

      Ikr watching this bc my high school teacher like explains it once than just uses homework

  • @yaribsuarez8725
    @yaribsuarez8725 9 років тому +119

    You're a gifted profesor, I really enjoy and understand!! 👍

    • @jbstatistics
      @jbstatistics  9 років тому +13

      +Yarib Suárez Thanks for the compliment! I'm glad to be of help.

  • @danielrojas4843
    @danielrojas4843 8 років тому +27

    your voice is so peaceful I dont know if Im studying or hearing music.
    Great videos man

  • @kniix
    @kniix 2 роки тому +7

    I absolutely love that you compare each dist type to Binomial, so that we can understand WHY they are different. Well done!

  • @sknight7511
    @sknight7511 3 роки тому +7

    who knew a video from years ago would help me so much with my uni, hope you're still teaching because omg your explanation is so good.

  • @narasimhann2814
    @narasimhann2814 Рік тому +3

    Dude!!
    You're series is literally Gold.
    Precise explanation, with examples and tiny bit of humor . Hats of to you!!!
    I've learnt more now than during my college. Thank you :)

  • @sunghyunpark2055
    @sunghyunpark2055 8 років тому +7

    Wow, This is really good. I am currently preparing for the preliminary exam for actuarial science, and your lecture is so clear and super-helpful.

  • @orlandowan5847
    @orlandowan5847 7 років тому +2

    One of the better instructional videos on this topic here on UA-cam. You also explain similarity and trade-off with the binomial distribution as well as cater for scenarios where there are more than two possible outcomes. Thanks.

  • @Cleisthenes2
    @Cleisthenes2 11 місяців тому +11

    Huh. So why is it 'hyper-geometric'?

  • @nishadr.7637
    @nishadr.7637 2 роки тому +3

    this is basically 5 hours of lectures summed up in 15 min

  • @benjaminli3808
    @benjaminli3808 3 роки тому +3

    I literally had a list of distributions i needed to review, and you just lined up all the videos, XD, amazing.

  • @instant_mint
    @instant_mint 6 років тому +2

    These videos are helping me so much! I feel like I'm about to give up this course but then I come home and watch another video from this series, and suddenly things make sense. Thanks for making great videos

    • @jbstatistics
      @jbstatistics  6 років тому +1

      Thanks for the kind words! I'm glad I could be of help.

  • @bokangfalatsi3736
    @bokangfalatsi3736 Рік тому +3

    Okay Professor, you are guilty of being the best Mathematical Statistics Prof.

  • @goksenumutguler2179
    @goksenumutguler2179 7 років тому

    Very clear and simplified version of everything teachers generally tend to tell complex as hell, you sir is a legend.

  • @TheOfficialYossi
    @TheOfficialYossi 10 років тому +12

    Man I LOVE YOU!! I have an exam in the morning and this is so useful!! I have an exam in all the distributions, wish me luck! haha

  • @rishabhnarula1999
    @rishabhnarula1999 11 місяців тому +1

    thank you sir, i have become a great admirer of your works now, and they are really useful. 😊👍

    • @jbstatistics
      @jbstatistics  11 місяців тому +1

      You are very welcome. I'm glad to be of help!

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

    You are the best statistics teacher I have ever found!

  • @jbstatistics
    @jbstatistics  11 років тому +1

    Thanks! I'm glad you find them useful.

  • @jbstatistics
    @jbstatistics  11 років тому +3

    Thanks! I hope you find many more of videos helpful. Cheers.

  • @gabriel-braga-uc
    @gabriel-braga-uc Рік тому

    Your videos are serving as amazing insights and have been helping me a lot throughout my graduation. Thank you so much for this peak content!

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

    I am sure that it is a significant effort to create these videos, which are so smooth, so clear and so polished. I always think that statistics in an intrinsically difficult area of mathematics.While I am an advocate of book learning, your videos are a great supplement and I really appreciate your contribution.

    • @jbstatistics
      @jbstatistics  5 років тому +3

      Thanks so much for the very kind words. I'm very glad I could be of help. These videos do take some time (sometimes *a lot* of time), but I hope they provide value that far outweighs my effort. Thanks again.

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

    I am watching all your videos and I second, these are all relevant, clearly explained, brilliant videos. Thank you so much for your brilliant work!

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

    Amazing video makes the concept so much easier to understand.

  • @Mariam-so3nb
    @Mariam-so3nb 10 років тому +1

    I wish I found your videos a little bit earlier! Watching your videos give some sense of hope for my exam tomorrow. Thank you! :-)

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

    Hats off to you Sir, the way you explain really fits into the mind. Thanks

  • @jbstatistics
    @jbstatistics  11 років тому +1

    Thanks Mohamed. I appreciate the compliment! I'm glad you like my videos, and I'll definitely be adding more soon.

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

    All doubts cleared by seeing your lecture thanks a lot

  • @krishnabharadwaj4715
    @krishnabharadwaj4715 8 років тому

    You are the king of all teachers.

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

    Thank you for adding the 3rd cmponent was wondering about that. Thanks very much

  • @fahada1921
    @fahada1921 7 років тому

    Wow thank you.
    i love people who share their knowledge and make it easier for others.

    • @jbstatistics
      @jbstatistics  7 років тому

      You are very welcome. I'm glad I could help!

  • @UncleLejin88
    @UncleLejin88 9 років тому

    Thank you so much. You explain it so much better than my professor.

  • @faracanthaceae4946
    @faracanthaceae4946 7 років тому +26

    the boss example hilarious :D :D :D

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

    Excellent explanation, Now the exam will be good, thanks to you

  • @DexterPires
    @DexterPires 6 років тому

    I honestly was really getting frustrated with this whole part of statistics, I would work really hard (Reading, trying examples and exercises) but I just couldn't get it. Your videos just made it so simple and easy, Thank you!!

    • @jbstatistics
      @jbstatistics  6 років тому

      You are very welcome Luis! I'm glad to be of help!

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

    Crystal clear explanation. Very helpful. I detect a slight Canadian accent which I have come to associate with the best math and stats videos on UA-cam. Thanks prof wherever you are.

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

      Canadian accent? I thought we Canadians didn’t have accents. Isn’t it everyone else who does?

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

      Phil Bakes - that is correct. However, we who live South of the border - and also have no accent, of course - notice a few deviations around our means :)

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

    As usual you do a excelent job of explaining this distribution probability is a very popular subject for mr.. Having a lot of trouble with BINGO would like to see examples of this!!!

  • @LoayAkmal
    @LoayAkmal 7 років тому

    Alright, you've just saved my grades and more importantly, taught me statistics. Thank you!

  • @amitbhatt575
    @amitbhatt575 8 років тому

    sr it really helped me a lot, U explained just like sal khan

  • @rehabmohsin2071
    @rehabmohsin2071 7 років тому +1

    You are an absolute legend!!! Thank you!!

    • @jbstatistics
      @jbstatistics  7 років тому

      You are very welcome. A legend in my own mind, at least!

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

    U are just the best; May God just bless you

  • @jbstatistics
    @jbstatistics  11 років тому

    Hi inmwt. I'm glad my video helped!

  • @jemshussdsbc4775
    @jemshussdsbc4775 8 місяців тому +1

    You are the best teacher thanks alot

    • @jbstatistics
      @jbstatistics  8 місяців тому

      You are very welcome, and thanks for the compliment!

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

    Stas exam this saturday.... thanks for these videos :)

  • @noor777300
    @noor777300 7 років тому

    thank you so much. Very clear explanation and good comparisons to avoid misunderstanding. Keep it up sir

    • @jbstatistics
      @jbstatistics  7 років тому +2

      You are very welcome! Thanks for the kind words.

  • @jeffaggas2205
    @jeffaggas2205 9 років тому

    This is a great explanation, very clear and really good examples.

  • @thepag52
    @thepag52 7 років тому

    youre a blessing. thank you so much for what you do. but i wish i had the definition of a hypergeometric distrobution like the others so i can distinguish when to use. i have been writing each definition down.

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

    Your videos are saving me thank you so much sir you are amazing!

  • @suryat1103
    @suryat1103 6 років тому

    Excellent Explanation.
    I am a new bie to stats with good Math backgrouund.
    I was able to grasp the content.
    Many Many Thanks

    • @jbstatistics
      @jbstatistics  6 років тому

      You are very welcome, and thanks for the compliment!

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

    bro...I think you are good. Glad to find you, thank you for all

  • @isupportargentina
    @isupportargentina 9 років тому

    I think this needs to be added to your "Discrete distributions" playlist?
    Thanks for these once again! :)

    • @jbstatistics
      @jbstatistics  9 років тому +1

      Shaun Roberts Thanks Shaun, I didn't notice that it wasn't in that playlist. I've added it.

  • @ViniciusCamatti01
    @ViniciusCamatti01 10 років тому +1

    Very good job! I learned a lot and very rapidly.

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

    THANK YOU for teaching so well

  • @ravitegar6582
    @ravitegar6582 6 років тому

    Here i am, 2 hours before exam and just star digging into hypergeometric distribution. Thanks for the video , wish me luck.

  • @someshshahi6014
    @someshshahi6014 10 років тому +1

    This is so helpful, should help me ace my stats exam. Do you have a video on conditional probability ?

  • @moypatel5554
    @moypatel5554 8 років тому +2

    Thank you for your knowledge sir

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

    Finally I am not bored of studying stats!!!!!

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

    Thank you for the explanation. It helps a lot!

  • @MileeWilson
    @MileeWilson 10 років тому +8

    Mathematicians, have a very good sense of humour. He said if you told your boss you sampled the same person more than once, you will be looking for another job in the near future,,, LOL.

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

    The BOSS of statistics!!!

  • @sandisiwebuthelezi3192
    @sandisiwebuthelezi3192 9 років тому

    Good explanation with clear examples...Thank you :)

  • @ololademafimidiwo7288
    @ololademafimidiwo7288 7 років тому

    Thank you so much! This made things so much clearer.

  • @mskgt8466
    @mskgt8466 8 років тому

    Thank you very much for such a great explanation. It was like 2+2=4 👍👍 you have clarified my queries :)

  • @VK-sp4gv
    @VK-sp4gv Рік тому

    Very well explained, thanks.

  • @dr.mosesmuthinja7838
    @dr.mosesmuthinja7838 6 років тому

    This is brilliant, I like it. some text books had made me a stressed man.

    • @jbstatistics
      @jbstatistics  6 років тому

      Thanks for the compliment! I'm glad I could be of help!

  • @dgamma1
    @dgamma1 10 років тому

    extremely well explained - and professional!!

  • @UncleLejin88
    @UncleLejin88 9 років тому

    I love stat but my professor lecture are dry and not as insightful like yours. you are awesome!!!

  • @sushmitanigam4979
    @sushmitanigam4979 7 років тому +2

    thanx a lot. incredible explanation

  • @hassanabdi9280
    @hassanabdi9280 9 років тому

    I like this explanation .
    It can help me in my sudies.
    Best regards

  • @ericg2920
    @ericg2920 7 років тому

    These videos are really excellent and even entertaining ! Are you considering to do videos about probability theory, like measure theory and stuff ? It'd be excellent...

    • @jbstatistics
      @jbstatistics  7 років тому

      I'm very much hoping to get back to video production, and perhaps do some more advanced topics in statistics, mathematical statistics, and probability. I'll free up some time in the not-too-distant future and get back to it!

  • @violalagonigro-m4d
    @violalagonigro-m4d 5 місяців тому

    10 yrs later and still going strong

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

    Great explanation. Thank you!

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

    Lol. You sampled 2 ppl 6 times lol. Fired.

  • @aaaaaawda
    @aaaaaawda 7 років тому +2

    Why are you such a lifesaver?!?!? Whyy tell me!!! Tell it!!!

    • @jbstatistics
      @jbstatistics  7 років тому +4

      I'm just doing my best to help out.

  • @xyz39r1abc
    @xyz39r1abc 9 років тому

    Very good explanation :D Thank you

  • @prakharbansal9079
    @prakharbansal9079 7 років тому

    brilliant explanation....hats off...😊

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

    6:33 Minimum of a and n is the Maximum we can get. That was a bit confusing but I get it now.

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

    better explanation than my professor

  • @seanki98
    @seanki98 6 років тому

    Professor, the reason why the binomial coefficients are multiplied is because of the "And" rule in probability right? We are making our choices simultaneously

  • @studunders8354
    @studunders8354 10 років тому

    This video is excellent! Keep up the good work!
    Oh where are my manners, thank you for doing this, much appreciated!

  • @coolgreensnake
    @coolgreensnake 11 років тому

    love ur videos ,keep up the good work

  • @hanwenguo9371
    @hanwenguo9371 Рік тому +2

    Hey 9 years later, I still like your joke

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

    Very helpful! Thank you.

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

    Great video man!

  • @oprabin
    @oprabin 7 років тому

    that "boss example" was savage!
    XD

  • @andreyrublyov8061
    @andreyrublyov8061 8 років тому

    Thank you. I'm crying right now! :')

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

    You're a gem.

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

    Hello, sir , very good video, so much helpful, are u sure that u use combination formula with the right calculation at the last exercize ?

  • @Syngenetic
    @Syngenetic 11 років тому

    Amazing!! You are such a great teacher. Subscribed! :)

  • @davinpaharia6265
    @davinpaharia6265 9 років тому

    Sir could you please explain in the last example why the case for failure was not taken??

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

    if your boss asks to you to sample 10 people and you came over with 2 people saying that the first one came out 6 times and the second one came out 4 times, you will probably be looking for a new job in the very near future.

  • @massivejester
    @massivejester 8 років тому

    Thank you for this video!

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

    Thankyou so much great video

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

    Excellent

  • @temrenalican4570
    @temrenalican4570 9 років тому

    Wherever I look up the variance formula I'm finding a bunch of Einstein formulas that don't make any sense to me. Can you write a brief summary of variance or give me a link to a source that is easy to understand?

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

    this is life saver

  • @tvvt005
    @tvvt005 6 місяців тому

    7:09 but n-(N-a) is just n-(no of failures in the sample+ number of successes outside the sample) right? So why do we consider number of successes outside sample

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

    At 1:25,
    you said that selecting any sample of 5 balls is equally likely, but it's seems wrong to me, because selecting 5 yellows is much more likely than selecting 5 reds...
    what am I missing?

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

    thank you i got the concept rnow

  • @nickst2797
    @nickst2797 7 років тому

    Hi!
    Which of your videos should i watch to understand the meaning of Combinations Formula or Binomail Coefficient?
    Thanks a lot for your videos!

    • @jbstatistics
      @jbstatistics  7 років тому +1

      I don't yet have a video on combinations and permutations, but perhaps in the future.