View Full Version : building a statistical model
alexbib
Jan15-04, 09:11 PM
I have near to no knowledge of statistics, and I want to build a statistical model that can help me calculate %chance of an event happening in situations of type:
every try has 25% success rate
after 6 tries, what are the probabilities of having succeeded at least 5times? After 12tries?
or
each shot has 42% success rate
after 5 tries, how what are the probabilities of succeding at least 4times?
How can I calculate probabilities like these?
master_coda
Jan15-04, 09:24 PM
Sounds like you want a binomial model. Given probability of success p and n attempts, the probability of exactly k successes is:
\binom{n}{k}p^k(1-p)^{n-k}
Of course, to figure out the probability of at least k successes, you have to add up these probabilities for every value greater than or equal to k.
alexbib
Jan15-04, 09:29 PM
what does the n above k in brackets mean?
HallsofIvy
Jan16-04, 05:34 AM
\binom{n}{k} is the "binomial coefficient". It is the coefficient of xkyn-k in (x+y)n as well as the kth term in the nth line in Pascal's triangle and can be calculated as \frac{n!}{k!(n-k)!}.
It is sometimes written nCk and our British colleagues seem to refer to it as "n choose k" since it is also the number of different ways one can choose k items from a set of n items.
And just in case you do not know what x! means: it means x factorial:
x! = 1\times 2\times 3 \times \ldots \times (x-1) \times x
alexbib
Jan16-04, 08:50 AM
Ok, thx for explanation!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.