# Mh\_nblocks

**URL:** <https://forum.dynare.org/t/mh-nblocks/559>\
**Category:** Dynare help (legacy posts)\
**Created:** [23 January 2008 21:43 UTC](https://forum.dynare.org/t/mh-nblocks/559 "2008-01-23T21:43:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tandynare](https://forum.dynare.org/letter_avatar_proxy/v4/letter/t/a4c791/32.png) [@tandynare](https://forum.dynare.org/u/tandynare)\
**Post date:** [23 January 2008 21:43 UTC](https://forum.dynare.org/t/mh-nblocks/559/1 "2008-01-23T21:43:07Z")

</div>

In the estimation command one can specify the mh\_nblocks parameter. What does it really mean? In Metropolis-Hastings simulation, one can do it by separating the variables into several blocks/groups. Is this mh\_nblocks parameter related to that, or is it something else?  
Thanks.

---

<div class="post-metadata">

**Author:** ![MichelJuillard](https://forum.dynare.org/user_avatar/forum.dynare.org/micheljuillard/32/5318_2.png) [@MichelJuillard](https://forum.dynare.org/u/MichelJuillard)\
**Post date:** [24 January 2008 08:33 UTC](https://forum.dynare.org/t/mh-nblocks/559/2 "2008-01-24T08:33:29Z")

</div>

mh\_blocks indicate the number of parallel Metropolis chains that you want. It is only usefull to assess convergency

Best

Michel

---

<div class="post-metadata">

**Author:** ![tandynare](https://forum.dynare.org/letter_avatar_proxy/v4/letter/t/a4c791/32.png) [@tandynare](https://forum.dynare.org/u/tandynare)\
**Post date:** [24 January 2008 18:30 UTC](https://forum.dynare.org/t/mh-nblocks/559/3 "2008-01-24T18:30:05Z")

</div>

Dea Michel:  
Thanks for your reply. That was helpful.  
I have a few more questions regarding the use of estimation command.

1. From my limited understanding, the Metropolis-Hastings algorithm does not require information on a prior. Given so, is the specification of a prior in estimated\_params important for simulating the posterior or for estimating the parameters?

2. Regarding the diagnostic figures produced by the estimation command, in the figure for the univariate diognostic, what are the two lines in the upper panel? I read the paper by Brooks and Gelman (1998), but still could not quite figure out what they were. What are m2 and m3 in the middle and lower panels. I suppose that the answer for the univariate figure is the same for the multivariate figure? Convergence occurs when all curves stabilize, I suppose?

Thanks in advance. Your help is always greatly appreciated.  
Tan
