# Big Likelihood and Marginal likelihood computation

**URL:** <https://forum.dynare.org/t/big-likelihood-and-marginal-likelihood-computation/725>\
**Category:** Dynare v4 (legacy)\
**Created:** [20 June 2008 15:59 UTC](https://forum.dynare.org/t/big-likelihood-and-marginal-likelihood-computation/725 "2008-06-20T15:59:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aqua](https://forum.dynare.org/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@Aqua](https://forum.dynare.org/u/Aqua)\
**Post date:** [20 June 2008 15:59 UTC](https://forum.dynare.org/t/big-likelihood-and-marginal-likelihood-computation/725/1 "2008-06-20T15:59:12Z")

</div>

Dear all,

I have one question about the computation of marginal data density in Dynare. When the likelihood of the DSGE is very big (because if we have logL = 3000, exp(logL) gives Inf in matlab) so that the mdd will tend to zero, how does Dynare compute the mdd taking this fact into account?

Thanks in advance for your reply.

Aqua.

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [24 July 2017 13:30 UTC](https://forum.dynare.org/t/big-likelihood-and-marginal-likelihood-computation/725/2 "2017-07-24T13:30:34Z")

</div>

Closed on 24 July 2017 13:30 UTC


