How Many Times To Repeat An Event With Known Probability Before It Has Occurred A Number of TimesCalculate average frequency of an event based on probability and number of chances per hourMechanics of and intuition behind probabiliityHow to estimate the probability of a rare event about which observations can only be made in quantized time?How do I calculate the probability that an event occurred by 1 of 2 independent processes when they occur together?Likelihood of 10000:1 probability happening exactly once in 10,000 triesI know the probability of an event to occur, so how do I find how many times the event must be attempted to get a reasonably chance of success?How Many Random Choices Before They Have All Been Picked About The Same # Of Times?Probability of surviving an event three timesProbability >=1 Event, Multiple Independent Binomial Trials with Differing ProbabilitiesProbability of a event that happens N times in a range of time given others

Why is C++ template use not recommended in space/radiated environment?

Can Dive Down protect a creature against Pacifism?

Can Mage Hand be used to indirectly trigger an attack?

Purpose of cylindrical attachments on Power Transmission towers

Nth term of Van Eck Sequence

The best in flight meal option for those suffering from reflux

usage of mir gefallen

Opposite of "Concerto Grosso"?

What do I need to do, tax-wise, for a sudden windfall?

Idiom for 'person who gets violent when drunk"

Can an escape pod land on Earth from orbit and not be immediately detected?

Jam with honey & without pectin has a saucy consistency always

Past vs. present tense when referring to a fictional character

A flower's head or heart?

Is all-caps blackletter no longer taboo?

What are the advantages of using TLRs to rangefinders?

Manager wants to hire me; HR does not. How to proceed?

How Many Times To Repeat An Event With Known Probability Before It Has Occurred A Number of Times

Short story about psychologist analyzing demon

New Site Design!

Does an African-American baby born in Youngstown, Ohio have a higher infant mortality rate than a baby born in Iran?

Do the Shadow Magic sorcerer's Strength of the Grave feature and the half-orc's Relentless Endurance trait work together?

Why is gun control associated with the socially liberal Democratic party?

My players want to use called-shots on Strahd



How Many Times To Repeat An Event With Known Probability Before It Has Occurred A Number of Times


Calculate average frequency of an event based on probability and number of chances per hourMechanics of and intuition behind probabiliityHow to estimate the probability of a rare event about which observations can only be made in quantized time?How do I calculate the probability that an event occurred by 1 of 2 independent processes when they occur together?Likelihood of 10000:1 probability happening exactly once in 10,000 triesI know the probability of an event to occur, so how do I find how many times the event must be attempted to get a reasonably chance of success?How Many Random Choices Before They Have All Been Picked About The Same # Of Times?Probability of surviving an event three timesProbability >=1 Event, Multiple Independent Binomial Trials with Differing ProbabilitiesProbability of a event that happens N times in a range of time given others






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1












$begingroup$


If I have a known probability of an event occurring, 1% chance, and I need the event to occur a number of times, 120 times, about how many times would I have to repeat the event before I can expect it to happen that number of times?










share|cite|improve this question







New contributor



Dylan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$







  • 4




    $begingroup$
    How sure do you want to be that the event will have happened that number of times?
    $endgroup$
    – Jake Westfall
    7 hours ago

















1












$begingroup$


If I have a known probability of an event occurring, 1% chance, and I need the event to occur a number of times, 120 times, about how many times would I have to repeat the event before I can expect it to happen that number of times?










share|cite|improve this question







New contributor



Dylan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$







  • 4




    $begingroup$
    How sure do you want to be that the event will have happened that number of times?
    $endgroup$
    – Jake Westfall
    7 hours ago













1












1








1





$begingroup$


If I have a known probability of an event occurring, 1% chance, and I need the event to occur a number of times, 120 times, about how many times would I have to repeat the event before I can expect it to happen that number of times?










share|cite|improve this question







New contributor



Dylan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$




If I have a known probability of an event occurring, 1% chance, and I need the event to occur a number of times, 120 times, about how many times would I have to repeat the event before I can expect it to happen that number of times?







probability






share|cite|improve this question







New contributor



Dylan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|cite|improve this question







New contributor



Dylan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|cite|improve this question




share|cite|improve this question






New contributor



Dylan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 9 hours ago









DylanDylan

61




61




New contributor



Dylan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Dylan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









  • 4




    $begingroup$
    How sure do you want to be that the event will have happened that number of times?
    $endgroup$
    – Jake Westfall
    7 hours ago












  • 4




    $begingroup$
    How sure do you want to be that the event will have happened that number of times?
    $endgroup$
    – Jake Westfall
    7 hours ago







4




4




$begingroup$
How sure do you want to be that the event will have happened that number of times?
$endgroup$
– Jake Westfall
7 hours ago




$begingroup$
How sure do you want to be that the event will have happened that number of times?
$endgroup$
– Jake Westfall
7 hours ago










2 Answers
2






active

oldest

votes


















3












$begingroup$

Consider a sequence of $n$ independent trials with success probability $p$. Let $X$ be the number of successes out of the $n$ trials. Then $X$ has a Binomial distribution with parameters $n$ and $p$. The expected value of a Binomial rv is $E(X) = np$. A simple approach is to set this equal to $120$ and solve for $n$. Since $p=0.01$, we have $n(0.01) = 120$ which means that $n=12,000$ trials are expected to obtain $120$ successes.




Alternatively, here is a related approach that gives the number of trials needed to observe $r=120$ successes with some probability $gamma$ (i.e. $gamma=0.95$).



Consider a sequence of independent trials with success probability $p$. Let $X$ be the number of trials required to observe $r$ successes. Then $X$ has a Negative Binomial distribution with parameters $r$ and $p$. In your case, $X sim textNegative-Binomial(120, 0.01)$, and you want to find $x$ such that $$P(X leq x) = gamma.$$



Although the Negative Binomial distribution has no closed form quantile function, this $x$ can be solved for easily. For instance, the answer can be obtained in R by typing: qnbinom(.95, 120, .01). The answer $x=13728$ indicates that $13,728$ trials are required to have a 95% chance of observing $120$ (or more) successes.






share|cite|improve this answer











$endgroup$




















    1












    $begingroup$

    First, I'm going to assume that the experiments are independent since you said the probably of a success is always 1%. The keyword in your question is "expected," which means we'll be looking for a mean or expected value.



    If you are interested in the number of trials $X$ (with common probability of success $p$), needed to obtain $r$ successes, then you can model this as a negative binomial random variable with probability mass function:



    begineqnarray*
    f_X(x|r,p) & = & x-1 choose r-1p^r(1-p)^x-r
    endeqnarray*



    for $x=r,r+1,...,$



    The expected value of the negative binomial is well known as:



    begineqnarray*
    E(X) & = & fracrp
    endeqnarray*



    In your case, $p=0.01$ and $r=120$. So the expected number of independent trials of your experiment (times) needed to obtain 120 successes is $120/0.01=12,000$






    share|cite|improve this answer











    $endgroup$













      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "65"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );






      Dylan is a new contributor. Be nice, and check out our Code of Conduct.









      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f412745%2fhow-many-times-to-repeat-an-event-with-known-probability-before-it-has-occurred%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3












      $begingroup$

      Consider a sequence of $n$ independent trials with success probability $p$. Let $X$ be the number of successes out of the $n$ trials. Then $X$ has a Binomial distribution with parameters $n$ and $p$. The expected value of a Binomial rv is $E(X) = np$. A simple approach is to set this equal to $120$ and solve for $n$. Since $p=0.01$, we have $n(0.01) = 120$ which means that $n=12,000$ trials are expected to obtain $120$ successes.




      Alternatively, here is a related approach that gives the number of trials needed to observe $r=120$ successes with some probability $gamma$ (i.e. $gamma=0.95$).



      Consider a sequence of independent trials with success probability $p$. Let $X$ be the number of trials required to observe $r$ successes. Then $X$ has a Negative Binomial distribution with parameters $r$ and $p$. In your case, $X sim textNegative-Binomial(120, 0.01)$, and you want to find $x$ such that $$P(X leq x) = gamma.$$



      Although the Negative Binomial distribution has no closed form quantile function, this $x$ can be solved for easily. For instance, the answer can be obtained in R by typing: qnbinom(.95, 120, .01). The answer $x=13728$ indicates that $13,728$ trials are required to have a 95% chance of observing $120$ (or more) successes.






      share|cite|improve this answer











      $endgroup$

















        3












        $begingroup$

        Consider a sequence of $n$ independent trials with success probability $p$. Let $X$ be the number of successes out of the $n$ trials. Then $X$ has a Binomial distribution with parameters $n$ and $p$. The expected value of a Binomial rv is $E(X) = np$. A simple approach is to set this equal to $120$ and solve for $n$. Since $p=0.01$, we have $n(0.01) = 120$ which means that $n=12,000$ trials are expected to obtain $120$ successes.




        Alternatively, here is a related approach that gives the number of trials needed to observe $r=120$ successes with some probability $gamma$ (i.e. $gamma=0.95$).



        Consider a sequence of independent trials with success probability $p$. Let $X$ be the number of trials required to observe $r$ successes. Then $X$ has a Negative Binomial distribution with parameters $r$ and $p$. In your case, $X sim textNegative-Binomial(120, 0.01)$, and you want to find $x$ such that $$P(X leq x) = gamma.$$



        Although the Negative Binomial distribution has no closed form quantile function, this $x$ can be solved for easily. For instance, the answer can be obtained in R by typing: qnbinom(.95, 120, .01). The answer $x=13728$ indicates that $13,728$ trials are required to have a 95% chance of observing $120$ (or more) successes.






        share|cite|improve this answer











        $endgroup$















          3












          3








          3





          $begingroup$

          Consider a sequence of $n$ independent trials with success probability $p$. Let $X$ be the number of successes out of the $n$ trials. Then $X$ has a Binomial distribution with parameters $n$ and $p$. The expected value of a Binomial rv is $E(X) = np$. A simple approach is to set this equal to $120$ and solve for $n$. Since $p=0.01$, we have $n(0.01) = 120$ which means that $n=12,000$ trials are expected to obtain $120$ successes.




          Alternatively, here is a related approach that gives the number of trials needed to observe $r=120$ successes with some probability $gamma$ (i.e. $gamma=0.95$).



          Consider a sequence of independent trials with success probability $p$. Let $X$ be the number of trials required to observe $r$ successes. Then $X$ has a Negative Binomial distribution with parameters $r$ and $p$. In your case, $X sim textNegative-Binomial(120, 0.01)$, and you want to find $x$ such that $$P(X leq x) = gamma.$$



          Although the Negative Binomial distribution has no closed form quantile function, this $x$ can be solved for easily. For instance, the answer can be obtained in R by typing: qnbinom(.95, 120, .01). The answer $x=13728$ indicates that $13,728$ trials are required to have a 95% chance of observing $120$ (or more) successes.






          share|cite|improve this answer











          $endgroup$



          Consider a sequence of $n$ independent trials with success probability $p$. Let $X$ be the number of successes out of the $n$ trials. Then $X$ has a Binomial distribution with parameters $n$ and $p$. The expected value of a Binomial rv is $E(X) = np$. A simple approach is to set this equal to $120$ and solve for $n$. Since $p=0.01$, we have $n(0.01) = 120$ which means that $n=12,000$ trials are expected to obtain $120$ successes.




          Alternatively, here is a related approach that gives the number of trials needed to observe $r=120$ successes with some probability $gamma$ (i.e. $gamma=0.95$).



          Consider a sequence of independent trials with success probability $p$. Let $X$ be the number of trials required to observe $r$ successes. Then $X$ has a Negative Binomial distribution with parameters $r$ and $p$. In your case, $X sim textNegative-Binomial(120, 0.01)$, and you want to find $x$ such that $$P(X leq x) = gamma.$$



          Although the Negative Binomial distribution has no closed form quantile function, this $x$ can be solved for easily. For instance, the answer can be obtained in R by typing: qnbinom(.95, 120, .01). The answer $x=13728$ indicates that $13,728$ trials are required to have a 95% chance of observing $120$ (or more) successes.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited 7 hours ago

























          answered 8 hours ago









          knrumseyknrumsey

          1,760416




          1,760416























              1












              $begingroup$

              First, I'm going to assume that the experiments are independent since you said the probably of a success is always 1%. The keyword in your question is "expected," which means we'll be looking for a mean or expected value.



              If you are interested in the number of trials $X$ (with common probability of success $p$), needed to obtain $r$ successes, then you can model this as a negative binomial random variable with probability mass function:



              begineqnarray*
              f_X(x|r,p) & = & x-1 choose r-1p^r(1-p)^x-r
              endeqnarray*



              for $x=r,r+1,...,$



              The expected value of the negative binomial is well known as:



              begineqnarray*
              E(X) & = & fracrp
              endeqnarray*



              In your case, $p=0.01$ and $r=120$. So the expected number of independent trials of your experiment (times) needed to obtain 120 successes is $120/0.01=12,000$






              share|cite|improve this answer











              $endgroup$

















                1












                $begingroup$

                First, I'm going to assume that the experiments are independent since you said the probably of a success is always 1%. The keyword in your question is "expected," which means we'll be looking for a mean or expected value.



                If you are interested in the number of trials $X$ (with common probability of success $p$), needed to obtain $r$ successes, then you can model this as a negative binomial random variable with probability mass function:



                begineqnarray*
                f_X(x|r,p) & = & x-1 choose r-1p^r(1-p)^x-r
                endeqnarray*



                for $x=r,r+1,...,$



                The expected value of the negative binomial is well known as:



                begineqnarray*
                E(X) & = & fracrp
                endeqnarray*



                In your case, $p=0.01$ and $r=120$. So the expected number of independent trials of your experiment (times) needed to obtain 120 successes is $120/0.01=12,000$






                share|cite|improve this answer











                $endgroup$















                  1












                  1








                  1





                  $begingroup$

                  First, I'm going to assume that the experiments are independent since you said the probably of a success is always 1%. The keyword in your question is "expected," which means we'll be looking for a mean or expected value.



                  If you are interested in the number of trials $X$ (with common probability of success $p$), needed to obtain $r$ successes, then you can model this as a negative binomial random variable with probability mass function:



                  begineqnarray*
                  f_X(x|r,p) & = & x-1 choose r-1p^r(1-p)^x-r
                  endeqnarray*



                  for $x=r,r+1,...,$



                  The expected value of the negative binomial is well known as:



                  begineqnarray*
                  E(X) & = & fracrp
                  endeqnarray*



                  In your case, $p=0.01$ and $r=120$. So the expected number of independent trials of your experiment (times) needed to obtain 120 successes is $120/0.01=12,000$






                  share|cite|improve this answer











                  $endgroup$



                  First, I'm going to assume that the experiments are independent since you said the probably of a success is always 1%. The keyword in your question is "expected," which means we'll be looking for a mean or expected value.



                  If you are interested in the number of trials $X$ (with common probability of success $p$), needed to obtain $r$ successes, then you can model this as a negative binomial random variable with probability mass function:



                  begineqnarray*
                  f_X(x|r,p) & = & x-1 choose r-1p^r(1-p)^x-r
                  endeqnarray*



                  for $x=r,r+1,...,$



                  The expected value of the negative binomial is well known as:



                  begineqnarray*
                  E(X) & = & fracrp
                  endeqnarray*



                  In your case, $p=0.01$ and $r=120$. So the expected number of independent trials of your experiment (times) needed to obtain 120 successes is $120/0.01=12,000$







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited 5 hours ago

























                  answered 8 hours ago









                  StatsStudentStatsStudent

                  6,51432245




                  6,51432245




















                      Dylan is a new contributor. Be nice, and check out our Code of Conduct.









                      draft saved

                      draft discarded


















                      Dylan is a new contributor. Be nice, and check out our Code of Conduct.












                      Dylan is a new contributor. Be nice, and check out our Code of Conduct.











                      Dylan is a new contributor. Be nice, and check out our Code of Conduct.














                      Thanks for contributing an answer to Cross Validated!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f412745%2fhow-many-times-to-repeat-an-event-with-known-probability-before-it-has-occurred%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                      Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                      Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її