Hello Stan Community!

As we are all aware that, Stan gives an estimate of the log marginal likelihood (lp__) in the output along with the estimates of the other parameters.

My question is, can I use this estimate of lp__ to calculate Bayes Factors (`exp(lp__Null - lp__Alternative`

) ? Any help is much appreciated!

Thank you!