多项分布
计算多项分布或其逆分布,生成伪随机样本
Statistics and Machine Learning Toolbox™ 提供了多种处理多项分布的方式。
创建一个
MultinomialDistribution
对象并使用MultinomialDistribution
对象函数。使用分布特定的函数并指定分布参数。这些函数可以接受多种多项分布的参数。
要了解多项分布,请参阅Multinomial Distribution。
函数
对象
MultinomialDistribution | Multinomial probability distribution object |
主题
- Multinomial Distribution
The multinomial distribution models the probability of each combination of successes in a series of independent trials.
- Multinomial Probability Distribution Objects
This example shows how to generate random numbers, compute and plot the pdf, and compute descriptive statistics of a multinomial distribution using probability distribution objects.
- Multinomial Probability Distribution Functions
This example shows how to generate random numbers and compute and plot the pdf of a multinomial distribution using probability distribution functions.