Statistics[Distributions]
Binomial
binomial distribution
Calling Sequence
Parameters
Description
Notes
Examples
References
Binomial(n, p)
BinomialDistribution(n, p)
n
-
number of trials
p
probability of success
The binomial distribution is a discrete probability distribution with probability function given by:
f⁡t=0t<0nt⁢pt⁢1−pn−totherwise
subject to the following conditions:
0<n,0≤p,p≤1
The binomial distribution is used for the estimation of probabilities in a set of success or failures. The binomial variate indicates the number of successes in a set of n Bernoulli trials, each with probability of success p.
Note that the Binomial command is inert and should be used in combination with the RandomVariable command.
The Quantile function applied to a binomial distribution uses a sequence of iterations in order to converge on the desired output point. The maximum number of iterations to perform is equal to 100 by default, but this value can be changed by setting the environment variable _EnvStatisticsIterations to the desired number of iterations.
with⁡Statistics:
X≔RandomVariable⁡Binomial⁡n,p:
ProbabilityFunction⁡X,u
0u<0nu⁢pu⁢1−pn−uotherwise
ProbabilityFunction⁡X,1
n⁢p⁢1−pn−1
Mean⁡X
p⁢n
Variance⁡X
n⁢p⁢1−p
Evans, Merran; Hastings, Nicholas; and Peacock, Brian. Statistical Distributions. 3rd ed. Hoboken: Wiley, 2000.
Johnson, Norman L.; Kotz, Samuel; and Balakrishnan, N. Continuous Univariate Distributions. 2nd ed. 2 vols. Hoboken: Wiley, 1995.
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
See Also
Statistics
Statistics[RandomVariable]
Download Help Document