Expressive probabilistic programming language for writing statistical models. Fast Bayesian inference. Interfaces for Python, Julia, R, and the Unix shell. A rich ecosystem of tools for validation and visualization.
Home https://mc-stan.org/

@mc-stan.org
Expressive probabilistic programming language for writing statistical models. Fast Bayesian inference. Interfaces for Python, Julia, R, and the Unix shell. A rich ecosystem of tools for validation and visualization.
Home https://mc-stan.org/
- New laplace_latent_solve(_tol) for getting the mean and covariance (Cholesky) of the modal normal approximation - The compiler has fewer dependencies, with a smaller binary size and improved speeds.
- New functions to_vector_array, to_row_vector_array, and new overloads for to_matrix for arrays of (row-)vectors.
- New poisson_binomial distribution
- The same .stanfunctions can be #included multiple times without leading to errors about duplicated function definitions.
Release of CmdStan 2.40, including new Stan Math, core Stan, and Stanc, is now available!
Blog post with new features
blog.mc-stan.org/2026/09/16/r...
Highlights
- integrate_1d_double_exponential, a variadic version of old integrate_1d
- integrate_1d_gauss_kronrod, a different quadrature rule
...