An Introduction to the Geometric Distribution

Sdílet
Vložit
  • čas přidán 29. 01. 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

Komentáře • 187

  • @GMan-um1pi
    @GMan-um1pi Před 7 lety +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 Před 7 lety +159

    You are the best statistics teacher i have ever found!

    • @shengchuangfeng227
      @shengchuangfeng227 Před 6 lety

      Agree.

    • @mohammedelghitany9153
      @mohammedelghitany9153 Před 4 lety +2

      I agree, both mathematically and intuitively

    • @alexcipriani6003
      @alexcipriani6003 Před 4 lety +6

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

    • @yencyperez8362
      @yencyperez8362 Před 3 lety

      Completely agree!

    • @Elfajito
      @Elfajito Před 7 měsíci

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

  • @julieye5832
    @julieye5832 Před 8 lety +58

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

    • @jbstatistics
      @jbstatistics  Před 8 lety +7

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

  • @keanaleong7745
    @keanaleong7745 Před 4 lety +14

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

  • @zingg7203
    @zingg7203 Před 8 lety +46

    This saves me from cancer. Thank you!

    • @jbstatistics
      @jbstatistics  Před 8 lety +7

      You are welcome!

    • @abdallahelshinawy5536
      @abdallahelshinawy5536 Před 7 lety

      how this saved you from cancer ?!

    • @dhidhi1000
      @dhidhi1000 Před 7 lety +11

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

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

      i can sustain this theory myself!

  • @george4746
    @george4746 Před 4 lety +8

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

  • @abhinavbichal8798
    @abhinavbichal8798 Před 2 lety +2

    You are the best statistics teacher I have ever found!

  • @sunnywang7501
    @sunnywang7501 Před 3 lety +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.

  • @hvsampad4554
    @hvsampad4554 Před 4 lety

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

  • @MrMarshmellowman22
    @MrMarshmellowman22 Před 5 lety +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

  • @GuppyPal
    @GuppyPal Před rokem

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

  • @bobcavanagh1482
    @bobcavanagh1482 Před 2 lety

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

  • @christophergonzalez1464
    @christophergonzalez1464 Před 5 lety +4

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

    • @jbstatistics
      @jbstatistics  Před 5 lety +1

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

    • @sg5sd
      @sg5sd Před 3 lety +2

      Make it 6 years.

    • @aymenechchalim4654
      @aymenechchalim4654 Před rokem +1

      @@sg5sd make it 9 mam

    • @user-nv7dz9cp3u
      @user-nv7dz9cp3u Před 3 měsíci

      @@aymenechchalim4654 make it 10, @jbstatistics 🤩🥰

  • @JAlternative106
    @JAlternative106 Před 8 lety +17

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

    • @jbstatistics
      @jbstatistics  Před 8 lety +2

      +Jbaker8390 Thanks! And you're very welcome!

  • @probono2876
    @probono2876 Před 8 lety +16

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

    • @jbstatistics
      @jbstatistics  Před 8 lety +1

      +pro bono What a nice compliment! Thanks!

  • @jeskow19
    @jeskow19 Před 4 lety

    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.

  • @zli-eo8xg
    @zli-eo8xg Před 7 lety

    excellent explanation, 100 times clearer than the instruction book

  • @akiyoshii1757
    @akiyoshii1757 Před 7 lety +2

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

  • @achuthadivine
    @achuthadivine Před 9 lety +7

    Amazing Playlist :) You made my day :)

  • @kuldeeplakheshwar7811
    @kuldeeplakheshwar7811 Před 3 lety

    I don't have words to express my thankfulness 😌

  • @davidmungai6048
    @davidmungai6048 Před 5 lety

    Very clear and precise explanation

  • @AtlasMvm
    @AtlasMvm Před 7 lety +1

    one of the best instructional math videos I have ever seen

  • @chitralarora2012
    @chitralarora2012 Před 5 lety

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

  • @alexisbader5189
    @alexisbader5189 Před 7 lety

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

    • @jbstatistics
      @jbstatistics  Před 7 lety

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

  • @andrewmackechnie6594
    @andrewmackechnie6594 Před 3 lety

    So helpful! Thank you for making these videos

  • @muskp
    @muskp Před rokem

    Short, Crisp, excellent explanation

  • @clintonpambayi893
    @clintonpambayi893 Před 3 lety +1

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

  • @flaviabeqiri
    @flaviabeqiri Před 6 lety +1

    Fantastic Job! Thank you very much!!!

  • @AshrafulAlam-
    @AshrafulAlam- Před 3 lety

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

  • @rishabhnarula1999
    @rishabhnarula1999 Před 9 měsíci

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

  • @mothusitamajasi1094
    @mothusitamajasi1094 Před 2 lety

    Great explanations, you are the best

  • @tenzin8773
    @tenzin8773 Před 6 lety

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

    • @jbstatistics
      @jbstatistics  Před 6 lety

      You are very welcome! Thanks for the compliment!

  • @zakariasaidy7783
    @zakariasaidy7783 Před 7 lety

    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.

  • @kajolandheriya7917
    @kajolandheriya7917 Před rokem

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

  • @Daniel-aaaaa
    @Daniel-aaaaa Před 2 lety +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  Před 2 lety +1

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

  • @annalam8624
    @annalam8624 Před 7 lety +1

    it helps me a lot! thank you!

  • @yazanziad6718
    @yazanziad6718 Před měsícem

    THANK YOU SO MUCH
    from Jordan 🇯🇴
    🌹

  • @blahmonster1234
    @blahmonster1234 Před 9 lety

    Excellent videos!

  • @jean-francoisgirouard1133

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

  • @yevseldev
    @yevseldev Před 2 lety

    Wow. Im really impressed. Thanks alot.

  • @MrAlbashiri
    @MrAlbashiri Před 8 lety +2

    you are the best. thank you for the video

    • @jbstatistics
      @jbstatistics  Před 8 lety

      +Mohammed Al-Bashiri You are very welcome!

  • @LNCMD2023
    @LNCMD2023 Před 3 lety

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

  • @salvatoregiordano6816
    @salvatoregiordano6816 Před 5 lety +1

    Thank you sir!

  • @harisrg92
    @harisrg92 Před 7 lety +1

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

    • @jbstatistics
      @jbstatistics  Před 7 lety

      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 Před 7 lety

      jbstatistics make that a 492:0 like to dislike ratio

  • @thestupidsofheaven2042

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

    • @jbstatistics
      @jbstatistics  Před 7 lety

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

  • @natemcclintock2258
    @natemcclintock2258 Před 8 lety +2

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

    • @jbstatistics
      @jbstatistics  Před 8 lety

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

  • @Ceilvia
    @Ceilvia Před 5 lety +1

    Thank you I feel educated

  • @YashwithQuantumDots
    @YashwithQuantumDots Před 2 lety

    You the best!!

  • @thepegu8287
    @thepegu8287 Před 4 lety +1

    Thanks JB🔥. wish my professors taught like u😔

  • @smartdesignengineering

    Your videos are too awesome.

  • @muhammadkhan-lb8rx
    @muhammadkhan-lb8rx Před 8 lety

    Fantastic .

  • @GOODBOY-vt1cf
    @GOODBOY-vt1cf Před 4 lety +1

    thank you so much

  • @evandevapriya9653
    @evandevapriya9653 Před 10 lety +1

    Thanks, helped a lot :)

  • @marziehdo6788
    @marziehdo6788 Před 8 lety +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

  • @MarkGingrass
    @MarkGingrass Před 7 lety

    Very useful explanation.

  • @kiranthota5137
    @kiranthota5137 Před měsícem

    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  Před měsícem

      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.

  • @Mohammadalhashash
    @Mohammadalhashash Před 2 lety

    Very helpful

  • @bhavikbitspilani1186
    @bhavikbitspilani1186 Před 5 lety

    One of the best

  • @Darieee
    @Darieee Před 5 lety

    Great explanation

  • @shikhagupta6409
    @shikhagupta6409 Před 8 lety +4

    Thanks a lot :-)

  • @claudiamesaaparicio8517

    bravo!

  • @marketcycles2399
    @marketcycles2399 Před 8 lety

    thanks a lot sir

  • @DaiMoscv
    @DaiMoscv Před rokem

    Crystal 🔮 clear

  • @thomasjefferson6225
    @thomasjefferson6225 Před 2 lety

    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.

  • @harshilandhariya7799
    @harshilandhariya7799 Před 5 měsíci +2

    Thank you👍👍

  • @amaa3619
    @amaa3619 Před 8 lety

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

    • @amaa3619
      @amaa3619 Před 8 lety

      Your presentation is so much easier to understand than the textbooks

    • @jbstatistics
      @jbstatistics  Před 8 lety

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

  • @doukas21original
    @doukas21original Před 3 lety +1

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

  • @covidnineteen5249
    @covidnineteen5249 Před 4 lety

    Thanks bro

  • @bhavadeepbhukya5926
    @bhavadeepbhukya5926 Před 2 lety

    thankyou sir

  • @eliasbiral
    @eliasbiral Před 9 lety

    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

  • @caribbeankpoplover
    @caribbeankpoplover Před 6 lety +1

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

    • @jbstatistics
      @jbstatistics  Před 6 lety +3

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

  • @messynkocierh1917
    @messynkocierh1917 Před 6 lety

    nice one bruh

  • @kanikabagree1084
    @kanikabagree1084 Před 4 lety

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

  • @sahabkausar3097
    @sahabkausar3097 Před 8 lety +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..

  • @tajammalnawaz5552
    @tajammalnawaz5552 Před 7 lety

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

  • @triassic995
    @triassic995 Před 10 lety

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

    • @jbstatistics
      @jbstatistics  Před 10 lety

      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: czcams.com/video/BPlmjp2ymxw/video.html

  • @patrickgomez5688
    @patrickgomez5688 Před rokem +1

    🧡🧡🧡

  • @Kaysar777
    @Kaysar777 Před 6 lety +1

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

    • @jbstatistics
      @jbstatistics  Před 6 lety +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 Před 6 lety +1

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

  • @naheen4628
    @naheen4628 Před 4 lety

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

  • @imonghose553
    @imonghose553 Před 4 měsíci

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

    • @jbstatistics
      @jbstatistics  Před 3 měsíci

      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.

  • @dandanny1081
    @dandanny1081 Před 5 lety

    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  Před 5 lety

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

  • @adminenetzone6330
    @adminenetzone6330 Před 8 měsíci

    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

  • @socialdeveloper5570
    @socialdeveloper5570 Před 6 lety

    I cant stop watching these tutorials wtf

  • @G_anon
    @G_anon Před 10 lety

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

    • @jbstatistics
      @jbstatistics  Před 10 lety

      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.

  • @johnbennett8948
    @johnbennett8948 Před 5 lety +1

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

    • @jbstatistics
      @jbstatistics  Před 5 lety +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 Před 5 lety

      @@jbstatistics thanks.

  • @abdourahman87
    @abdourahman87 Před rokem

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

  • @rafatshaikh8516
    @rafatshaikh8516 Před 4 lety

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

  • @samsonwong8121
    @samsonwong8121 Před 4 lety

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

  • @MCConfuz
    @MCConfuz Před 3 lety

    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  Před 3 lety +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 Před 3 lety

      @@jbstatistics thanks!

  • @khaledadel7322
    @khaledadel7322 Před 5 lety

    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  Před 5 lety

      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 Před 5 lety

      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.

  • @arminehayrapetyan3373
    @arminehayrapetyan3373 Před 5 lety

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

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

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

  • @ender5296
    @ender5296 Před rokem

    how we found E and V please help

  • @Stichting_NoFap
    @Stichting_NoFap Před 5 lety +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  Před 5 lety +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 Před 4 lety

      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 Před 4 měsíci

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

  • @adiga202
    @adiga202 Před 8 lety

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

    • @thequiickbrownfox
      @thequiickbrownfox Před rokem

      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

  • @ArshadAli-zk5kj
    @ArshadAli-zk5kj Před 5 lety

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

    • @jbstatistics
      @jbstatistics  Před 5 lety

      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.

  • @renzostefanmp7937
    @renzostefanmp7937 Před 6 lety

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

  • @avocado.toast519
    @avocado.toast519 Před 5 lety

    Help!!!why is there different representation of mean on the internet,1/p and (1-p)/p

    • @jbstatistics
      @jbstatistics  Před 5 lety +1

      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.

  • @kankshagupta3906
    @kankshagupta3906 Před 6 lety

    sir can you make video for mean and variance of negative binomial distribution?It will be grat help for me.