# Probability calculation in stan

**URL:** <https://discourse.mc-stan.org/t/probability-calculation-in-stan/7284>\
**Category:** Modeling\
**Created:** [January 14, 2019, 5:19pm UTC](https://discourse.mc-stan.org/t/probability-calculation-in-stan/7284 "2019-01-14T17:19:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![linas](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/linas/32/5342_2.png) [@linas](https://discourse.mc-stan.org/u/linas)\
**Post date:** [January 14, 2019, 5:19pm UTC](https://discourse.mc-stan.org/t/probability-calculation-in-stan/7284/1 "2019-01-14T17:19:46Z")

</div>

Hi,

Is there an elegant way to calculate the posterior probabilities for parameters theta? I have an estimate of join posterior distribution of theta from cmdstan. theta is a vector.

Thanks for any suggestions.

L
