Sample Function

Binomial Random Variable

the number of successes in $n$ independent success/failure trials

Two Parameters:

Equation:

$P(X = x) = \binom{n}{x}\space p^x \space (1-p)^{n-x}$ for $x \in \{0,1,2, …, n\}$

$X$~ Binomial$(n,p)$

dbinom Function