Deconvolution of gamma distributions - MathOverflow most recent 30 from http://mathoverflow.net2013-05-21T15:35:32Zhttp://mathoverflow.net/feeds/question/5834http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://mathoverflow.net/questions/5834/deconvolution-of-gamma-distributionsDeconvolution of gamma distributionsTrevor Stewart2009-11-17T16:31:10Z2009-11-19T21:03:55Z
<p>If the sum of two independent random variables is gamma distributed does this imply that the individual random variables are also gamma distributed. I suspect that the answer is no, but I do not know how to construct a counter-example. [The convolution of two gamma distributions with the same scale parameter is also a gamma distribution, but I am dealing with the converse.]</p>
<p>If this can be answered assuming that the convolution is the exponential distribution f(x) = exp(-x) that would be sufficient for my purposes.</p>
<p>Any help with this would be much appreciated. </p>
http://mathoverflow.net/questions/5834/deconvolution-of-gamma-distributions/5835#5835Answer by Stella for Deconvolution of gamma distributionsStella2009-11-17T16:38:05Z2009-11-17T16:38:05Z<p>No, take X=0 with probability 1. Y gamma </p>
<p>X+Y </p>
http://mathoverflow.net/questions/5834/deconvolution-of-gamma-distributions/5838#5838Answer by Michael Lugo for Deconvolution of gamma distributionsMichael Lugo2009-11-17T16:55:27Z2009-11-17T16:55:27Z<p>Stella gives the example of X = 0 with probability 1 and Y a gamma distribution. I wouldn't count this as a "true" counterexample, because one could think of X = 0 as a Gamma(k,0) random variable.</p>
<p>As for a counterexample: the <a href="http://en.wikipedia.org/wiki/Characteristic_function_(probability_theory)" rel="nofollow">characteristic function</a> of the exponential(1) distribution is 1/(1-it). The characteristic function of Gamma(k, θ) is (1-itθ)<sup>-k</sup>. So the question is whether you can write 1/(1-it) as the product of two things which are characteristic functions of positive measures (i. e. random variables) <i>other than</i> in the obvious way.</p>
http://mathoverflow.net/questions/5834/deconvolution-of-gamma-distributions/5862#5862Answer by Jonathan Kariv for Deconvolution of gamma distributionsJonathan Kariv2009-11-17T20:03:12Z2009-11-17T20:03:12Z<p>The exponential (with mean 1) can be written as the sum of 2 independent chi-squared 1s. Of course this is just allowing fractional values of the "n" parameter.</p>
http://mathoverflow.net/questions/5834/deconvolution-of-gamma-distributions/5882#5882Answer by George Lowther for Deconvolution of gamma distributionsGeorge Lowther2009-11-17T22:39:27Z2009-11-19T21:03:55Z<p>You can decompose the exponential distribution into a sum of two terms, which are not both gamma distributed.</p>
<p>Let A,B,ε be independent where A,B are exponentially distributed and ε takes the values 0,1 each with probability 1/2, and set X=A/2, Y=εB. You can calculate the moment generating functions of X and Y,
$$
E\left[\exp(-\lambda X)\right] = E\left[\exp(-(\lambda/2)A)\right]=1/(1+\lambda/2).
$$
$$
E\left[\exp(-\lambda Y)\right]=(1/2)E\left[\exp(-\lambda B)\right]+1/2=(2+\lambda)/(2+2\lambda).
$$
Then you can check the moment generating function function of X+Y, E[exp(-λ(X+Y)]=E[exp(-λX)]E[exp(-λY)]=1/(1+λ) to see that X+Y has the exponential distribution.</p>
<p>Edit:
After reading at Michael Lugo's response below, it might be more satisfying to have an answer where neither of X or Y are Gamma distributed. In fact, by iterating my argument above you can get the following example. If A<sub>1</sub>,A<sub>2</sub>,... have the exponential distribution and ε<sub>1</sub>,ε<sub>2</sub>,... take values 0,1 each with probability 1/2 (and all these rvs are independent), then X=∑<sub>n</sub>2<sup>1-n</sup>ε<sub>n</sub>A<sub>n</sub> has the exponential distribution (just check the moment generating function). By splitting this sum up into two smaller sums you can generate a whole load of counterexamples where neither term is gamma distributed.</p>
<p>Edit 2: Apologies for keeping coming back to this one, but it seems interesting and my examples above are a special case of the following.</p>
<p>For any k>0 and measurable subset A of the interval (0,1], you can define a random variable X<sub>A</sub> with moment generating function E[exp(-λX<sub>A</sub>)]=exp(-λk∫<sub>A</sub>dx/(1+λx)). If you partition (0,1] into two measurable sets A,B and X<sub>A</sub>,X<sub>B</sub> are independent, then X<sub>A</sub>+X<sub>B</sub> has the Gamma(k) distribution. If A and B are unions of finitely many intervals then the moment generating functions will be k<sup>th</sup> powers of rational functions of λ and its easy to make sure that X<sub>A</sub>,X<sub>B</sub> are not gamma distributed. My first example above is using k=1 and the partition (0,1/2],(1/2,1]. The second one, in the edit, is partitioning (0,1] into the intervals (2<sup>-n</sup>,2<sup>1-n</sup>].</p>
<p>You can construct X<sub>A</sub> as follows. Let T<sub>1</sub>,T<sub>2</sub>,… be independent with the Exp(k) distribution, and S<sub>n</sub>=exp(-T<sub>1</sub>-…-T<sub>n</sub>). The number of S<sub>n</sub> in a subset A of (0,1] will be Poisson with parameter ∫<sub>A</sub>dx/x. If Y<sub>1</sub>,Y<sub>2</sub>,… are independent exponentially distributed then X<sub>A</sub>=∑<sub>n</sub>1<sub>{S<sub>n</sub>∈A}</sub>S<sub>n</sub>Y<sub>n</sub> has the correct moment generating function. (I'll leave you work through the details...). Alternatively, the set {(S<sub>n</sub>,Y<sub>n</sub>):n≥1} is a <em>Poisson point process</em> with intensity ke<sup>-y</sup> dy ds/s.</p>