Let's say I have a beta distribution parametrized with $\mu, \phi$ such that given a random variable $X$ $$X\sim Beta(\mu,\phi),\quad \mu =\frac{a}{a+b}, \quad \phi = a+b$$
Now let a and b be independent gamma distributions such that $$a\sim Gamma(\alpha, 1),\quad b\sim Gamma(\beta,1)$$
Thus it follows from change of variables and gamma sums that $$\mu\sim Beta(\alpha,\beta)$$ $$\phi\sim Gamma(\alpha+\beta,1)$$
The Probability distribution of $X$ is then $$f(x)= \int_{0}^{\infty}{\int_{0}^{\infty}{B_x(a,b)G_a(\alpha,1)G_b(\beta,1)}dadb}$$
Where $B_x(\cdot)$ is the beta pdf and $G_x(\cdot)$ is the Gamma PDF. Is there a closed form solution to this equation? Or do I have to estimate it numerically?
Edit: Re-expressed the model since my original didnt address $a$ and $b$