You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.qmd
+36-36Lines changed: 36 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -11,26 +11,19 @@ aliases:
11
11
- events/index.html
12
12
- users/index.html
13
13
14
-
14
+
css: index.css
15
+
code-copy: false
15
16
---
16
17
17
18
18
19
::: {.hero-banner}
19
-
::: {.grid}
20
-
::: {.g-col-1}
21
-
:::
22
-
::: {.g-col-8 }
20
+
:::: {.content-block}
21
+
23
22
# Stan: Software for Bayesian Data Analysis
24
-
:::
25
-
:::
26
-
:::
27
23
24
+
::::: {.hero-text .grid}
25
+
:::::: {.g-col-12 .g-col-md-8}
28
26
29
-
::: {.second-banner}
30
-
::: {.grid}
31
-
::: {.g-col-1}
32
-
:::
33
-
::: {.g-col-8}
34
27
### Bayesian Modeling
35
28
36
29
Stan enables sophisticated statistical modeling using Bayesian inference, allowing for more accurate and interpretable results in complex data scenarios.
@@ -44,45 +37,52 @@ Stan's probabilistic programming language is suitable for a wide range of applic
44
37
Interfaces for Python, Julia, R, and the Unix shell make it easy to use Stan in any programming environment,
45
38
on laptops, clusters, or in the cloud. A rich ecosystem of tools for validation and visualization support
* The Stan [forums](https://discourse.mc-stan.org) provide support for all user levels and topics, from installing software, to writing Stan programs, to advanced Bayesian modeling techniques and methodology.
65
74
66
75
* Stan's [documentation](https://mc-stan.org/docs), [tutorials](learn-stan/tutorials.qmd), and [case studies](learn-stan/case-studies.qmd) help users learn and use Stan effectively in their own projects.
67
76
The [Prior Choice Recommendations](https://github.com/stan-dev/stan/wiki/Prior-Choice-Recommendations) wiki page provides guidance on appropriate priors for use with Stan.
68
-
:::
69
-
:::
70
-
:::
71
77
72
-
::: {.second-banner}
73
-
::: {.grid}
74
-
::: {.g-col-1}
75
-
:::
78
+
---
76
79
77
-
::: {.g-col-8}
78
-
## Developer Resources
80
+
### Developer Resources
79
81
* The [Stan Developer Wiki](https://github.com/stan-dev/stan/wiki)
80
82
81
83
* The [Stan Forums Developers category](https://discourse.mc-stan.org/c/stan-dev/10)
82
84
83
85
* The Stan slack channel [mc-stan.slack.com](https://join.slack.com/t/mc-stan/shared_invite/zt-1le4ebi4m-UMtiOkJb4gcS16qz2wIYCw)
Copy file name to clipboardExpand all lines: learn-stan/case-studies.qmd
+30-1Lines changed: 30 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,35 @@ aliases:
8
8
9
9
The case studies on this page are intended to reflect best practices in Bayesian methodology and Stan programming. We aim to keep them current with the latest version of the Stan language, but there may be times when case studies need updating to reflect the latest Stan features and syntax.
10
10
11
+
12
+
## Volume 11 (2025)
13
+
14
+
### The Sum-to-Zero Constraint in Stan
15
+
16
+
The [`sum_to_zero_vector`](https://mc-stan.org/docs/reference-manual/transforms.html#zero-sum-vector)
17
+
constrained parameter type was introduced in the [Stan 2.36 release](https://github.com/stan-dev/cmdstan/releases/tag/v2.36.0).
18
+
This case study demonstrates the efficiency and robustness of this constrained type; how to adjust the marginal variances for a normal prior, and how to implement the sum-to-zero constraining transform as a Stan function, to extend its use beyond a simple vector.
* Recorded Talks: [YouTube playlist](https://www.youtube.com/playlist?list=PLCrWEzJgSUqzNzh6mjWsWUu-lSK59VXP6)
18
+
* Keynotes:
19
+
+ The Pragmatic Probabilistic Programmer -- Mitzi Morris
20
+
+ Applied modeling for drug development -- Sebastian Weber
21
+
+ From the Depths to the Stars: How Modeling Shark Movements Illuminates Star Behavior -- Vianey Leos Barajas
22
+
+ Bayesian multilevel causal modelling of the frequency and implications of having two HIV infections -- Chris Wymant
18
23
* Tutorials (not recorded)
19
24
+ Introduction to Stan -- Richard McElreath
20
25
+ Model selection -- Aki Vehtari, Noa Kallioinen, and Teemu Säilynoja
21
26
+ Bayesian hierarchical models in Stan -- Sean Pinkney
22
27
+ Bayesian optmization with Stan -- Anna Riha and Elizaveta Semenova
23
28
+ Biodiversity modeling and forecasting -- Will Pearse
24
29
+ Infectious disease modeling in Stan -- Juliette Unwin
25
-
* Organizers: Charles Margossian, Will Pearse,
30
+
* Organizers: Michael Collyer, Ellen Mobbs, Joss Wright, Richard McElreath, Elizaveta Semenova, Ben Lambert, Seth Flaxman, Charles Margossian, Juliette Unwin, Will Pearse, Makkunda Sharma
31
+
* Sponsors: Daiichi-Sankyo, Metrum Research Group, Generable, Jumping Rivers, Taylor and Francis, NumFocus, the Oxford Internet Institute, and the Max Planck Institute for Evolutionary Anthropology
* GitHub repository of slides and course materials from StanCon 2023: [https://github.com/stan-dev/stancon2023](https://github.com/stan-dev/stancon2023){target="_blank"}
40
+
* Keynotes
41
+
+ The efficient frontier: Bayes, neural nets, and the future of Stan -- Bob Carpenter
42
+
+ We all can benefit from Bayesian analysis reporting guidelines if we use them -- John Kruschke
43
+
+ Statistical Significance Makes our Mission: Impossible -- Mariel Finucane
44
+
+ Regression Under Endogeneity: Bernstein-von Mises Theory and Bayes Factors Testing -- Siddhartha Chib
33
45
* Tutorials
34
46
+ Fundamentals of Stan -- Charles Margossian
35
47
+ Bayesian workflow illustrated using BRMS -- Mitzi Morris
36
48
+ Hierarchical models in Stan: varieties, optimizations & nuances -- Mike Lawrence
37
49
+ Building a GPT in Stan -- Daniel Lee
38
50
+ Cognitive diagnostic models in R and Stan -- Jake Thompson
39
51
+ Advances of model assessment, selection, and inference after model selection -- Andrew Johnson
40
-
* Organizers: Charles Margossian, Debashis Mondal, Yi Zhang, Eric Ward
41
-
52
+
* Organizers: Charles Margossian, Debashis Mondal, Eric Ward, Vianey Leos Barajas, Yi Zhang
53
+
* Sponsors: Washington University in St Louis, Metrum Research Group, NumFocus, Sage Therapeutics, Jumping Rivers
|**RStudio**|**Built-in Support**| RStudio 1.2+ includes Stan syntax highlighting and code snippets. [(Source code)](https://github.com/rstudio/rstudio/blob/main/src/gwt/acesupport/acemode/stan_highlight_rules.js){target="_blank"} |
114
-
|**Visual Studio Code**|[**Stan VSCode Extension**](https://marketplace.visualstudio.com/items?itemName=ivan-bocharov.stan-vscode){target="_blank"} | Stan language support with syntax highlighting, autocompletion, and snippets. |
115
-
|**Emacs**|[**stan-mode**](https://github.com/stan-dev/stan-mode){target="_blank"} | Major mode for Stan with syntax highlighting and indentation. |
116
-
|**Vim**|[**stan-vim**](https://github.com/eigenfoo/stan-vim){target="_blank"} | Syntax highlighting, indentation, and code folding for Stan in Vim. |
117
-
|**Atom**|[**language-stan**](https://github.com/stan-dev/atom-language-stan){target="_blank"} | Stan language support in Atom editor. |
118
-
|**Sublime Text**|[**SublimeStan**](https://github.com/djsutherland/sublime-stan){target="_blank"} | Syntax highlighting for Stan in Sublime Text. |
119
-
|**JupyterLab**|[**jupyterlab-stan-highlight**](https://www.npmjs.com/package/jupyterlab-stan-highlight){target="_blank"} | Syntax highlighting for Stan code blocks in JupyterLab. |
**Markdown Editors** | [**Pandoc**](https://pandoc.org/){target="_blank"} </br> [**Pygments**](https://pygments.org/){target="_blank"} | Stan syntax highlighting for document formats. [(Source code)](https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/syntax/stan.xml)</br>Python highlighter for Stan code blocks [(Source code)](https://github.com/pygments/pygments/blob/master/pygments/lexers/modeling.py){target="_blank"} |
122
-
|**LaTeX**|[**lstbayes**](https://github.com/jrnold/lstbayes){target="_blank"} | LaTeX listings for Stan syntax highlighting. |
113
+
|**RStudio**|**Built-in Support**| RStudio 1.2+ includes Stan syntax highlighting and code snippets [(Source code)](https://github.com/rstudio/rstudio/blob/main/src/gwt/acesupport/acemode/stan_highlight_rules.js){target="_blank"} |
114
+
|**Visual Studio Code**|[**VSCode Stan Extension**](https://marketplace.visualstudio.com/items?itemName=wardbrian.vscode-stan-extension){target="_blank"} | Stan language support with syntax highlighting, linting, autocompletion, and snippets |
115
+
|**Emacs**|[**stan-mode**](https://github.com/stan-dev/stan-mode){target="_blank"} <br/> [**stan-ts-mode**](https://github.com/WardBrian/stan-ts-mode){target="_blank"} | Major mode for Stan with syntax highlighting and indentation <br /> Tree-sitter based (Emacs 29+) major mode for Stan. Fewer features than stan-mode, but generally more up to date syntax highlighting. |
116
+
|**Vim**|[**stan-vim**](https://github.com/eigenfoo/stan-vim){target="_blank"} | Syntax highlighting, indentation, and code folding for Stan in Vim |
117
+
|**JupyterLab**|[**jupyterlab-stan-highlight**](https://www.npmjs.com/package/jupyterlab-stan-highlight){target="_blank"} | Syntax highlighting for Stan code blocks in JupyterLab |
118
+
|**Javascript**|[**Prism**](https://prismjs.com/){target="_blank"} </br> [**Highlight.js**](https://github.com/highlightjs/highlight.js){target="_blank"} | Lightweight syntax highlighting library [(Source code)](https://github.com/PrismJS/prism/blob/master/components/prism-stan.js){target="_blank"} </br> Syntax highlighter written in javascript [(Source code)](https://github.com/highlightjs/highlight.js/blob/main/src/languages/stan.js){target="_blank"} |
119
+
**Markdown** | [**Pandoc**](https://pandoc.org/){target="_blank"} </br> [**Pygments**](https://pygments.org/){target="_blank"} | Stan syntax highlighting for document formats [(Source code)](https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/syntax/stan.xml)</br>Python highlighter for Stan code blocks [(Source code)](https://github.com/pygments/pygments/blob/master/pygments/lexers/modeling.py){target="_blank"} |
120
+
|**Zed**|[**zed-stan-extension**](https://github.com/wardbrian/zed-stan-extension){target="_blank"} | Syntax highlighting for Stan in the Zed editor |
121
+
|**LaTeX**|[**lstbayes**](https://github.com/jrnold/lstbayes){target="_blank"} | LaTeX listings for Stan syntax highlighting |
122
+
|**Sublime Text**|[**SublimeStan**](https://github.com/djsutherland/sublime-stan){target="_blank"} | Syntax highlighting for Stan in Sublime Text |
123
+
|**Atom**|[**atom-language-stan**](https://github.com/stan-dev/atom-language-stan){target="_blank"} | Stan language support in Atom editor and GitHub.com |
0 commit comments