Functions > Statistics > Probability Distributions > Binomial Distribution
Binomial Distribution
The following functions are associated with the binomial equation:
Click to copy this expression
dbinom(k, n, q)—Returns the probability density for value k.
pbinom(k, n, q)—Returns the cumulative probability distribution for value k.
qbinom(p, n, q)—Returns the inverse cumulative probability distribution for probability p.
rbinom(m, n, q)—Returns a vector of m random numbers having the binomial distribution.
Arguments
k and n are integers, 0 ≤ k ≤ n. To allow integration and other operations over these arguments, values outside of the stated range are allowed, but they produce a 0 result.
q is a real number, 0 ≤ q ≤ 1.
p is a real number, 0 ≤ p ≤ 1.
m is an integer, m > 0.
All arguments are unitless numbers.
* 
In previous versions of PTC Mathcad Prime, units were allowed in the arguments of the random numbers distribution function. Starting with PTC Mathcad Prime 10.0.0.0, all arguments are unitless. This change was made to align the behavior of the random distribution function to other probability distribution functions. If your arguments used units, make sure to adjust them for maintaining a correct scaling.
Was this helpful?