The Dirichlet Distribution
A probability distribution over sets of numbers that must themselves add up to one, such as portfolio weights or category probabilities, making it the natural tool whenever you need a random or uncertain set of proportions.
Prerequisites: The Beta Distribution
The Dirichlet distribution generates random vectors whose entries are all positive and sum exactly to one, a natural fit whenever you're modeling a set of proportions, like portfolio weights across assets or the probability of each outcome in a multi-way classification. It's the multi-dimensional generalization of the Beta distribution: where a Beta distribution describes uncertainty about a single probability (like a coin's bias), a Dirichlet describes uncertainty about several probabilities at once that must add up to one, such as the chance a trade executes at each of several possible venues.
It's controlled by a vector of concentration parameters , one per category. Equal, large values (e.g., all ) produce draws clustered tightly around equal proportions; equal, small values (e.g., all ) produce draws that tend toward extreme, corner-heavy splits, with most of the probability mass on just one or two categories; and unequal values shift the average draw toward the categories with larger . For example, with for three asset classes, a typical draw might be weights like (0.36, 0.31, 0.33), close to equal, with only modest spread, whereas can easily produce something like (0.05, 0.75, 0.20).
Its most common quant use is as a Bayesian prior over category probabilities: given observed counts of outcomes (which venue filled an order, which regime the market was in), a Dirichlet prior updates into another Dirichlet posterior after seeing data, the same conjugate-update convenience that makes the Beta distribution popular for a single probability.
The Dirichlet distribution generates random sets of proportions that sum to one, generalizing the Beta distribution from a single probability to several probabilities at once, and it's the standard conjugate prior for a set of category counts.
Discussion
💡 Discussion rules
- Ask and answer about this concept. Off-topic gets removed.
- No homework dumps. Show what you tried first.
- Corrections are welcome. Cite a source when you claim an error.
Loading discussion…
Related concepts
Practice in interviews
Further reading
- Gelman et al., Bayesian Data Analysis, ch. 3