mvdist_dirichlet
mvdist_dirichlet(alpha)Construct a Dirichlet distribution.
Mirrors the C# Dirichlet class of the Numerics library.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| alpha | array-like of float | Positive concentration parameters. | required |
Returns
| Name | Type | Description |
|---|---|---|
| MultivariateDistribution | Family "Dirichlet". |
Examples
>>> mvdist_dirichlet([2, 3, 4]).pdf([0.2, 0.3, 0.5]) > 0
True