I have a Negative Multinomial distribution, defined as:
\begin{align} P(k_1,...k_D | k_0, \mathbf{p}) = \frac{\Gamma(k_0 + \sum_i k_i) }{\Gamma(\alpha)\prod_{i} k_{i}!} p_0^{k_0} \prod_{i=1}^D p_i^{k_{i}} \end{align}
I want to compute the sum over some pre-computed subset of count vectors $\mathcal{K}$:
\begin{align} \sum_{\mathbf{k} \in \mathcal{K}} P(k_1,...k_D | k_0, \mathbf{p}) = \sum_{\mathbf{k} \in \mathcal{K}} \frac{\Gamma(k_0 + \sum_i k_i) }{\Gamma(\alpha)\prod_{i} k_{i}!} p_0^{k_0} \prod_{i=1}^D p_i^{k_{i}} \end{align}
How can I do it?
Or maybe it can't be done analytically?
My final goal is to find the MLE estimate of $\mathbf{p}$ for that subset $\mathcal{K}$.
Any answer or reference is very welcome.