# Variabel Acak Binomial

Suppose there is probability p of occurrence on any one attempt. If we make n independent attempts, then the binomial random variable, denoted by X ~ b(n, p), counts the total number of occurrences in these n attempts.
The probability of having exactly k occurrences, for 0 <= k <= n, is given by
P(X = k) = C(n, k) * p^k * q^(n – k) , where q = 1 – p.

Iklan