Stan – StatsBlogs Statistics Blogs Sat, 29 Jun 2019 22:19:02 +0000 en-US hourly 1 https://wordpress.org/?v=5.0.2 How does Stan work? A reading list. /2019/06/26/how-does-stan-work-a-reading-list/ Wed, 26 Jun 2019 13:14:46 +0000 https://statmodeling.stat.columbia.edu/?p=41196 Bob writes, to someone who is doing work on the Stan language: The basic execution structure of Stan is in the JSS paper (by Bob Carpenter, Andrew Matt Hoffman, Daniel Lee, Ben Goodrich, Michael Betancourt, Marcus Brubaker, Jiqiang Guo, Peter Li, and Allen Riddell) and in the reference manual. The details of autodiff are in […]

The post How does Stan work? A reading list. appeared first on StatsBlogs.

]]>
AnnoNLP conference on data coding for natural language processing /2019/06/25/annonlp-conference-on-data-coding-for-natural-language-processing/ Tue, 25 Jun 2019 19:00:16 +0000 https://statmodeling.stat.columbia.edu/?p=41908 This workshop should be really interesting: Aggregating and analysing crowdsourced annotations for NLP EMNLP Workshop. November 3–4, 2019. Hong Kong. Silviu Paun and Dirk Hovy are co-organizing it. They’re very organized and know this area as well as anyone. I’m on the program committee, but won’t be able to attend. I really like the problem […]

The post AnnoNLP conference on data coding for natural language processing appeared first on StatsBlogs.

]]>
Question 3 of our Applied Regression final exam (and solution to question 2) /2019/06/03/question-3-of-our-applied-regression-final-exam-and-solution-to-question-2/ Mon, 03 Jun 2019 13:01:50 +0000 http://statmodeling.stat.columbia.edu/?p=40994 Here’s question 3 of our exam: Here is a fitted model from the Bangladesh analysis predicting whether a person with high-arsenic drinking water will switch wells, given the arsenic level in their existing well and the distance to the nearest safe well. glm(formula = switch ~ dist100 + arsenic, family=binomial(link="logit")) coef.est coef.se (Intercept) 0.00 0.08 […]

The post Question 3 of our Applied Regression final exam (and solution to question 2) appeared first on StatsBlogs.

]]>
New! from Bales/Pourzanjani/Vehtari/Petzold: Selecting the Metric in Hamiltonian Monte Carlo /2019/05/31/new-from-bales-pourzanjani-vehtari-petzold-selecting-the-metric-in-hamiltonian-monte-carlo/ Fri, 31 May 2019 23:29:25 +0000 https://statmodeling.stat.columbia.edu/?p=41797 Ben Bales, Arya Pourzanjani, Aki Vehtari, Linda Petzold write: We present a selection criterion for the Euclidean metric adapted during warmup in a Hamiltonian Monte Carlo sampler that makes it possible for a sampler to automatically pick the metric based on the model and the availability of warmup draws. Additionally, we present a new adaptation […]

The post New! from Bales/Pourzanjani/Vehtari/Petzold: Selecting the Metric in Hamiltonian Monte Carlo appeared first on StatsBlogs.

]]>
Peter Ellis on Forecasting Antipodal Elections with Stan /2019/05/28/peter-ellis-on-forecasting-antipodal-elections-with-stan/ Tue, 28 May 2019 18:48:36 +0000 https://statmodeling.stat.columbia.edu/?p=41783 I liked this intro to Peter Ellis from Rob J. Hyndman’s talk announcement: He [Peter Ellis] started forecasting elections in New Zealand as a way to learn how to use Stan, and the hobby has stuck with him since he moved back to Australia in late 2018. You may remember Peter from my previous post […]

The post Peter Ellis on Forecasting Antipodal Elections with Stan appeared first on StatsBlogs.

]]>
Maintenance cost is quadratic in the number of features /2019/05/10/maintenance-cost-is-quadratic-in-the-number-of-features/ Fri, 10 May 2019 13:56:39 +0000 http://statmodeling.stat.columbia.edu/?p=40928 Bob Carpenter shares this story illustrating the challenges of software maintenance. Here’s Bob: This started with the maintenance of upgrading to the new Boost version 1.69, which is this pull request: https://github.com/stan-dev/math/pull/1082 for this issue: https://github.com/stan-dev/math/issues/1081 The issue happens first, then the pull request, then the fun of debugging starts. Today’s story starts an issue […]

The post Maintenance cost is quadratic in the number of features appeared first on StatsBlogs.

]]>
Stan examples in Harezlak, Ruppert and Wand (2018) Semiparametric Regression with R /2019/05/06/stan-examples-in-harezlak-ruppert-and-wand-2018-semiparametric-regression-with-r/ Mon, 06 May 2019 18:00:17 +0000 https://statmodeling.stat.columbia.edu/?p=41669 I saw earlier drafts of this when it was in preparation and they were great. Jarek Harezlak, David Ruppert and Matt P. Wand. 2018. Semiparametric Regression with R. UseR! Series. Springer. I particularly like the careful evaluation of variational approaches. I also very much like that it’s packed with visualizations and largely based on worked […]

The post Stan examples in Harezlak, Ruppert and Wand (2018) Semiparametric Regression with R appeared first on StatsBlogs.

]]>
We shouldn’t’ve called it “Stan”; I should’ve listened to Bob and Hadley /2019/04/30/we-shouldntve-called-it-stan-i-shouldve-listened-to-bob-and-hadley/ Tue, 30 Apr 2019 00:39:58 +0000 https://statmodeling.stat.columbia.edu/?p=41632 Hadley told me that one reason he came up with the name ggplot was that it would be uniquely findable on Google. When we were writing Stan and I suggested naming it Stan, Bob pointed out the googling argument but I just loved the name Stan, I loved the Ulam connection and having this friendly […]

The post We shouldn’t’ve called it “Stan”; I should’ve listened to Bob and Hadley appeared first on StatsBlogs.

]]>
Several post-doc positions in probabilistic programming etc. in Finland /2019/04/25/several-post-doc-positions-in-probabilistic-programming-etc-in-finland/ Thu, 25 Apr 2019 15:38:38 +0000 https://statmodeling.stat.columbia.edu/?p=41612 There are several open post-doc positions in Aalto and University of Helsinki in 1. probabilistic programming, 2. simulator-based inference, 3. data-efficient deep learning, 4. privacy preserving and secure methods, 5. interactive AI. All these research programs are connected and collaborating. I (Aki) am the coordinator for the project 1 and contributor in the others. Overall […]

The post Several post-doc positions in probabilistic programming etc. in Finland appeared first on StatsBlogs.

]]>
Postdoctoral position in Vancouver! Using Stan! Working on wine! For reals. /2019/04/25/postdoctoral-position-in-vancouver-using-stan-working-on-wine-for-reals/ Thu, 25 Apr 2019 00:42:21 +0000 https://statmodeling.stat.columbia.edu/?p=41607 Lizzie Wolkovich writes that she is hiring someone to help build Stan models for winegrapes. Here’s the ad: Postdoctoral Fellow in Winegrape Research—University of British Columbia The Temporal Ecology Lab is looking for a bright, motivated and collaborative researcher to join the lab and develop new winegrape models using Stan (mc-stan.org). The project combines decades […]

The post Postdoctoral position in Vancouver! Using Stan! Working on wine! For reals. appeared first on StatsBlogs.

]]>
Claims about excess road deaths on “4/20” don’t add up /2019/04/20/claims-about-excess-road-deaths-on-4-20-dont-add-up/ Sat, 20 Apr 2019 13:42:49 +0000 http://statmodeling.stat.columbia.edu/?p=39014 Sam Harper writes: Since you’ve written about similar papers (that recent NRA study in NEJM, the birthday analysis) before and we linked to a few of your posts, I thought you might be interested in this recent blog post we wrote about a similar kind of study claiming that fatal motor vehicle crashes increase by 12% after 4:20pm […]

The post Claims about excess road deaths on “4/20” don’t add up appeared first on StatsBlogs.

]]>
The network of models and Bayesian workflow, related to generative grammar for statistical models /2019/04/16/the-network-of-models-and-bayesian-workflow-related-to-generative-grammar-for-statistical-models/ Tue, 16 Apr 2019 13:28:55 +0000 http://statmodeling.stat.columbia.edu/?p=40750 Ben Holmes writes: I’m a machine learning guy working in fraud prevention, and a member of some biostatistics and clinical statistics research groups at Wright State University in Dayton, Ohio. I just heard your talk “Theoretical Statistics is the Theory of Applied Statistics” on YouTube, and was extremely interested in the idea of a model-space […]

The post The network of models and Bayesian workflow, related to generative grammar for statistical models appeared first on StatsBlogs.

]]>
State-space models in Stan /2019/04/15/state-space-models-in-stan/ Mon, 15 Apr 2019 13:22:29 +0000 http://statmodeling.stat.columbia.edu/?p=40745 Michael Ziedalski writes: For the past few months I have been delving into Bayesian statistics and have (without hyperbole) finally found statistics intuitive and exciting. Recently I have gone into Bayesian time series methods; however, I have found no libraries to use that can implement those models. Happily, I found Stan because it seemed among […]

The post State-space models in Stan appeared first on StatsBlogs.

]]>
Active learning and decision making with varying treatment effects! /2019/04/12/active-learning-and-decision-making-with-varying-treatment-effects/ Fri, 12 Apr 2019 02:11:27 +0000 https://statmodeling.stat.columbia.edu/?p=41535 In a new paper, Iiris Sundin, Peter Schulam, Eero Siivola, Aki Vehtari, Suchi Saria, and Samuel Kaski write: Machine learning can help personalized decision support by learning models to predict individual treatment effects (ITE). This work studies the reliability of prediction-based decision-making in a task of deciding which action a to take for a target […]

The post Active learning and decision making with varying treatment effects! appeared first on StatsBlogs.

]]>
StanCon 2019: 20–23 August, Cambridge, UK /2019/04/05/stancon-2019-20-23-august-cambridge-uk/ Fri, 05 Apr 2019 22:13:53 +0000 https://statmodeling.stat.columbia.edu/?p=41522 It’s official. This year’s StanCon is in Cambridge. For details, see StanCon 2019 Home Page What can you expect? There will be two days of tutorials at all levels and two days of invited and submitted talks. The previous three StanCons (NYC 2017, Asilomar 2018, Helsinki 2018) were wonderful experiences for both their content and […]

The post StanCon 2019: 20–23 August, Cambridge, UK appeared first on StatsBlogs.

]]>
Some Stan and Bayes short courses! /2019/04/04/some-stan-and-bayes-short-courses/ Thu, 04 Apr 2019 23:05:07 +0000 https://statmodeling.stat.columbia.edu/?p=41514 Robert Grant writes: I have a couple of events coming up that people might be interested in. They are all at bayescamp.com/courses Stan Taster Webinar is on 15 May, runs for one hour and is only £15. I’ll demo Stan through R (and maybe PyStan and CmdStan if the interest is there on the day), […]

The post Some Stan and Bayes short courses! appeared first on StatsBlogs.

]]>
Mister P for surveys in epidemiology — using Stan! /2019/03/25/mister-p-for-surveys-in-epidemiology-using-stan/ Mon, 25 Mar 2019 13:21:42 +0000 http://statmodeling.stat.columbia.edu/?p=39035 Jon Zelner points us to this new article in the American Journal of Epidemiology, “Multilevel Regression and Poststratification: A Modelling Approach to Estimating Population Quantities From Highly Selected Survey Samples,” by Marnie Downes, Lyle Gurrin, Dallas English, Jane Pirkis, Dianne Currier, Matthew Spittal, and John Carlin, which begins: Large-scale population health studies face increasing difficulties […]

The post Mister P for surveys in epidemiology — using Stan! appeared first on StatsBlogs.

]]>
New golf putting data! And a new golf putting model! /2019/03/21/new-golf-putting-data-and-a-new-golf-putting-model/ Thu, 21 Mar 2019 13:44:25 +0000 http://statmodeling.stat.columbia.edu/?p=40511 Part 1 Here’s the golf putting data we were using, typed in from Don Berry’s 1996 textbook. The columns are distance in feet from the hole, number of tries, and number of successes: x n y 2 1443 1346 3 694 577 4 455 337 5 353 208 6 272 149 7 256 136 8 […]

The post New golf putting data! And a new golf putting model! appeared first on StatsBlogs.

]]>
stanc3: rewriting the Stan compiler /2019/03/13/stanc3-rewriting-the-stan-compiler/ Wed, 13 Mar 2019 19:49:23 +0000 https://statmodeling.stat.columbia.edu/?p=41412 I’d like to introduce the stanc3 project, a complete rewrite of the Stan 2 compiler in OCaml. Join us! With this rewrite and migration to OCaml, there’s a great opportunity to join us on the ground floor of a new era. Your enthusiasm for or expertise in programming language theory and compiler development can help […]

The post stanc3: rewriting the Stan compiler appeared first on StatsBlogs.

]]>
From the Stan forums: “I’m just very thirsty to learn and this thread has become a fountain of knowledge” /2019/03/13/from-the-stan-forums-im-just-very-thirsty-to-learn-and-this-thread-has-become-a-fountain-of-knowledge/ Wed, 13 Mar 2019 13:06:08 +0000 http://statmodeling.stat.columbia.edu/?p=39003 Bob came across the above quote in this thread. More generally, though, I want to recommend the Stan Forums. As you can see from the snapshot below, the topics are varied: The discussions are great, and anyone can jump in. Lots of example code and all sorts of things. Also of interest: the Stan case […]

The post From the Stan forums: “I’m just very thirsty to learn and this thread has become a fountain of knowledge” appeared first on StatsBlogs.

]]>