Binomial Distribution
Statistics and Machine Learning Toolbox™ offers several ways to work with the binomial distribution.
Create a probability distribution object
BinomialDistribution
by fitting a probability distribution to sample data or by specifying parameter values. Then, use object functions to evaluate the distribution, generate random numbers, and so on.Work with the binomial distribution interactively by using theDistribution Fitterapp. You can export an object from the app and use the object functions.
Use distribution-specific functions with specified distribution parameters. The distribution-specific functions can accept parameters of multiple binomial distributions.
使用通用分配功能ons (
cdf
,icdf
,pdf
,random
) with a specified distribution name ('Binomial'
) and parameters.
To learn about the binomial distribution, seeBinomial Distribution.
Objects
BinomialDistribution |
Binomial probability distribution object |
Apps
Distribution Fitter | Fit probability distributions to data |
Functions
Topics
The Bernoulli distribution is a discrete probability distribution with only two possible values for the random variable.
The binomial distribution models the total number of successes in repeated trials from an infinite population under certain conditions.