# Where are the sample chains stored?

**URL:** <https://forum.dynare.org/t/where-are-the-sample-chains-stored/16746>\
**Category:** ML/Bayesian estimation\
**Created:** [9 October 2020 19:30 UTC](https://forum.dynare.org/t/where-are-the-sample-chains-stored/16746 "2020-10-09T19:30:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [10 October 2020 07:38 UTC](https://forum.dynare.org/t/where-are-the-sample-chains-stored/16746/2 "2020-10-10T07:38:22Z")

</div>

> [@Confidence intervals for deep parameters after Bayesian estimation](https://forum.dynare.org/t/confidence-intervals-for-deep-parameters-after-bayesian-estimation/14295/2):
>
> Not sure I understand the question perfectly, but i will have a go at answering it. You can do it easily enough by loading the matrix x2 in the mh\_block file from the metropolis folder that is created when you do MCMC, or you can pick random draws from that matrix. If you have say 1000 draws for x and 1000 draws of y, z=x./y (that is element by element), and then use the matlab percentile commands to get the intervals, or do a ksdensity or histogram if you are interested in that. Reuben

---

_[View the full topic](https://forum.dynare.org/t/where-are-the-sample-chains-stored/16746)._
