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;
$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?
probability
New contributor
$endgroup$
add a comment |
$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?
probability
New contributor
$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
add a comment |
$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?
probability
New contributor
$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
probability
New contributor
New contributor
New contributor
asked 9 hours ago
DylanDylan
61
61
New contributor
New contributor
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
$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.
$endgroup$
add a comment |
$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$
$endgroup$
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
$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.
$endgroup$
add a comment |
$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.
$endgroup$
add a comment |
$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.
$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.
edited 7 hours ago
answered 8 hours ago
knrumseyknrumsey
1,760416
1,760416
add a comment |
add a comment |
$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$
$endgroup$
add a comment |
$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$
$endgroup$
add a comment |
$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$
$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$
edited 5 hours ago
answered 8 hours ago
StatsStudentStatsStudent
6,51432245
6,51432245
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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