One category from a Dirichlet vector
Intermediate
Topic: Categorical data and the Dirichlet distribution · more questions on this topic
A three-category probability vector has a Dirichlet(1,2,3) prior. What is the marginal distribution and variance of the first probability? What is its covariance with the second probability?
Worked answer
The first coordinate is Beta(1,5). Its variance is 1·5/[6²(6+1)]=5/252≈0.01984. The covariance of the first and second coordinates is -1·2/[6²(6+1)]=-1/126≈-0.00794. The negative covariance reflects that the shares must sum to one.