1
$\begingroup$

I have the following situation: suppose data $D = \{x_i\}$ iid are generated through some process with density function $f(x_i | \alpha, \beta)$ (which I think will be negative binomial) and we'd like a posterior on $\alpha$:

$f(\alpha | D) \propto \pi(\alpha) \; f(D|\alpha)=\pi(\alpha)\int d\beta \; \pi(\beta) \; \Pi_i\; f(x_i|\alpha,\beta)$

where the integral over $\beta$ is analytically intractable. What are the options here?

I've thought about MCMC sampling where I estimate the likelihood for each proposed $\alpha$ through numerical integration over $\beta$, but I'm worried that this will be prohibitively time consuming (especially since $f(x_i|\alpha,\beta)$ needs marginalised over a couple of other parameters).

The other option I've read about is approximate bayesian computation, and I'm wondering if it really is as simple as drawing an $\alpha$ from $\pi(\alpha)$ and similarly for $\beta$ then simulating $D$?

$\endgroup$
2
  • $\begingroup$ I am not sure if I understand your question - perhaps you could just do MCMC sampling from $p(\alpha,\beta \mid D)$ and discard the $\beta$s? See answers to stats.stackexchange.com/questions/125570 stats.stackexchange.com/questions/134027 ? $\endgroup$ Commented Jan 22, 2015 at 17:22
  • $\begingroup$ Thank you! It hadn't occurred to be that by sampling from the joint density you could very cheaply find the marginal. I think this solves it. $\endgroup$
    – kezz_smc
    Commented Jan 22, 2015 at 17:36

1 Answer 1

0
$\begingroup$

Answer in comments by @Juho Kokkala :
flag

I am not sure if I understand your question - perhaps you could just do MCMC sampling from p(α,β∣D) and discard the βs? See answers to stats.stackexchange.com/questions/125570 stats.stackexchange.com/questions/134027 ?

"Thank you! It hadn't occurred to be that by sampling from the joint density you could very cheaply find the marginal. I think this solves it. "

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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