Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
How to calculate the expected number of trials before the first success?
It's similar to the binomial distribution, but only considering the first trial.
2 Answers
- siamese_scytheLv 710 years agoFavorite Answer
the probability of getting the first success on the nth trial:
P(n) = p * (1-p)^(n-1)
the mean (expected value) of this distribution is 1/p.
if you index it differently, as n failures and then a success, it becomes P(n) = p * (1-p)^n with mean (1-p)/p.
see geometric distribution:
- cidyahLv 710 years ago
You want the mean (expected value) of the geometric distribution
P(x=1) = p
P(x=2) = (1-p)p
.
.
P(x=k) =(1-p)^(k-1) p
E(x) = 1/p
The first part of the link has the proof.