[ad_1]
The Dirichlet distribution is a generalization of the beta distribution. In Bayesian statistics, it’s generally used because the conjugate previous to the multinomial distribution, therefore it may be used to mannequin the uncertainty of a random vector of chances. It has a variety of purposes together with Bayesian evaluation, textual content mining, statistical genetics, and nonparametric inference. This text provides an intuitive introduction to Dirichlet distribution and exhibits how it’s linked to the multinomial distribution. As well as, it exhibits how it may be modeled and visualized in Python.
Definition
Suppose that the continual random variables X₁, X₂, …Xₖ (ok≥2) kind the random vector X outlined as:
We additionally outline the vector α as:
the place
Now the random vector X is alleged to have Dirichlet distribution with parameter α if it has the next joint PDF:
The perform B(α) known as the multivariate beta perform and is outlined as
the place Г(x) is the gamma perform. If the random vector X has a Dirichlet distribution with parameter α, it’s denoted by X ~ Dir(α). The multivariate beta perform is included within the joint PDF to normalize it. The joint PDF ought to combine to 1 over its area:
Therefore, we have now:
Primarily based on Equation 1, the values that the random variables X₁, X₂, …Xₖ take ought to meet the next circumstances to have fₓ(x)>0:
These circumstances outline the help of the Dirichlet distribution. The help of X, and of its distribution, is the set of all x (the values that X can take) the place fₓ(x)>0. If X has ok parts, the help of X with a Dirichlet distribution is a ok-1 dimensional simplex. A simplex is a bounded linear manifold that’s created due to the constraints of Equation 3. A simplex is the generalization of the notion of a triangle to greater dimensions. Therefore, a ok-1…
[ad_2]
Source link