9
$\begingroup$

I can't seem to find a written out derivation for the marginal probability function of the compound Dirichlet-Multinomial distribution, though the mean and variance/covariance of the margins seem to be well known

For clarity, what I am looking for is, given the joint pdf of the Dirichlet-multinomial over discrete category counts $x_k$:

$P(X_1=x_1,...,X_d=x_d)=\frac{N!}{x_1!x_2!...x_d!}\frac{\Gamma\left(A\right)} {\Gamma\left(N+A\right)}\prod_{k=1}^d\frac{\Gamma(x_{k}+\alpha_{k})}{\Gamma(\alpha_{k})}$,

where $A= \sum^d_{k=1}\alpha_k$,the parameters of the Dirichlet distribution and $N=\sum^d_{k=1}x_k$ the total multinomial sample size.

What is the marginal probability $P(X_k=x_k)$? That the $x_k$'s are included in a sum within the gamma function is throwing me for a bit of a loop.

$\endgroup$
3
  • $\begingroup$ Were you able to find a solution to this? $\endgroup$ Mar 21, 2017 at 16:59
  • $\begingroup$ I hypothesize the marginal could be a beta-binomial distribution. The intuition is, the marginal of a multinomial is a binomial, and the marginal of a dirichlet is a beta. $\endgroup$ Jan 27, 2019 at 2:13
  • $\begingroup$ does this help? math.stackexchange.com/questions/1064995/… $\endgroup$ Mar 8, 2019 at 7:26

1 Answer 1

1
$\begingroup$

I think I have a proof, but you're probably not going to like it... At least I don't like it. If you want to skip to the punchline, it's equation $(***)$ below.

I claim that it suffices to show this aggregation/marginalization property for three variables, and that the general case should follow by induction.

So given

$P(X_1=x_1, X_2=x_2, X_3=x_3)=\frac{N!}{x_1!x_2!x_3!}\frac{\Gamma\left(A\right)} {\Gamma\left(N+A\right)}\frac{\Gamma(x_{1}+\alpha_{1})}{\Gamma(\alpha_{1})}\frac{\Gamma(x_{2}+\alpha_{2})}{\Gamma(\alpha_{2})}\frac{\Gamma(x_{3}+\alpha_{3})}{\Gamma(\alpha_{3})}$,

the claim is that

$$P(X_1=x_1) = P(X_1=x_1, (X_2+X_3)=N-x_1) = \frac{N!}{x_1!(N-x_1)!}\frac{\Gamma\left(A\right)} {\Gamma\left(N+A\right)}\frac{\Gamma(x_{1}+\alpha_{1})}{\Gamma(\alpha_{1})}\frac{\Gamma((N - x_{1})+(A -\alpha_{1}))}{\Gamma(A - \alpha_{1})}$$

i.e. we can reduce things to a Beta-Binomial distribution.

Note that

$$P(X_1=x_1) = P(X_1=x_1, (X_2+X_3)=N-x_1 ) = \sum_{x_2 + x_3 = N - x_1} P(X_1 = x_1, X_2 = x_2, X_3=x_3)$$

So really what I am claiming is that

$$\sum_{x_2 + x_3 = N - x_1} \frac{N!}{x_1!x_2!x_3!}\frac{\Gamma\left(A\right)} {\Gamma\left(N+A\right)}\frac{\Gamma(x_{1}+\alpha_{1})}{\Gamma(\alpha_{1})}\frac{\Gamma(x_{2}+\alpha_{2})}{\Gamma(\alpha_{2})}\frac{\Gamma(x_{3}+\alpha_{3})}{\Gamma(\alpha_{3})} = \frac{N!}{x_1!(N-x_1)!}\frac{\Gamma\left(A\right)} {\Gamma\left(N+A\right)}\frac{\Gamma(x_{1}+\alpha_{1})}{\Gamma(\alpha_{1})}\frac{\Gamma((N - x_{1})+(A -\alpha_{1}))}{\Gamma(A - \alpha_{1})}$$

Cancelling factors on both sides, what I am really really claiming is that

$$\sum_{x_2 + x_3 = N - x_1} \frac{1}{x_2!x_3!}\frac{\Gamma(x_{2}+\alpha_{2})}{\Gamma(\alpha_{2})}\frac{\Gamma(x_{3}+\alpha_{3})}{\Gamma(\alpha_{3})} = \frac{1}{(N-x_1)!}\frac{\Gamma((N - x_{1})+(A -\alpha_{1}))}{\Gamma(A - \alpha_{1})}$$

or tidying up even further

$$\sum_{x_2 + x_3 = N - x_1} \frac{1}{x_2!x_3!}\frac{\Gamma(x_{2}+\alpha_{2})}{\Gamma(\alpha_{2})}\frac{\Gamma(x_{3}+\alpha_{3})}{\Gamma(\alpha_{3})} = \frac{1}{(N-x_1)!}\frac{\Gamma((N - x_{1})+(\alpha_{2} + \alpha_{3}))}{\Gamma(\alpha_{2} + \alpha_{3})}$$

Basically everything that follows from here will amount to renaming variables and appeals to obscure combinatorial identities (which at the very least should be proved in some textbook somewhere). So this is why you probably won't like the proof. On the other hand, no integrals nor integration by parts is (directly) involved. So there's that.

Anyway, let's rename $N - x_1 =: m$, $x_2 =: m_1$, $x_3=:m_2$, and so $m_1 + m_2 = x_2 + x_3 = N - x_1 = m$, in other words $m_1 + m_2 = m$.

Recall that $m_1$, $m_2$, and $m$ are all non-negative integers.

Similarly, let's rename $A - \alpha_1 = \alpha_2 + \alpha_3 =: c$ and $\alpha_2 =: c_1$ and $\alpha_3 =: c_2$. In particular we have $c_1 + c_2 = c$ by definition. Recall that $c_1, c_2,$ and $c$ are all positive real numbers.

OK great, so that means what we want to show then is equivalent (up to renaming) to the identity

$$\sum_{m_1 + m_2 = m} \frac{1}{m_1!m_2!}\frac{\Gamma(m_{1}+ c_{1})}{\Gamma( c_{1})}\frac{\Gamma(m_{2}+ c_{2})}{\Gamma( c_{2})} = \frac{1}{m!}\frac{\Gamma( m +c)}{\Gamma(c)} $$

Using the identity $\Gamma(y + 1) = y \Gamma(y)$ for $y$ a positive real number, and then induction, we get that for any positive integer $n$ that $\Gamma(y+n) = \Gamma(y) \cdot \prod_{i=0}^{n-1} (y+i)$.

In particular, we get that

$$ \frac{\Gamma(y+n)}{\Gamma(y)} = \prod_{i=0}^{n-1} (y+i) =: y^{(i)}\,, $$

where $y^{(i)}$ denotes the rising factorial, which is sometimes also denoted using the Pochhammer symbol $(y)_i$, but sometimes the Pochhammer symbol denotes the falling factorial or the regular factorial instead, so let's stick with $y^{(i)}$.

Therefore the identity we want to show is equivalent to

$$\sum_{m_1 + m_2 = m} \frac{1}{m_1!m_2!} c_1^{(m_1)} c_2^{(m_2)} = \frac{1}{m!} c^{(m)} \,, $$

where recall that $c_1 + c_2 = c$, all positive reals, and $m_1 + m_2 = m$, all non-negative integers. (Note that when $i=0$, the rising factorial $y^{(i)} = y^{(0)}$ is equal to the empty product i.e. $1$.)

Anyway, there's no harm in multiplying both sides of the above identity by $m!$, which leads to

$$\sum_{m_1 + m_2 = m} \frac{m!}{m_1!m_2!} c_1^{(m_1)} c_2^{(m_2)} = c^{(m)} \,, $$

By definition of binomial coefficient and re-indexing we clearly have that

$$\sum_{m_1 + m_2 = m} \frac{m!}{m_1!m_2!} c_1^{(m_1)} c_2^{(m_2)} = \sum_{m_1 = 0}^m \binom{m}{m_1} c_1^{(m_1)} c_2^{(m-m_1)} \,,$$

whereas meanwhile by definition $c = c_1 + c_2$, so $c^{(m)} = (c_1 + c_2)^{(m)}$, so the identity we want to show/be true is equivalent to the identity

$$ \sum_{m_1 = 0}^m \binom{m}{m_1} c_1^{(m_1)} c_2^{(m-m_1)} = (c_1 + c_2)^{(m)} \,. \tag{***}$$

Apparently (according to both Wikipedia and Wolfram mathworld) this result is true, an equivalent formulation of the "Chu-Vandermonde identity", and related to "umbral calculus".

So if you're willing to believe that, or able to look up and follow the proofs supposedly given in the references mentioned by Wolfram Mathworld and Wikipedia:

  • Koepf, W. Hypergeometric Summation: An Algorithmic Approach to Summation and Special Function Identities. Braunschweig, Germany: Vieweg, 1998, p. 42
  • Boros, G. and Moll, V. Irresistible Integrals: Symbolics, Analysis and Experiments in the Evaluation of Integrals. Cambridge, England: Cambridge University Press, 2004, p. 18
  • Askey, Richard (1975), Orthogonal polynomials and special functions, Regional Conference Series in Applied Mathematics, 21, Philadelphia, PA: SIAM, p. 59–60

then based on what I showed above, it should follow using induction that the "aggregation property" of the Dirichlet-Multinomial distribution (equivalent to the marginalizationt you asked for) is true.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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