Welcome to City-Data.com Forum!
U.S. CitiesCity-Data Forum Index
Go Back   City-Data Forum > General Forums > Science and Technology
 [Register]
Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
View detailed profile (Advanced) or search
site with Google Custom Search

Search Forums  (Advanced)
Reply Start New Thread
 
Old 07-30-2009, 07:03 AM
 
433 posts, read 963,917 times
Reputation: 144

Advertisements

if probability of failure is X
what is the probability of N failures in Q attempts?
Reply With Quote Quick reply to this message

 
Old 07-30-2009, 07:35 AM
 
Location: Londonderry, NH
41,479 posts, read 59,756,720 times
Reputation: 24863
How about asking how long until the first failure?
Reply With Quote Quick reply to this message
 
Old 07-30-2009, 07:40 AM
 
433 posts, read 963,917 times
Reputation: 144
Quote:
Originally Posted by GregW View Post
How about asking how long until the first failure?
???

i need to know what the probability of N failures in Q attempts?
Reply With Quote Quick reply to this message
 
Old 07-30-2009, 09:49 AM
 
3,307 posts, read 9,377,607 times
Reputation: 2429
Don't remember it but I think I can figure it out:

Probability of Q failures is X^Q
Probability of Q-1 failures is X^(Q-1)*(1-X)
Probability of Q-2 failures is X^(Q-2)*(1-X)^2
etc.

So that generalizes to X^N*(1-X)^(Q-N)

Use at your own risk though. There's a 42% chance I forgot everything I ever learned in statistics.
Reply With Quote Quick reply to this message
 
Old 07-30-2009, 11:00 AM
 
Location: Maryland's 6th District.
8,357 posts, read 25,231,290 times
Reputation: 6541
Quote:
Originally Posted by Evidence-is-key View Post
if probability of failure is X
what is the probability of N failures in Q attempts?
Well, the probability of N failures in Q attempts is N/Q.

X is a fixed number, if I am reading your question properly, so it is a standard used to compare the result of N/Q. If the result is within 0.05 of X then it is a plausible outcome.

But, if you are asking for a comparison of N failures in relation to X, then it would be:

n!/(n-1)!x!*p^x*q^n-x

n=Q
x=Q-N
p=1-X
q=X

Last edited by K-Luv; 07-30-2009 at 11:34 AM.. Reason: eggs!
Reply With Quote Quick reply to this message
 
Old 07-30-2009, 12:44 PM
 
16,294 posts, read 28,518,209 times
Reputation: 8383
“The definition of insanity is doing the same thing over and over again and expecting different results”

Albert Einstein
Reply With Quote Quick reply to this message
 
Old 07-30-2009, 12:52 PM
 
1,679 posts, read 3,016,191 times
Reputation: 1296
Quote:
Originally Posted by Evidence-is-key View Post
if probability of failure is X
what is the probability of N failures in Q attempts?
It is the Binomial probablity distribution. Where failure = q and success = p.

Binomial probability - Wikipedia, the free encyclopedia

BUT this assumes that the events are INDEPENDENT.
Reply With Quote Quick reply to this message
 
Old 07-30-2009, 08:14 PM
 
3,307 posts, read 9,377,607 times
Reputation: 2429
Oops... that's right. My equation only works for the probability of a specific order.

i.e. you have X^N*(1-X)^(Q-N) chance of getting N failures and then Q-N successes.

Gotta get the Q!/(N!(Q-N)!) term in there.
Reply With Quote Quick reply to this message
 
Old 07-31-2009, 12:13 PM
 
Location: Maryland's 6th District.
8,357 posts, read 25,231,290 times
Reputation: 6541
Quote:
Originally Posted by pcity View Post

Gotta get the Q!/(N!(Q-N)!) term in there.
This appears to be an nCr function, n!/(n-r)!r!, which is used for counting the number of possible combinations of r and would yield a result of the total number of ways (combinations) in which a failure can happen.

Maybe that is what the OP is looking for? But I dunno, the guy hasn't posted a response yet. All I know is that there is a factorial in there somewhere.
Reply With Quote Quick reply to this message
 
Old 07-31-2009, 12:17 PM
 
Location: Maryland's 6th District.
8,357 posts, read 25,231,290 times
Reputation: 6541
Quote:
Originally Posted by hartford_renter View Post
BUT this assumes that the events are INDEPENDENT.
Yes, a failure cannot affect the outcome of another failure if another failure where to occur. It would be nice if the OP could repost with the data....yes, I am a math nerd.
Reply With Quote Quick reply to this message
Please register to post and access all features of our very popular forum. It is free and quick. Over $68,000 in prizes has already been given out to active posters on our forum. Additional giveaways are planned.

Detailed information about all U.S. cities, counties, and zip codes on our site: City-data.com.


Reply
Please update this thread with any new information or opinions. This open thread is still read by thousands of people, so we encourage all additional points of view.

Quick Reply
Message:

Over $104,000 in prizes was already given out to active posters on our forum and additional giveaways are planned!

Go Back   City-Data Forum > General Forums > Science and Technology
Similar Threads

All times are GMT -6.

© 2005-2024, Advameg, Inc. · Please obey Forum Rules · Terms of Use and Privacy Policy · Bug Bounty

City-Data.com - Contact Us - Archive 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 - Top