# \#bayestestr

**URL:** https://discourse.mc-stan.org/tag/bayestestr/198.md

[Latest](https://discourse.mc-stan.org/latest.md) · [Categories](https://discourse.mc-stan.org/categories.md) · [Tags](https://discourse.mc-stan.org/tags.md)

---

## [Difference between brms \`unupdate()\` and setting priors manually for calculating Bayes Factors](https://discourse.mc-stan.org/t/difference-between-brms-unupdate-and-setting-priors-manually-for-calculating-bayes-factors/39874)

<div class="topic-metadata">

**Author:** [@Alex-A14](https://discourse.mc-stan.org/u/Alex-A14)\
**Replies:** 2\
**Last updated:** [July 11, 2025, 3:52pm UTC](https://discourse.mc-stan.org/t/difference-between-brms-unupdate-and-setting-priors-manually-for-calculating-bayes-factors/39874 "2025-07-11T15:52:10Z")

</div>

Hello, I’m calculating Bayes Factors for a brms model using bayesfactor\_parameters() and I get wildly different results when manually setting a normal distribution, versus when I allow the function to calculate it’s own…

---

## [Applying BayestestR to longitudinal mediation models fitted using brms package](https://discourse.mc-stan.org/t/applying-bayestestr-to-longitudinal-mediation-models-fitted-using-brms-package/34285)

<div class="topic-metadata">

**Author:** [@PaigeCho](https://discourse.mc-stan.org/u/PaigeCho)\
**Replies:** 0\
**Last updated:** [February 28, 2024, 9:46am UTC](https://discourse.mc-stan.org/t/applying-bayestestr-to-longitudinal-mediation-models-fitted-using-brms-package/34285 "2024-02-28T09:46:14Z")

</div>

Greetings to Stan community! Thanks so much to the help from the Stan community, I managed to successfully (?) run a basic longitudinal mediation model. And I tried to extract the direct and indirect effects, failing i…

---

## [bayestestR: how to plot a different null for a probability of direction?](https://discourse.mc-stan.org/t/bayestestr-how-to-plot-a-different-null-for-a-probability-of-direction/26722)

<div class="topic-metadata">

**Author:** [@di4oi4](https://discourse.mc-stan.org/u/di4oi4)\
**Replies:** 1\
**Last updated:** [March 9, 2022, 3:10pm UTC](https://discourse.mc-stan.org/t/bayestestr-how-to-plot-a-different-null-for-a-probability-of-direction/26722 "2022-03-09T15:10:21Z")

</div>

I haven’t figured out how to plot probability of direction with a changed “null” line. NULL = 0 posterior \<- distribution\_normal(10000, 0.4, 0.2) pd1 = p\_direction(posterior, null = 0) plot(pd1) Probability of Direc…

---

## [Interpreting/reporting BRMS result for nominal variables with two factors(Linguistics Data)](https://discourse.mc-stan.org/t/interpreting-reporting-brms-result-for-nominal-variables-with-two-factors-linguistics-data/24066)

<div class="topic-metadata">

**Author:** [@Fatih\_Bozdag](https://discourse.mc-stan.org/u/Fatih_Bozdag)\
**Replies:** 3\
**Last updated:** [August 22, 2021, 11:58pm UTC](https://discourse.mc-stan.org/t/interpreting-reporting-brms-result-for-nominal-variables-with-two-factors-linguistics-data/24066 "2021-08-22T23:58:37Z")

</div>

Greetings, I am relatively new to Bayesian stuff and have some questions (beginner’s question). Here is the data I am working on. All variables, except two are nominal/categorical data. The idea is to assess effects of…

---

## [Getting BFs for specific contrasts in categorical or ordinal models](https://discourse.mc-stan.org/t/getting-bfs-for-specific-contrasts-in-categorical-or-ordinal-models/23093)

<div class="topic-metadata">

**Author:** [@mz555](https://discourse.mc-stan.org/u/mz555)\
**Replies:** 8\
**Last updated:** [June 29, 2021, 2:20pm UTC](https://discourse.mc-stan.org/t/getting-bfs-for-specific-contrasts-in-categorical-or-ordinal-models/23093 "2021-06-29T14:20:33Z")

</div>

I am trying to use the BayestestR package to obtain BFs for pairwise contrasts; this typically works very well with linear models, but seems to not work (at least with my coding skills) for categorical or ordinal models …

---

## [Some chains hanging during fitting a random effects model to a large dataset](https://discourse.mc-stan.org/t/some-chains-hanging-during-fitting-a-random-effects-model-to-a-large-dataset/20923)

<div class="topic-metadata">

**Author:** [@psforscher](https://discourse.mc-stan.org/u/psforscher)\
**Replies:** 4\
**Last updated:** [February 22, 2021, 1:54pm UTC](https://discourse.mc-stan.org/t/some-chains-hanging-during-fitting-a-random-effects-model-to-a-large-dataset/20923 "2021-02-22T13:54:46Z")

</div>

I’m working with a relatively large dataset (~210,000 rows) with multiple random effects. The model is: photo\_rating ~ positiveemotion\_baseline\_mean + contrast\_1 + contrast\_2 + (1+contrast\_1+contrast\_2|country) + (1|uni…

---

## [Model comparison using bayesfactor\_models() (bayestestR package) produces -Inf/Inf](https://discourse.mc-stan.org/t/model-comparison-using-bayesfactor-models-bayestestr-package-produces-inf-inf/18785)

<div class="topic-metadata">

**Author:** [@juthzi](https://discourse.mc-stan.org/u/juthzi)\
**Replies:** 4\
**Last updated:** [January 14, 2021, 12:34pm UTC](https://discourse.mc-stan.org/t/model-comparison-using-bayesfactor-models-bayestestr-package-produces-inf-inf/18785 "2021-01-14T12:34:18Z")

</div>

Hello everyone, for model comparison, I calculated Bayes factors using the function “bayesfactor\_models” from the bayestestR package. The models I ran with brms are ordinal models. When I calculated the Bayes factors, I…
