Binomial distribution (binomial_distribution)
The number of successes in n independent trials that each succeed with chance p.
How to write it
binomial_distribution(n, p)
- n
- The number of trials, a whole number. Takes an expression.
- p
- The chance of success, between 0 and 1. Takes an expression.
Examples
binomial_distribution(10, 1/4)Open in the solverprobability(x >= 2, distributed(x, binomial_distribution(5, 1/2)))In the solver,
Open in the solverprobability(x >= 2, distributed(x, binomial_distribution(5, 1/2)))gives13/16.
Functions its examples use
- probability
The probability that a condition holds for a variable with a distribution.
- distributed
A variable and the distribution it follows, as probability and expectation read it.
Related functions
- weibull_distribution
The lifetime of a unit whose chance of surviving to time x is e^(-(x/scale)^shape).
- uniform_distribution
The continuous distribution that is equally likely anywhere between a and b.
- stationary_distribution
The law a process settles into over time, when it has one.
- exponential_distribution
The waiting time for events that come at rate lambda.
- poisson_distribution
The number of events in a period when they come at an average rate lambda.
- normal_distribution
The normal distribution with mean mu and standard deviation sigma.