It is represented by the binomial coefficient and can be written as:
$$
P(X=k) = \binom{n}{k} p^k (1-p)^{n-k}
$$
where $n$ is the number of trials, $k$ is the number of successes, $p$ is the probability of success, and $1-p$ is the probability of failure.
There
Show more…