TDSM 2.21

From The Data Science Design Manual Wikia
Jump to: navigation, search

The probability of getting exactly k heads on n tosses, where the coin has a probability of p in coming up heads on each toss follows the binomial distribution: P(X=k)=B(k,n,p)=Cknpk(1p)nk

The probability of getting k or more heads on n tosses: P(Xk)=ni=kB(i,n,p)=ni=kCinpi(1p)ni