# Unable to specify a correct prior distribution

**URL:** <https://discourse.pumas.ai/t/unable-to-specify-a-correct-prior-distribution/371>\
**Category:** bayesian\
**Created:** [July 14, 2020, 8:08pm UTC](https://discourse.pumas.ai/t/unable-to-specify-a-correct-prior-distribution/371 "2020-07-14T20:08:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![anqipan](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@anqipan](https://discourse.pumas.ai/u/anqipan)\
**Post date:** [July 20, 2020, 8:00pm UTC](https://discourse.pumas.ai/t/unable-to-specify-a-correct-prior-distribution/371/4 "2020-07-20T20:00:17Z")

</div>

Thank you! The error is fixed after I changed the initial to a diagm.

And may I just confirm that, earlier this morning you mentioned the prior is just a domain(at least for the current version), which sounds it won’t enter the posterior distribution like a real prior.  
Is this the case for both FOCE and HMC-NUTS?  
Or the distributional domain(prior) does enter the posterior as a real prior in HMC-NUTS?

Thanks!  
Anqi

---

_[View the full topic](https://discourse.pumas.ai/t/unable-to-specify-a-correct-prior-distribution/371)._
