Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the distribution of a exponential distribution, whose parameter is drawn form the gamma distribution

$ X \sim Gamma(\alpha,\beta)$

$ Y \sim Exp(X)$

how is $Y$ distributed?

EDIT Since there are different ways of expressing the gamma distribution I will state the distributions that lead to heropup's correct answer.

the pdf of the gamma distributed variable $X$ is given by

$f_X(x) = \frac {\beta^{\alpha}}{\Gamma (\alpha)} x^{\alpha -1} e^{-\beta x}$

and the pdf of the compound exponenetial variable $Y$ is given by

$f_{Y|X}(y|x) = Xe^{-Xy}$

share|cite|improve this question

migrated from Jan 21 '14 at 23:21

This question came from our site for professional mathematicians.

up vote 1 down vote accepted

If $X$ and $Y \mid X$ are parametrized in terms of rate, then the marginal distribution of $Y$ can be computed by observing $$\begin{align*} f_Y(y) &= \int_{x=0}^\infty f_{Y \mid X}(y \mid x) f_X(x) \, dx \\ &= \int_{x=0}^\infty x e^{-x y} \frac{\beta^\alpha x^{\alpha-1} e^{-\beta x}}{\Gamma(\alpha)} \, dx \\ &= \frac{\beta^\alpha}{\Gamma(\alpha)} \int_{x=0}^\infty x^{\alpha} e^{-(y+\beta)x} \, dx \\ &= \frac{\beta^\alpha \Gamma(\alpha+1)}{\Gamma(\alpha)(y+\beta)^{\alpha+1}} \int_{x=0}^\infty \frac{(y+\beta)^{\alpha+1} x^{\alpha} e^{-(y+\beta)x}}{\Gamma(\alpha+1)} \, dx \\ &= \frac{\alpha\beta^\alpha}{(y + \beta)^{\alpha+1}} . \end{align*}$$ This is a (shifted) Pareto distribution on $Y \in [0, \infty)$.

share|cite|improve this answer
Can I ask something: Does $\int_{x=0}^\infty \frac{(y+\beta)^{\alpha+1} x^{\alpha} e^{-(y+\beta)x}}{\Gamma(\alpha+1)} \, dx =1$? – bryansis2010 Feb 1 '14 at 13:57
Also, $\Gamma (\alpha + 1) = \int_0^\infty \frac 1 {\Gamma (\alpha +1)}$ ? – bryansis2010 Feb 1 '14 at 13:58
Your first question: yes, because it is the integral of the density function of a gamma distribution with parameters $(\alpha+1, y+\beta)$ over its support, so it has value 1. Your second question: no. The gamma function $\Gamma(\alpha) = (\alpha-1)!$ for positive integers $\alpha$, and is constant with respect to the variable of integration $x$. – heropup Feb 1 '14 at 17:31

It's probably a compound gamma distribution because the exponential distribution is a special case of a gamma distribution.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.