此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

MultinomialDistribution

MultinomialDistribution[n, p]
represents a multinomial distribution with n trials and probability vector p.
  • The probability for a vector x of non-negative integers x1, x2, ... xLength[p] in a multinomial distribution is n!Product(pixi/xi!).
  • The number of trials n can be any positive integer, and p can be any vector of non-negative real numbers that sum to unity.
Needs["MultivariateStatistics`"]
The mean of a multinomial distribution:
In[2]:=
Click for copyable input
Out[2]=
 
Needs["MultivariateStatistics`"]
The variances of each dimension:
In[2]:=
Click for copyable input
Out[2]=
 
Needs["MultivariateStatistics`"]
Probability density function:
In[2]:=
Click for copyable input
Out[2]=