An Introduction to the Geometric Distribution

Поделиться
HTML-код
  • Опубликовано: 29 янв 2014
  • An introduction to the geometric distribution. I discuss the underlying assumptions that result in a geometric distribution, the formula, and the mean and variance of the distribution. I work through an example of the calculations and then discuss the cumulative distribution function.
    For those using R, here is the R code for the example in this video:
    NB R uses a different definition of the random variable than I do here. I define the random variable X to be the number of trials required to get the first success. R defines the random variable to be the number of failures before getting the first success (let's call this Y). Then Y = X - 1, and we'll have to make this adjustment when using dgeom, pgeom, or rgeom. Some might find this confusing, and if you do, don't use these functions.
    Sampling from a large population where 30% have CPR training until we get the first person with CPR training.
    Finding the probability that it happens on the sixth person sampled:
    (.3)*(.7)^5
    [1] 0.050421
    or
    dgeom(6-1,.3)
    [1] 0.050421
    Finding the probability that it happens on or before the third person sampled:
    .3+.3*.7+.3*.7^2
    [1] 0.657
    or
    1-.7^3
    [1] 0.657
    or
    pgeom(3-1,.3)
    [1] 0.657

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

  • @GMan-um1pi
    @GMan-um1pi 7 лет назад +117

    I go to one of the best universities in the world and you taught this infinitely better than my professor, thank you.

  • @tanvirkaisar7245
    @tanvirkaisar7245 7 лет назад +160

    You are the best statistics teacher i have ever found!

    • @shengchuangfeng227
      @shengchuangfeng227 6 лет назад

      Agree.

    • @mohammedelghitany9153
      @mohammedelghitany9153 4 года назад +2

      I agree, both mathematically and intuitively

    • @alexcipriani6003
      @alexcipriani6003 4 года назад +6

      @@theethatanuraksoontorn2517 if JB is not intuitive you have an intuition problem

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

      Completely agree!

    • @Elfajito
      @Elfajito 7 месяцев назад

      we can agree with a 95% of confidence that jb is the best statistics teacher based on a sample of 5 comments

  • @julieye5832
    @julieye5832 8 лет назад +58

    It doesn't get any clearer than this. Thank you!!

    • @jbstatistics
      @jbstatistics  8 лет назад +7

      +Julie Ye You are very welcome Julie! Thanks for the compliment!

  • @keanaleong7745
    @keanaleong7745 4 года назад +14

    WAAAAAAAY better than my lecturer - You deserve my tuition fees! Thank you for explaining in such a simplified manner!

  • @george4746
    @george4746 4 года назад +8

    Your words make perfect sense to me.
    I wonder why professors and books like to make things overcomplicated than it really is.

  • @zingg7203
    @zingg7203 8 лет назад +45

    This saves me from cancer. Thank you!

    • @jbstatistics
      @jbstatistics  8 лет назад +7

      You are welcome!

    • @abdallahelshinawy5536
      @abdallahelshinawy5536 7 лет назад

      how this saved you from cancer ?!

    • @dhidhi1000
      @dhidhi1000 7 лет назад +11

      relying on crappy probability teachers that use crappy books gives you cancer, this is scientifically proven.

    • @epsilonoclon7371
      @epsilonoclon7371 6 лет назад +5

      i can sustain this theory myself!

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

    You are the best statistics teacher I have ever found!

  • @JAlternative106
    @JAlternative106 8 лет назад +17

    These are the greatest. I can't express how thankful i am to your clear explanations. Thank you so much

    • @jbstatistics
      @jbstatistics  8 лет назад +2

      +Jbaker8390 Thanks! And you're very welcome!

  • @hvsampad4554
    @hvsampad4554 4 года назад

    You are one of the best stats teacher ever seen sir. you make even critical concepts lucid!!!

  • @sunnywang7501
    @sunnywang7501 3 года назад +4

    I read my textbook three thousand times about geometric distribution and was still confused. 10 minutes video of yours is able to make me understand what my textbook has tried to explain to me for the past hour. Thanks so much. Honestly youtube videos like these have been such good friends of mine for years. They always explain concepts better than my profs.

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

    Just discovered this video. Concise, precise, excellent. I'm adding it to my A-Level scheme of work.

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

    Your videos are so simple and clear... You are a great educator! Thank you!

  • @MrMarshmellowman22
    @MrMarshmellowman22 5 лет назад +1

    jesus christ man, you make everything make sense. i didn't understand the hyper geometric and Geo metric formulas and you made them very simple to understand, love you work

  • @probono2876
    @probono2876 8 лет назад +16

    What a great series on statistics, fantastic contents and presentation.
    Many thanks for that.

    • @jbstatistics
      @jbstatistics  8 лет назад +1

      +pro bono What a nice compliment! Thanks!

  • @zli-eo8xg
    @zli-eo8xg 7 лет назад

    excellent explanation, 100 times clearer than the instruction book

  • @akiyoshii1757
    @akiyoshii1757 7 лет назад +2

    Thank you. I've just learned it less than 15mins, I have my presentation tomorrow about this, thanks for this

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

    I don't have words to express my thankfulness 😌

  • @jeskow19
    @jeskow19 4 года назад

    These videos are better than any formal instruction I ever had in undergrad, masters, MBA....anything. Don't go to school kids. Just find the right youtube channel.

  • @achuthadivine
    @achuthadivine 9 лет назад +7

    Amazing Playlist :) You made my day :)

  • @christophergonzalez1464
    @christophergonzalez1464 5 лет назад +4

    5 years later and you still have students coming to your videos for help. Thank you sir

    • @jbstatistics
      @jbstatistics  5 лет назад +1

      You are very welcome. I tried to make them stand the test of time :)

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

      Make it 6 years.

    • @aymenechchalim4654
      @aymenechchalim4654 Год назад +1

      @@sg5sd make it 9 mam

    • @user-nv7dz9cp3u
      @user-nv7dz9cp3u 3 месяца назад

      @@aymenechchalim4654 make it 10, @jbstatistics 🤩🥰

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

    Very clear and precise explanation

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

    So helpful! Thank you for making these videos

  • @AtlasMvm
    @AtlasMvm 7 лет назад +1

    one of the best instructional math videos I have ever seen

    • @jbstatistics
      @jbstatistics  7 лет назад

      Thanks! That's quite the compliment!

  • @alexisbader5189
    @alexisbader5189 7 лет назад

    This was absolutely fabulous, thank you for a wonderful clear explanation of the geometric distribution

    • @jbstatistics
      @jbstatistics  7 лет назад

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

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

    Short, Crisp, excellent explanation

  • @clintonpambayi893
    @clintonpambayi893 3 года назад +1

    Danki Sir you nailed it!!!!!!!!!!!!! You are the best

  • @flaviabeqiri
    @flaviabeqiri 6 лет назад +1

    Fantastic Job! Thank you very much!!!

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

    bro you are the best
    never ever got so much clarity about distributions

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

    Great explanations, you are the best

  • @tenzin8773
    @tenzin8773 6 лет назад

    Great video! Clear and concise. Thank you very much!

    • @jbstatistics
      @jbstatistics  6 лет назад

      You are very welcome! Thanks for the compliment!

  • @AshrafulAlam-
    @AshrafulAlam- 3 года назад

    Sir, you are doing really great. We, students in statistics really thankful to you. Please do more tutorials on statistics.
    (From Bangladesh)

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

    Wow. Im really impressed. Thanks alot.

  • @rishabhnarula1999
    @rishabhnarula1999 9 месяцев назад

    great explanation sir, and very well presented, really cleared up my doubts and confusions regarding this topic.

  • @yazanziad6718
    @yazanziad6718 21 день назад

    THANK YOU SO MUCH
    from Jordan 🇯🇴
    🌹

  • @blahmonster1234
    @blahmonster1234 9 лет назад

    Excellent videos!

  • @Daniel-aaaaa
    @Daniel-aaaaa 2 года назад +5

    You helped me pass my probability course. Just wish there was more stuff like chebyshev's inequality, but the videos explaining the common distributions are all golden.

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

      I'm glad to be of help! I hope to add more videos in the near future.

  • @zakariasaidy7783
    @zakariasaidy7783 7 лет назад

    I never comment on videos but you just saved my life, I was having trouble with binomial, negative binomial and geometric distribution but now its all clear thanks to you. Thank you a million times. God bless you.

  • @annalam8624
    @annalam8624 7 лет назад +1

    it helps me a lot! thank you!

  • @jean-francoisgirouard1133
    @jean-francoisgirouard1133 9 лет назад

    Thank you! You explain at least 4012395719875 times better than my teacher ;)

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

    Thank you for such nice explanation, I clearly understood now, please try to make such more videos on data science concepts.

  • @MrAlbashiri
    @MrAlbashiri 8 лет назад +2

    you are the best. thank you for the video

    • @jbstatistics
      @jbstatistics  8 лет назад

      +Mohammed Al-Bashiri You are very welcome!

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

    This is better than the statistics book I am using now. It only gives the formula but does not explain how it was derived.

  • @thestupidsofheaven2042
    @thestupidsofheaven2042 7 лет назад

    every time I fail my exam, I watch these videos..! what a series of wonderful video tutorials..!

    • @jbstatistics
      @jbstatistics  7 лет назад

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

  • @natemcclintock2258
    @natemcclintock2258 8 лет назад +2

    Thanks for this, I couldn't understand my textbook but this was so helpful!

    • @jbstatistics
      @jbstatistics  8 лет назад

      +Nate McClintock You're welcome Nate! I'm glad you found it helpful!

  • @salvatoregiordano6816
    @salvatoregiordano6816 5 лет назад +1

    Thank you sir!

  • @thepegu8287
    @thepegu8287 4 года назад +1

    Thanks JB🔥. wish my professors taught like u😔

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

    Your videos are too awesome.

  • @harisrg92
    @harisrg92 7 лет назад +1

    I am not surprised this video has 0 dislikes. YOU ARE AWESOME MAN!!! THANK YOU SO MUCH!!

    • @jbstatistics
      @jbstatistics  7 лет назад

      Thanks for the compliment! I'm sure the dislikers will come out of the woodwork eventually :) For now I'll be content with the 435:0 ratio.

    • @hellodarknessmyoldfriend2976
      @hellodarknessmyoldfriend2976 7 лет назад

      jbstatistics make that a 492:0 like to dislike ratio

  • @marziehdo6788
    @marziehdo6788 8 лет назад +1

    I really couldn't get why P(X>x) is calculated like that, Now it is really clear to me.Thanks alot, well explained

  • @Ceilvia
    @Ceilvia 5 лет назад +1

    Thank you I feel educated

  • @kiranthota5137
    @kiranthota5137 Месяц назад

    Great explanation, while reading in wiki i realized that we have 2 diff type of Geometric distributions, 1. random variable is no. of trials for 1st success 2. random var is no. of failures to see 1st success. which is very important while conducting the experiment, which i think missed in this current video lecture. thanks.

    • @jbstatistics
      @jbstatistics  Месяц назад

      I think bringing that up in an introductory video on the geometric distribution does more harm than good. It's an extra layer of confusion that people don't need at first. The difference in the random variables, the difference in the means, describing why the variances are the same...it just takes away from the big picture of what the geometric distribution does for us. Sure, I bring it up elsewhere, especially as I use R in my courses and R uses the other definition of the r.v., but I think it would cause more confusion than it's worth in an intro video. Once one is understood, the other comes naturally.

  • @GOODBOY-vt1cf
    @GOODBOY-vt1cf 4 года назад +1

    thank you so much

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

    You the best!!

  • @evandevapriya9653
    @evandevapriya9653 10 лет назад +1

    Thanks, helped a lot :)

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

    Very helpful

  • @MarkGingrass
    @MarkGingrass 7 лет назад

    Very useful explanation.

  • @muhammadkhan-lb8rx
    @muhammadkhan-lb8rx 8 лет назад

    Fantastic .

  • @amaa3619
    @amaa3619 8 лет назад

    Thanks so much. Your videos are a life saver 😀😀😀

    • @amaa3619
      @amaa3619 8 лет назад

      Your presentation is so much easier to understand than the textbooks

    • @jbstatistics
      @jbstatistics  8 лет назад

      +Ama opokua Asomani-Adem Thanks! And you are very welcome!

  • @harshilandhariya7799
    @harshilandhariya7799 5 месяцев назад +2

    Thank you👍👍

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

    Crystal 🔮 clear

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

    One of the best

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

    Great explanation

  • @shikhagupta6409
    @shikhagupta6409 8 лет назад +4

    Thanks a lot :-)

  • @claudiamesaaparicio8517
    @claudiamesaaparicio8517 4 года назад

    bravo!

  • @marketcycles2399
    @marketcycles2399 8 лет назад

    thanks a lot sir

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

    Anyone know where to find a good video about this using geometric series mathematically? I gotta answer a question on it, and this guy is an amazing teacher.

  • @covidnineteen5249
    @covidnineteen5249 4 года назад

    Thanks bro

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

    thankyou sir

  • @caribbeankpoplover
    @caribbeankpoplover 6 лет назад +1

    Ugh who even had the time to come up with all of this?! Anyways, thank you so much for your help!

    • @jbstatistics
      @jbstatistics  6 лет назад +3

      You're welcome. The geometric distribution comes up frequently in theory and practice -- it's not just an obscure abstract notion.

  • @tajammalnawaz5552
    @tajammalnawaz5552 7 лет назад

    one of precious play list for my type student who fail to understand in class

  • @kanikabagree1084
    @kanikabagree1084 4 года назад

    Hey thankyou somuch for this video helped alot but can you please explain the difference between when to use geometric and negative binomial distributions

  • @eliasbiral
    @eliasbiral 9 лет назад

    Hi dude your classes are great! What software do you use to make the slides and write on them as you make a video? Thanks

  • @messynkocierh1917
    @messynkocierh1917 6 лет назад

    nice one bruh

  • @doukas21original
    @doukas21original 3 года назад +1

    Hello, is the text used in the videos available anywhere? I would like to use it as notes

  • @sahabkausar3097
    @sahabkausar3097 7 лет назад +2

    Tnxxx for giving me a such ideas of geometric distribution but can u plz tell me how I can find the Mgf of Hyper_Geometric distribution..

  • @G_anon
    @G_anon 10 лет назад

    I expect that this is an update to a previous video you had on introducing geometric distributions?

    • @jbstatistics
      @jbstatistics  10 лет назад

      Yes, it's an updated intro to the geometric. (There were a couple of things I didn't like about the first one -- this one is better.) Cheers.

  • @rafatshaikh8516
    @rafatshaikh8516 4 года назад

    I want the formula for calculating the quartile deviation of geometric distribution

  • @naheen4628
    @naheen4628 4 года назад

    Anyone here after they introduced this to the cambridge as level syllabus this year?

  • @socialdeveloper5570
    @socialdeveloper5570 6 лет назад

    I cant stop watching these tutorials wtf

  • @adminenetzone6330
    @adminenetzone6330 8 месяцев назад

    I couldn't understand why p is the parameter of the geometric's PMF, while it's a constant. Can you explain that to me please... Thanks for the video

  • @johnbennett8948
    @johnbennett8948 5 лет назад +1

    This is for sampling with replacement. What distribution would we use if we sampled without replacement?

    • @jbstatistics
      @jbstatistics  5 лет назад +2

      It's not so much sampling with replacement, as that the probability of success is staying constant from trial to trial. (We might not be sampling from a finite population -- e.g. we might be flipping a coin repeatedly.) If we are sampling repeatedly without replacement from a finite population that is made up of a certain number of successes and a certain number of failures, then the # of trials required to get the kth success has a negative hypergeometric distribution. What you are looking for is the negative hypergeometric distribution with k = 1. (With this distribution, as well as the "regular" geometric and negative binomial, you have to be careful, as different sources use different notation and different definitions of the random variable -- e.g. # of trials required to get the kth success, or the # of failures needed to get the first success, or using k to represent a different quantity than I am here.)

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

      @@jbstatistics thanks.

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

    Hello
    Do you have a video for the Uniform distribution(discrete) please ?
    thanks for the lovely video , your voice is a Superb by the way !

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

      No, I do not yet have a video on the discrete uniform distribution.
      Thanks for the compliments!

  • @Kaysar777
    @Kaysar777 6 лет назад +1

    Thank you for this great explanation!
    Isn't mean 1-p/p though?

    • @jbstatistics
      @jbstatistics  6 лет назад +3

      No, not under the way I've defined the random variable in this video. I've defined X to represent the trial # on which the first success appears. Then E(X) = 1/p. Sometimes people define the random variable to be the # of failures before the first success appears. If Y represents the number of failures before the first success appears, then Y = X-1, and E(Y) = E(X) -1 = (1/p) -1 = (1-p)/p.

    • @Kaysar777
      @Kaysar777 6 лет назад +1

      Aaa... Thank you for this great clarification! You're awesome! :D

  • @triassic995
    @triassic995 10 лет назад

    Hi, could geometric distribution be applied to 3 outcomes? Somewhat like how multinomial distribution is an extension of binomial distribution. Thanks!

    • @jbstatistics
      @jbstatistics  10 лет назад

      If you're asking about the distribution of the number of trials required to get a certain number of successes (e.g. the number of tosses required to get the fourth success), then that's the negative binomial distribution. I have a video on the negative binomial distribution here: ruclips.net/video/BPlmjp2ymxw/видео.html

  • @imonghose553
    @imonghose553 3 месяца назад

    Does the geometric distribution hold the memoryless property ? Also, is exponential distribution a continuous version of the geometric distribution ?

    • @jbstatistics
      @jbstatistics  3 месяца назад

      I don't think you'd ask those two questions in that way if you didn't know the answers to them. So my question to you is, why are you asking those questions? I'm pretty sure we both know the answers.

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

    how we found E and V please help

  • @patrickgomez5688
    @patrickgomez5688 Год назад +1

    🧡🧡🧡

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

    Can't Thank you enough for saving my a$$

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

    Why P(x > 3) is 0.7^3?

  • @samsonwong8121
    @samsonwong8121 4 года назад

    isnt that variance equals to p/(1-p)^2?

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

    first off, a million thanks to you man, your a savior for real ...
    second, at 8: 45 , when he says: the probability of the variable X taking a value greater than 3 is simply having 3 failiers in a row,, can someone please elaborate? because i feel that the probability of taking a value greater than 3 is "(3 fails in a row) or (4 fails in a row) ... etc " what am i getting wrong please?!

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

      If the first 3 trials are failures, then the first success must come after the third trial. If you toss a coin repeatedly, and tosses #1, #2, and #3 are all tails, then the first time heads appears will be on trial #4 or later.

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

      What really made it click for me was when I realised the statement you give at 9:10 is actually an equivalent statement. That is the converse to this statement is also true. Therefore the probabilities must to be the same. I wrote it out letting statement A = the first 3 trials are failures, B = more than 3 trials are needed to obtain a success. Then it is easy to see both A implies B and that conversely B implies A. Therefore A = B, hence P(A) = P(B). This was bugging me all day, glad I cleared it up.

  • @ArshadAli-zk5kj
    @ArshadAli-zk5kj 5 лет назад

    shouldn't the probability of getting success on the sixth trial be p if the trials are independent?

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

      The probability of getting *a* success on the sixth trial is p, sure, but here we're looking for the probability that the *first* success occurs on the sixth trial.

  • @adiga202
    @adiga202 8 лет назад

    hi jbstatistics ! can yo explain why p(X>3) = (0.7)^3 and not 1-(0.7)^3 ?
    thanks for your videos!

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

      in Geometric Dist. we are trying to figure out the number of trials required to get the first success; since it is given that x>3, it means that the trial number that gave us success is more than , i.e., we had 3 failures. X=1 is failure 1, so x=3 will be (0.7)^3

  • @ugestacoolie5998
    @ugestacoolie5998 11 месяцев назад

    Reminds me of gacha game pulls whenever I do a geometric distribution

  • @Stichting_NoFap
    @Stichting_NoFap 5 лет назад +1

    the probability that x>3, why isn't it also + 0,7^4*0,3 + 0,7^5*0,3 + 0,7^6*0,3 etc?

    • @jbstatistics
      @jbstatistics  5 лет назад +2

      First, note that you are missing a term: P(X>3) = P(X=4) + P(X=5) + ... = 0.7^3*0.3 + 0.7^4*0.3 + ... But, like I state in the video, this is equal to 0.7^3. Your way works, but you have to add up infinite terms. My way the answer is 0.7^3. I like my way a little better :)

    • @jibranimtiyaz4612
      @jibranimtiyaz4612 4 года назад

      this is nothing but geometric progression...use sum of infinite terms of a GP formula to compute P(X>x) in general...U will come up with (1-p)^x

  • @tvvt005
    @tvvt005 3 месяца назад

    6:50 isn’t the mean (1-p)/p?

  • @renzostefanmp7937
    @renzostefanmp7937 6 лет назад

    Why I didn't find this channel before :/.

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

    What if p=1?

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

    at 7:48 i don't get how 0.7 to the zero power times 0.3 = success ... could you please explain for me? thanks!

    • @jbstatistics
      @jbstatistics  3 года назад +1

      That first term at 7:48 is just the probability the first trial is a success (P(X=1)). That is given as 0.3. But I wrote it as 0.7^0*0.3 so that it naturally fit with the other two terms (0.7^1*0.3 and 0.7^2*0.3).

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

      @@jbstatistics thanks!

  • @yichufan6493
    @yichufan6493 4 года назад

    but why does the μ equal to 1/p? Is there an intuition for it?

    • @yichufan6493
      @yichufan6493 4 года назад

      I think I just proved it using Taylor series!