Suppose I have a vector of positive weights $a=(a_1, a_2, a_3, a_4)'$ such that $a_2=a_3$ and $a_1+a_2+a_3+a_4=1$. Is there any way to construct a joint sampling distribution for $a$ with a compact functional form ?
P.S. The context of this problem follows from a StackOverflow
question. There @josilber gave a very nice and easy sampling mechanism to sample this kind of weights.
By the way why you are telling each A, B, C follows U(0,1) ?Well, PDF is a product of $x^{\alpha_i-1}_i$, and lies within $0...1$ range. In case of $\vec{\alpha}=1$ PDF is constant thus making it $U(0,1)$, isn't it? https://en.wikipedia.org/wiki/Dirichlet_distribution – Severin Pappadeux Sep 18 '15 at 16:03