# General

**URL:** https://discourse.mc-stan.org/c/general/24.md?page=1

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

**Page:** 2

---

## [Interaction is significant, but neither simple effects nor Bayes analysis](https://discourse.mc-stan.org/t/interaction-is-significant-but-neither-simple-effects-nor-bayes-analysis/41357)

<div class="topic-metadata">

**Author:** [@J111](https://discourse.mc-stan.org/u/J111)\
**Replies:** 3\
**Last updated:** [June 9, 2026, 2:45pm UTC](https://discourse.mc-stan.org/t/interaction-is-significant-but-neither-simple-effects-nor-bayes-analysis/41357 "2026-06-09T14:45:41Z")

</div>

I am currently running a 2 x 2 x 2 repeated measures ANCOVA in JASP. I have 2 within factors (animacy, word pairing) and one between factor (group). I have found a significant interaction of animacy \* group. However, wh…

---

## [Differences between jacobian += and target+=?](https://discourse.mc-stan.org/t/differences-between-jacobian-and-target/39685)

<div class="topic-metadata">

**Author:** [@bnicenboim](https://discourse.mc-stan.org/u/bnicenboim)\
**Replies:** 12\
**Last updated:** [June 5, 2026, 7:15pm UTC](https://discourse.mc-stan.org/t/differences-between-jacobian-and-target/39685 "2026-06-05T19:15:57Z")

</div>

Hi! Thanks for another release :) I’m a bit confused by jacobian +=, and I don’t find much about it. When should I use it? How is it different from target +=?

---

## [CmdStan & Stan 2.39 Release Candidates](https://discourse.mc-stan.org/t/cmdstan-stan-2-39-release-candidates/41122)

<div class="topic-metadata">

**Author:** [@WardBrian](https://discourse.mc-stan.org/u/WardBrian)\
**Replies:** 2\
**Last updated:** [May 18, 2026, 8:05pm UTC](https://discourse.mc-stan.org/t/cmdstan-stan-2-39-release-candidates/41122 "2026-05-18T20:05:16Z")

</div>

I am happy to announce that the latest release candidates of CmdStan and Stan are now available on Github! This release cycle brings the embedded laplace approximation, new functions, and many fixes. You can find the r…

---

## [Intro project idea: Scrape the Stan Documentation for Models and Add to posterior DB](https://discourse.mc-stan.org/t/intro-project-idea-scrape-the-stan-documentation-for-models-and-add-to-posterior-db/41119)

<div class="topic-metadata">

**Author:** [@drezap](https://discourse.mc-stan.org/u/drezap)\
**Replies:** 0\
**Last updated:** [May 9, 2026, 11:55am UTC](https://discourse.mc-stan.org/t/intro-project-idea-scrape-the-stan-documentation-for-models-and-add-to-posterior-db/41119 "2026-05-09T11:55:24Z")

</div>

If anyone’s interested, and people approve (whoever they are), it might be a good idea to take all of the default models in the documentation and add them to posteriorDB. Right now there’s only about 15, I think, from my…

---

## [Sparse NUTS: preconditioning with sparse matrix operations](https://discourse.mc-stan.org/t/sparse-nuts-preconditioning-with-sparse-matrix-operations/41061)

<div class="topic-metadata">

**Author:** [@monnahc](https://discourse.mc-stan.org/u/monnahc)\
**Replies:** 22\
**Last updated:** [May 6, 2026, 3:46pm UTC](https://discourse.mc-stan.org/t/sparse-nuts-preconditioning-with-sparse-matrix-operations/41061 "2026-05-06T15:46:54Z")

</div>

I’m writing to notify the Stan developers and broader community about a new NUTS variant that may be of interest. This is a follow up to @Bob\_Carpenter 's recent blog post with a reprex and some more details. The basic i…

---

## [BH and RcppEigen problems, when installing package relying on rstan on a new device](https://discourse.mc-stan.org/t/bh-and-rcppeigen-problems-when-installing-package-relying-on-rstan-on-a-new-device/41098)

<div class="topic-metadata">

**Author:** [@JoshSchramm94](https://discourse.mc-stan.org/u/JoshSchramm94)\
**Replies:** 1\
**Last updated:** [May 5, 2026, 7:29pm UTC](https://discourse.mc-stan.org/t/bh-and-rcppeigen-problems-when-installing-package-relying-on-rstan-on-a-new-device/41098 "2026-05-05T19:29:24Z")

</div>

I built a package relying on rstan GitHub - JoshSchramm94/mxd: mxd · GitHub When downloading it to a new device and running devtools::document() I get multiple warnings (e.g., C:/Users/AppData/Local/R/win-library/4.5/BH…

---

## [Run time and efficiency differences between Stan and tmbstan](https://discourse.mc-stan.org/t/run-time-and-efficiency-differences-between-stan-and-tmbstan/41065)

<div class="topic-metadata">

**Author:** [@eric.ward](https://discourse.mc-stan.org/u/eric.ward)\
**Replies:** 5\
**Last updated:** [May 4, 2026, 4:42pm UTC](https://discourse.mc-stan.org/t/run-time-and-efficiency-differences-between-stan-and-tmbstan/41065 "2026-05-04T16:42:18Z")

</div>

For a larger project, I’m interested doing some benchmark comparisons between pure Stan and Stan models generated through a development platform called TMB ( TMB Documentation: Introduction ). TMB performs fast marginal …

---

## [Cannot install rethinking package](https://discourse.mc-stan.org/t/cannot-install-rethinking-package/41081)

<div class="topic-metadata">

**Author:** [@Fenris\_BD](https://discourse.mc-stan.org/u/Fenris_BD)\
**Replies:** 2\
**Last updated:** [May 1, 2026, 9:35pm UTC](https://discourse.mc-stan.org/t/cannot-install-rethinking-package/41081 "2026-05-01T21:35:41Z")

</div>

Hello, I am having a heck of a time getting the rethinking package to install. Install hangs up on the lazy loading stage and then throws an error. Tried installing via devtools from github as instructed without success…

---

## [Bayesian Causal Networks in R – Online Course (Sept 2026)](https://discourse.mc-stan.org/t/bayesian-causal-networks-in-r-online-course-sept-2026/41091)

<div class="topic-metadata">

**Author:** [@Carlo\_Pecoraro](https://discourse.mc-stan.org/u/Carlo_Pecoraro)\
**Replies:** 0\
**Last updated:** [April 30, 2026, 4:57pm UTC](https://discourse.mc-stan.org/t/bayesian-causal-networks-in-r-online-course-sept-2026/41091 "2026-04-30T16:57:49Z")

</div>

Bayesian Causal Networks in R 7–11 September 2026 Online (live sessions + recordings for global participation) Bayesian causal networks (Bayesian belief networks) are probabilistic graphical models used to represent co…

---

## [Threading, MPI, and TBB for users](https://discourse.mc-stan.org/t/threading-mpi-and-tbb-for-users/11611)

<div class="topic-metadata">

**Author:** [@Christopher-Peterson](https://discourse.mc-stan.org/u/Christopher-Peterson)\
**Replies:** 7\
**Last updated:** [April 28, 2026, 3:36am UTC](https://discourse.mc-stan.org/t/threading-mpi-and-tbb-for-users/11611 "2026-04-28T03:36:40Z")

</div>

I’ve seen a lot of discussion about Stan 2.21’s incorporation of the Intel TBB library, and I’m curious under what situations users should expect to see the effects. My understanding of the previous parallelization syst…

---

## [occARU: (multispecies) occupancy models for ARUs](https://discourse.mc-stan.org/t/occaru-multispecies-occupancy-models-for-arus/41047)

<div class="topic-metadata">

**Author:** [@mhollanders](https://discourse.mc-stan.org/u/mhollanders)\
**Replies:** 7\
**Last updated:** [April 24, 2026, 10:44pm UTC](https://discourse.mc-stan.org/t/occaru-multispecies-occupancy-models-for-arus/41047 "2026-04-24T22:44:31Z")

</div>

Good day, I’m excited to announce the release of my first R package, occARU, which fits (multispecies) occupancy models for automated recording unit (ARU) data, such as camera traps and acoustic monitors, in Stan. After…

---

## [Using brms::hypothesis() with an interaction](https://discourse.mc-stan.org/t/using-brms-hypothesis-with-an-interaction/41069)

<div class="topic-metadata">

**Author:** [@lyambailey](https://discourse.mc-stan.org/u/lyambailey)\
**Replies:** 0\
**Last updated:** [April 24, 2026, 7:43pm UTC](https://discourse.mc-stan.org/t/using-brms-hypothesis-with-an-interaction/41069 "2026-04-24T19:43:31Z")

</div>

Dear users, I’m using brms to fit some data with an interaction effect. measure\_z is a standardized continuous variable, task is a factor with two levels (ON and OFF) and roi is a factor with 10+ levels (A, B, C, …). f…

---

## [Recalibrating parameter Estimates with Additional Data?](https://discourse.mc-stan.org/t/recalibrating-parameter-estimates-with-additional-data/41056)

<div class="topic-metadata">

**Author:** [@drezap](https://discourse.mc-stan.org/u/drezap)\
**Replies:** 4\
**Last updated:** [April 21, 2026, 11:09pm UTC](https://discourse.mc-stan.org/t/recalibrating-parameter-estimates-with-additional-data/41056 "2026-04-21T23:09:03Z")

</div>

Suppose we’ve estimated a posterior, conditional on data1, and we’d like to update parameters \\theta conditional on data1 and data2. I know the Stan group has done this, where is the relevant paper? moreover, I’m looking…

---

## [Confusion with the jacobian](https://discourse.mc-stan.org/t/confusion-with-the-jacobian/41054)

<div class="topic-metadata">

**Author:** [@aakhmetz](https://discourse.mc-stan.org/u/aakhmetz)\
**Replies:** 4\
**Last updated:** [April 21, 2026, 8:29pm UTC](https://discourse.mc-stan.org/t/confusion-with-the-jacobian/41054 "2026-04-21T20:29:47Z")

</div>

Dear all, I have been working on identifying the correlation between two distributions using Frank copula, and in my code I identify the parameter theta\_frank that can be both negative and positive. Then I put the jacob…

---

## [A note of gratitude to the Stan community](https://discourse.mc-stan.org/t/a-note-of-gratitude-to-the-stan-community/41059)

<div class="topic-metadata">

**Author:** [@fabio](https://discourse.mc-stan.org/u/fabio)\
**Replies:** 2\
**Last updated:** [April 21, 2026, 8:04pm UTC](https://discourse.mc-stan.org/t/a-note-of-gratitude-to-the-stan-community/41059 "2026-04-21T20:04:18Z")

</div>

After nearly 8 years using Stan, and 20 years in my field, I will be leaving my current role and moving to a different domain. What Stan gave me goes well beyond building models: it fundamentally changed how I understan…

---

## [ArviZ 1.0](https://discourse.mc-stan.org/t/arviz-1-0/41046)

<div class="topic-metadata">

**Author:** [@Osvaldo\_Martin](https://discourse.mc-stan.org/u/Osvaldo_Martin)\
**Replies:** 0\
**Last updated:** [April 14, 2026, 5:27am UTC](https://discourse.mc-stan.org/t/arviz-1-0/41046 "2026-04-14T05:27:43Z")

</div>

We have been refactoring ArviZ to improve modularity and flexibility, while preserving a user-friendly interface that works well with minimal input. Following this effort, we have recently released ArviZ 1.0. Modular st…

---

## [Stan files for models in PosteriorDB](https://discourse.mc-stan.org/t/stan-files-for-models-in-posteriordb/40936)

<div class="topic-metadata">

**Author:** [@charlesm93](https://discourse.mc-stan.org/u/charlesm93)\
**Replies:** 12\
**Last updated:** [April 6, 2026, 7:20am UTC](https://discourse.mc-stan.org/t/stan-files-for-models-in-posteriordb/40936 "2026-04-06T07:20:37Z")

</div>

I want to take a look at models in PosteriorDB ( GitHub - stan-dev/posteriordb: Database with posteriors of interest for Bayesian inference ). First, I tried to find a list of all available models. In R library("posteri…

---

## [Setting up Neovim for Stan in 2026](https://discourse.mc-stan.org/t/setting-up-neovim-for-stan-in-2026/40984)

<div class="topic-metadata">

**Author:** [@amas0](https://discourse.mc-stan.org/u/amas0)\
**Replies:** 3\
**Last updated:** [March 25, 2026, 3:24pm UTC](https://discourse.mc-stan.org/t/setting-up-neovim-for-stan-in-2026/40984 "2026-03-25T15:24:41Z")

</div>

Inspired by @WardBrian’s recent similar post for Emacs, I wanted to highlight that writing Stan code in Neovim is better than it has ever been! The screenshot below shows off some of the features; This is made possi…

---

## [How to output variable in generated quantities without renaming it](https://discourse.mc-stan.org/t/how-to-output-variable-in-generated-quantities-without-renaming-it/40979)

<div class="topic-metadata">

**Author:** [@Alex\_Craft](https://discourse.mc-stan.org/u/Alex_Craft)\
**Replies:** 3\
**Last updated:** [March 21, 2026, 1:26pm UTC](https://discourse.mc-stan.org/t/how-to-output-variable-in-generated-quantities-without-renaming-it/40979 "2026-03-21T13:26:37Z")

</div>

Is there a way to output b without renaming it to b\_? data { int a; } transformed data { real b = 2\*a; } generated quantities { // Is there something like export b? real b\_ = b; }

---

## [Using the name 'Stan' for packages derived from Stan/CmdStan/CmdStanPy](https://discourse.mc-stan.org/t/using-the-name-stan-for-packages-derived-from-stan-cmdstan-cmdstanpy/40964)

<div class="topic-metadata">

**Author:** [@sppradhan](https://discourse.mc-stan.org/u/sppradhan)\
**Replies:** 9\
**Last updated:** [March 20, 2026, 4:27pm UTC](https://discourse.mc-stan.org/t/using-the-name-stan-for-packages-derived-from-stan-cmdstan-cmdstanpy/40964 "2026-03-20T16:27:34Z")

</div>

Hi! I am grad student currently working on a package that uses Stan under the hood (specifically, CmdStanPy) for modeling. Ofcourse the package does more things, but Stan and the Bayesian workflow are its core component…

---

## [Simulating time to event data with a lagged treatment effect](https://discourse.mc-stan.org/t/simulating-time-to-event-data-with-a-lagged-treatment-effect/40940)

<div class="topic-metadata">

**Author:** [@dkbishop](https://discourse.mc-stan.org/u/dkbishop)\
**Replies:** 2\
**Last updated:** [March 10, 2026, 9:35am UTC](https://discourse.mc-stan.org/t/simulating-time-to-event-data-with-a-lagged-treatment-effect/40940 "2026-03-10T09:35:07Z")

</div>

Hi all, My post is more of a preamble to before I need to use Stan. I’m currently trying to simulate some time to event data from a Weibull distribution. The trick is that I want to simulate the data when the treatment …

---

## [Posterior prediction terminology (hierarchical model)](https://discourse.mc-stan.org/t/posterior-prediction-terminology-hierarchical-model/40935)

<div class="topic-metadata">

**Author:** [@Loni92](https://discourse.mc-stan.org/u/Loni92)\
**Replies:** 2\
**Last updated:** [February 21, 2026, 2:27pm UTC](https://discourse.mc-stan.org/t/posterior-prediction-terminology-hierarchical-model/40935 "2026-02-21T14:27:27Z")

</div>

Hi all, I am wondering about the right terminology for two kinds of posterior predictions/estimations I am making with a hierarchical model (and whether these predictions make sense in the first place). In my model I h…

---

## [Missing signatures for \_jacobian and \_constrain functions?](https://discourse.mc-stan.org/t/missing-signatures-for-jacobian-and-constrain-functions/40934)

<div class="topic-metadata">

**Author:** [@huffyhenry](https://discourse.mc-stan.org/u/huffyhenry)\
**Replies:** 3\
**Last updated:** [February 20, 2026, 9:38pm UTC](https://discourse.mc-stan.org/t/missing-signatures-for-jacobian-and-constrain-functions/40934 "2026-02-20T21:38:46Z")

</div>

I was surprised to find that it is not possible to use the \_jacobian and \_constrain functions to get bounded vectors that share bounds. This code \<- " data {} parameters {vector\[2\] x\_raw;} transformed parameters {…

---

## [Resources for DSEM](https://discourse.mc-stan.org/t/resources-for-dsem/40927)

<div class="topic-metadata">

**Author:** [@cMiIIer](https://discourse.mc-stan.org/u/cMiIIer)\
**Replies:** 3\
**Last updated:** [February 16, 2026, 10:07pm UTC](https://discourse.mc-stan.org/t/resources-for-dsem/40927 "2026-02-16T22:07:25Z")

</div>

Hello! I am new to Bayesian inferencing, and my thesis has grown to require some advanced modeling techniques that I am a little out of depth in performing. To give a general outline, I have performed an ecological tro…

---

## [Censoring with unknown boundary: confusion with the manual](https://discourse.mc-stan.org/t/censoring-with-unknown-boundary-confusion-with-the-manual/40895)

<div class="topic-metadata">

**Author:** [@aakhmetz](https://discourse.mc-stan.org/u/aakhmetz)\
**Replies:** 4\
**Last updated:** [February 10, 2026, 7:58pm UTC](https://discourse.mc-stan.org/t/censoring-with-unknown-boundary-confusion-with-the-manual/40895 "2026-02-10T19:58:17Z")

</div>

Dear all, I am a bit confused with the manual: For the left-censored data the CDF (normal\_lcdf) has to be used instead of complementary CDF. If the censoring point variable (L) is unknown, its declaration should be mo…

---

## [Documentation bug in profiling vignette?](https://discourse.mc-stan.org/t/documentation-bug-in-profiling-vignette/40906)

<div class="topic-metadata">

**Author:** [@bmelinden](https://discourse.mc-stan.org/u/bmelinden)\
**Replies:** 3\
**Last updated:** [February 9, 2026, 6:08pm UTC](https://discourse.mc-stan.org/t/documentation-bug-in-profiling-vignette/40906 "2026-02-09T18:08:19Z")

</div>

I think I stumbled upon a typo in a vignette. Profiling Stan programs with CmdStanR • cmdstanr The original example stan code defined in section “Adding profiling statements to a Stan program” seems to change in the se…

---

## [Implementing projection predictive feature selection for custom model with \`projpred\`](https://discourse.mc-stan.org/t/implementing-projection-predictive-feature-selection-for-custom-model-with-projpred/40885)

<div class="topic-metadata">

**Author:** [@helske](https://discourse.mc-stan.org/u/helske)\
**Replies:** 6\
**Last updated:** [February 6, 2026, 8:27pm UTC](https://discourse.mc-stan.org/t/implementing-projection-predictive-feature-selection-for-custom-model-with-projpred/40885 "2026-02-06T20:27:36Z")

</div>

I’m trying to familiarize myself with the projection predictive approach and projpred package, and thinking about implementing projpred methods for particular custom model class. However, the documentation on how to do t…

---

## [Passing an array \[\] simplex to a function?](https://discourse.mc-stan.org/t/passing-an-array-simplex-to-a-function/40900)

<div class="topic-metadata">

**Author:** [@Alasdair\_Clarke](https://discourse.mc-stan.org/u/Alasdair_Clarke)\
**Replies:** 2\
**Last updated:** [February 6, 2026, 3:34pm UTC](https://discourse.mc-stan.org/t/passing-an-array-simplex-to-a-function/40900 "2026-02-06T15:34:05Z")

</div>

hello I am attempting to pass an array \[\] simplex to a function. When i do this, i get the following compile error: ------------------------------------------------- 14: int ii, int nt, int idx, int k, 15…

---

## [Parallelization within chain and between nodes?](https://discourse.mc-stan.org/t/parallelization-within-chain-and-between-nodes/40223)

<div class="topic-metadata">

**Author:** [@Sheeta27](https://discourse.mc-stan.org/u/Sheeta27)\
**Replies:** 8\
**Last updated:** [February 5, 2026, 7:32pm UTC](https://discourse.mc-stan.org/t/parallelization-within-chain-and-between-nodes/40223 "2026-02-05T19:32:26Z")

</div>

Hi everyone ! I have a complex model that is going to be further complexify next year! So I’m trying to optimize my code as well as the use of my cluster, so any help will be more than welcome ! I have implemented the …

---

## [How to specify weakly informative priors for beta regression with 10 predictors?](https://discourse.mc-stan.org/t/how-to-specify-weakly-informative-priors-for-beta-regression-with-10-predictors/40786)

<div class="topic-metadata">

**Author:** [@spn](https://discourse.mc-stan.org/u/spn)\
**Replies:** 16\
**Last updated:** [January 29, 2026, 5:07pm UTC](https://discourse.mc-stan.org/t/how-to-specify-weakly-informative-priors-for-beta-regression-with-10-predictors/40786 "2026-01-29T17:07:30Z")

</div>

Hi all, I’m running a beta regression with 10 continuous predictors. I’m fairly new to Bayesian modeling (about a week in), and I’m trying to set weakly informative priors. I specified the following after standardizing …

[Previous page](https://discourse.mc-stan.org/c/general/24.md)

[Next page](https://discourse.mc-stan.org/c/general/24.md?page=2)
