Skip to content
Archive of posts filed under the Stan category.

Stan’s 3rd birthday!

Stan v1.0.0 was released on August 30, 2012. We’ve come a long way since. If you’re around and want to celebrate with some Stan developers and users, feel free to join us: Monday, August 31. 6 – 9 pm Untamed Sandwiches 43 W 39th St New York, NY If you didn’t know, we also have […]

Daniel on Stan at the NYC Machine Learning Meetup

I (Daniel) will be giving a Stan overview talk on Thursday, August 20, 7 pm. Bob gave a talk there 3.5 years ago. My talk will be light and include where we’ve been and where we’re going.   P.S. If you make it, find me. I have Stan stickers to give out. P.P.S. Stan is […]

My 2 classes this fall

Stat 6103, Bayesian Data Analysis Modern Bayesian methods offer an amazing toolbox for solving science and engineering problems. We will go through the book Bayesian Data Analysis and do applied statistical modeling using Stan, using R (or Python or Julia if you prefer) to preprocess the data and postprocess the analysis. We will also discuss […]

ShinyStan v2.0.0

For those of you not familiar with ShinyStan, it is a graphical user interface for exploring Stan models (and more generally MCMC output from any software). For context, here’s the post on this blog first introducing ShinyStan (formerly shinyStan) from earlier this year. ShinyStan v2.0.0 released ShinyStan v2.0.0 is now available on CRAN. This is […]

Fitting a multilevel model

Cui Yang writes: I have a question about the use of BRT (Boosting regression tree). I am planning to write an article about the effects of soil fauna and understory fine roots on forest soil organic carbon. The experiment was conducted in a subtropical forest area in China. There were 16 blocks each with 5 […]

Stan at JSM2015

In addition to Jigiang’s talk on Stan, 11:25 AM on Wednesday, I’ll also be giving a talk about Hamiltonian Monte Carlo today at 3:20 PM.  Stanimals in attendance can come find me to score a sweet Stan sticker. And everyone should check out Andrew’s breakout performance in “A Stan is Born”. Update: Turns out I missed even […]

The secret to making a successful conference presentation

JSM (the Joint Statistical Meetings) are coming up soon, and Jiqiang’s giving a talk on Stan. Here’s the advice I gave him: in 20 minutes, something like this: – What is Stan? – Where does Stan work well? – Current and future Stan research. For JSM audience it could be good to spend some time […]

Stan Meetup Talk in Ann Arbor this Wednesday (5 Aug 2015)

I (Bob) will be presenting an overview of (R)Stan at the Ann Arbor R User Group meetup this Wednesday night (5 August 2015) at 7 PM. To see the abstract and register to attend: RStan: Statistical Modeling Made Easy with Bob Carpenter Wednesday, Aug 5, 2015, 7:00 PM Barracuda Networks317 Maynard St Ann Arbor, MI […]


The following bit of irrelevance appeared on the stan-users mailing list: On Jun 11, 2015, at 11:29 AM, Joanna Caldwell wrote: Webinar: Tips & Tricks to Improve Your Logistic Regression . . . Registration Link: . . . Abstract: Logistic regression is a commonly used tool to analyze binary classification problems. However, logistic regression still […]

Stan 2.7 (CRAN, variational inference, and much much more)

Stan 2.7 is now available for all interfaces. As usual, everything you need can be found starting from the Stan home page: Highlights RStan is on CRAN!(1) Variational Inference in CmdStan!!(2) Two new Stan developers!!!  A whole new logo!!!!  Math library with autodiff now available in its own repo!!!!!  (1) Just doing install.packages(“rstan”) isn’t […]

BREAKING . . . Kit Harrington’s height

Rasmus “ticket to” Bååth writes: I heeded your call to construct a Stan model of the height of Kit “Snow” Harrington. The response on Gawker has been poor, unfortunately, but here it is, anyway. Yeah, I think the people at Gawker have bigger things to worry about this week. . . . Here’s Rasmus’s inference […]

Stan is Turing complete

Stan is Turing complete.

New papers on LOO/WAIC and Stan

Aki, Jonah, and I have released the much-discussed paper on LOO and WAIC in Stan: Efficient implementation of leave-one-out cross-validation and WAIC for evaluating fitted Bayesian models. We (that is, Aki) now recommend LOO rather than WAIC, especially now that we have an R function to quickly compute LOO using Pareto smoothed importance sampling. In […]

Short course on Bayesian data analysis and Stan 19-21 July in NYC!

Bob Carpenter, Daniel Lee, and I are giving a 3-day short course in two weeks. Before class everyone should install R, RStudio and RStan on their computers. If problems occur please join the stan-users group and post any questions. It’s important that all participants get Stan running and bring their laptops to the course. Class […]

Introducing StataStan

Thanks to Robert Grant, we now have a Stata interface! For more details, see: Robert Grant’s Blog:   Introducing StataStan Jonah and Ben have already kicked the tires, and it works. We’ll be working on it more as time goes on as part of our Institute of Education Sciences grant (turns out education researchers use […]


Logo design by Michael Betancourt and Stephanie Mannheim. P.S. Some commenters suggested the top of the S above is too large, but I wonder if that’s just because I’ve posted the logo in a large format. On the screen it would typically be smaller, something like this, which appears a bit more tasteful:

Stan workshops at UCLA (6/23) and UCI (6/24)

While Bob travels to Boston-ish, I’ll be giving two Stan workshops in Southern California. I’m excited to be back on the west coast for a few days — I grew up not too far away. Both workshops are open, but space is limited. Follow the links for registration. UCLA Social Statistics Seminar Series, 6/23, 10 […]

How tall is Kit Harrington? Stan wants to know.

We interrupt our regularly scheduled programming for a special announcement. Madeleine Davies writes: “Here are some photos of Kit Harington. Do you know how tall he is?” I’m reminded, of course, of our discussion of the height of professional tall person Jon Lee Anderson: Full Bayes, please. I can’t promise publication on Gawker, but I’ll […]

JuliaCon 2015 (24–27 June, Boston-ish)

JuliaCon is coming to Cambridge, MA the geek capital of the East Coast: 24–27 June. Here’s the conference site with program. I (Bob) will be giving a 10 minute “lightning talk” on Stan.jl, the Julia interface to Stan (built by Rob J. Goedman — I’m just pinch hitting because Rob couldn’t make it). The uptake […]

Applied regression and multilevel modeling books using Stan

Edo Navot writes: Are there any plans in the works to update your book with Prof. Hill on hierarchical models to a new edition with example code in Stan? Yes, we are planning to break it up into 2 books and do all the modeling for both books in Stan. It’s waiting on some new […]