powered by
Formula: \(\mu = n \cdot p\) \(\mathrm{Var}(X) = n \cdot p \cdot (1 - p)\)
mbinom(size, prob)
List with mean and variance
Number of trials
Probability of success
dbinom
mbinom(size = 10, prob = 0.3)
Run the code above in your browser using DataLab