News for hackers. Stuff that matters.
Re:Stan is a state-of-the-art platform for statistical modeling by phillc73 on Wednesday December 23, 2020 @06:48AM (#25516643)
There are a good range of other programming language interfaces to Stan. The R one is quite popular.[1]

You do still need the C++ toolchain, but can just write your code in R.

[1] https://mc-stan.org/rstan/

Re:Stan is a state-of-the-art platform for statistical modeling by standevbob on Wednesday December 23, 2020 @10:59AM (#25518929)
Stan requires models to be coded in the Stan language, which is a simple imperative language that's like MATLAB with explicit data types. This is the same as was done in Stan's predecessors, BUGS and JAGS.

A Stan program can be run in any of our interfaces in Python, Julia, R, MATLAB, Stata, etc. But you can't mix any of those languages into a Stan program.

The C++ toolchain is required because Stan transpiles its programs to C++, then compiles those against the Stan math librarym, which does autodiff. But you don't need to write any C++ to use Stan, just to develop extensions for it.

Re:Stan is a state-of-the-art platform for statistical modeling by melling on Wednesday December 23, 2020 @09:45AM (#25518046)