Main Content

Multinomial Distribution

Evaluate the multinomial distribution or its inverse, generate pseudorandom samples

Statistics and Machine Learning Toolbox™ offers multiple ways to work with the multinomial distribution.

  • Create a MultinomialDistribution object and use MultinomialDistribution object functions.

  • Use distribution-specific functions with specified distribution parameters. The functions can accept parameters of multiple multinomial distributions.

To learn about the multinomial distribution, see Multinomial Distribution.


expand all

makedistCreate probability distribution object
cdfCumulative distribution function
icdfInverse cumulative distribution function
iqrInterquartile range of probability distribution
meanMean of probability distribution
medianMedian of probability distribution
pdfProbability density function
plotPlot probability distribution object (Since R2022b)
randomRandom numbers
stdStandard deviation of probability distribution
truncateTruncate probability distribution object
varVariance of probability distribution
mnpdfMultinomial probability density function
mnrndMultinomial random numbers


MultinomialDistributionMultinomial probability distribution object