ced, the example calculates the probability that 3 glasses are
Binomial distribution function
The cummulative probability is calculated, i.e. the sum of the
probabilities for k = 0, k=l, k = 2 andk=3 if k = 3.
maxkX'es of n
The example calculates the probability that maximum 3 ele-
ments have the mark X (p = 0.6) in 10 independent trials.
Negative binomial distribution
This distribution gives the probability of k failures before the
rth success in a series of independent trials each of which the
probability of success is p.