Let $X = Dirichlet(1,1,1)$ be a tri-variate random variable with Dirichlet distribution with parameters all equal to 1. I need to find what $X_1^2+X_2^2+X_3^2$ will be.
I did TransformedDistribution[x^2+y^2+z^2, {x,y,z}\[Distributed]DirichletDistribution[{1,1,1}]]
, but it doesn't seem to do anything. What might be the problem?
RandomVariate[DirichletDistribution[{1,1,1}]]
and you'll see the problem -- it's two dimensional, not three. Look at the docs - it has k+1 parameters, where k is the dimensionality. If you add an extra one, the transformed distribution won't appear to do anything but you'll now be able to call RandomVariate and Mean on it to get statistics - I get mean of 3/10. $\endgroup$