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

Is fission/fusion to iron the most efficient way to convert mass to energy?

What are the advantages of using TLRs to rangefinders?

Jam with honey & without pectin has a saucy consistency always

Would a bit of grease on overhead door cables or bearings cause the springs to break?

usage of mir gefallen

Any gotchas in buying second-hand sanitary ware?

Arrows inside a commutative diagram using tikzcd

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

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

Does every chapter have to "blow the reader away" so to speak?

I sent an angry e-mail to my interviewers about a conflict at my home institution. Could this affect my application?

Should I move out from my current apartment before the contract ends to save more money?

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

The best in flight meal option for those suffering from reflux

Is it ethical to cite a reviewer's papers even if they are rather irrelevant?

Is it possible to have battery technology that can't be duplicated?

Why did the AvroCar fail to fly above 3 feet?

Is all-caps blackletter no longer taboo?

If statement with arcpy

How effective would a full set of plate armor be against wild animals found in temperate regions (bears, snakes, wolves)?

Is it true that "only photographers care about noise"?

New Site Design!

Why is it bad to use your whole foot in rock climbing

Why does this Apple //e drops into system monitor when booting?



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
    8 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
    8 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
    8 hours ago














  • 4




    $begingroup$
    How sure do you want to be that the event will have happened that number of times?
    $endgroup$
    – Jake Westfall
    8 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
8 hours ago




$begingroup$
How sure do you want to be that the event will have happened that number of times?
$endgroup$
– Jake Westfall
8 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 text{Negative-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:



    begin{eqnarray*}
    f_{X}(x|r,p) & = & {x-1 choose r-1}p^{r}(1-p)^{x-r}
    end{eqnarray*}



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



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



    begin{eqnarray*}
    E(X) & = & frac{r}{p}
    end{eqnarray*}



    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 text{Negative-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 text{Negative-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 text{Negative-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 text{Negative-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 8 hours ago

























          answered 9 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:



              begin{eqnarray*}
              f_{X}(x|r,p) & = & {x-1 choose r-1}p^{r}(1-p)^{x-r}
              end{eqnarray*}



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



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



              begin{eqnarray*}
              E(X) & = & frac{r}{p}
              end{eqnarray*}



              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:



                begin{eqnarray*}
                f_{X}(x|r,p) & = & {x-1 choose r-1}p^{r}(1-p)^{x-r}
                end{eqnarray*}



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



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



                begin{eqnarray*}
                E(X) & = & frac{r}{p}
                end{eqnarray*}



                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:



                  begin{eqnarray*}
                  f_{X}(x|r,p) & = & {x-1 choose r-1}p^{r}(1-p)^{x-r}
                  end{eqnarray*}



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



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



                  begin{eqnarray*}
                  E(X) & = & frac{r}{p}
                  end{eqnarray*}



                  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:



                  begin{eqnarray*}
                  f_{X}(x|r,p) & = & {x-1 choose r-1}p^{r}(1-p)^{x-r}
                  end{eqnarray*}



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



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



                  begin{eqnarray*}
                  E(X) & = & frac{r}{p}
                  end{eqnarray*}



                  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

                      Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                      Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                      Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...