<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/stan-roundup-27-october-2017/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://andrewgelman.com/2017/10/27/stan-roundup-27-october-2017/"> R – Statistical Modeling, Causal Inference, and Social Science</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>I missed two weeks and haven’t had time to create a dedicated blog for Stan yet, so we’re still here. This is only the update for this week. From now on, I’m going to try to concentrate on things that are done, not just in progress so you can get a better feel for the pace of things getting done.</p>
<p><b>Not one, but two new devs!</b></p>
<p>This is my favorite news to post, hence the exclamation.</p>
<ul>
<li><b>Matthijs Vákár</b> from University of Oxford joined the dev team. Matthijs’s first major commit is a set of GLM functions for negative binomial with log link (2–6 times speedup), normal linear regression with identity link (4–5 times), Poisson with log link (factor of 7) and bernoulli with logit link (9 times). Wow! And he didn’t just implement the straight-line case—this is a fully vectorized implementation as a density, so we’ll be able to use them this way:
<pre>
int<null lower="0," upper="1"> y[N]; // observations
matrix[N, K] x; // &quot;data&quot; matrix
vector[K] beta; // slope coefficients
real alpha; // intercept coefficient
y ~ bernoulli_logit_glm(x, beta, alpha);

<p>These stand in for what is now written as</p>
<pre>
y ~ bernoulli_logit(x * beta + alpha);
</pre>
<p>and before that was written</p>
<pre>
y ~ bernoulli(inv_logit(x * beta + alpha)); 
</pre>
<p>Matthijs also successfully defended his Ph.D. thesis—welcome to the union, Dr. Vákár.
</p>
<li><b>Andrew Johnson</b> from Curtin University also joined. In his first bold move, he literally refactored the entire math test suite to bring it up to cpplint standard. He’s also been patching doc and other issues.

<p><b>Visitors</b></p>
<ul>
<li><b>Kentaro Matsura</b>, author of <i>Bayesian Statistical Modeling Using Stan and R</i> (in Japanese) visited and we talked about what he’s been working on and how we’ll handle the syntax for tuples in Stan.

<li><b>Shuonan Chen</b> visited the Stan meeting, then met with Michael (and me a little bit) to talk bioinformatics—specifically about single-cell PCR data and modeling covariance due to pathways. She had a well-annotated copy of Kentaro’s book!
</ul>
<p><b>Other news</b></p>
<ul>
<li><b>Bill Gillespie</b> presented a Stan and Torsten tutorial at ACoP.

<li><b>Charles Margossian</b> had a poster at ACoP on mixed solving (analytic solutions with forcing functions); his StanCon submission on steady state solutions with the algebraic solver was accepted.

<li><b>Krzysztof Sakrejda</b> nailed down the last bit of the standalone function compilation, so we should be rid of regexp based C++ generation in RStan 2.17 (coming soon).

<li><b>Ben Goodrich</b> has been cleaning up a bunch of edge cases in the math lib (hard things like the Bessel functions) and also added a chol2inv() function that inverts the matrix corresponding to a Cholesky factor (naming from LAPACK under review—suggestions welcome).

<li><b>Bob Carpenter</b> and <b>Mitzi Morris</b> taught a one-day Stan class in Halifax at Dalhousie University. Lots of fun seeing Stan users show up! <b>Mike Lawrence</b>, of Stan tutorial YouTube fame, helped people with debugging and installs—nice to finally meet him in person.

<li><b>Ben Bales</b> got the metric initialization into CmdStan, so we’ll finally be able to restart (the metric used to be called the mass matrix—it’s just the inverse of a regularized estimate of global posterior covariance during warmup)

<li><b>Michael Betancourt</b> just returned from SACNAS (diversity in STEM conference attended by thousands).

<li><b>Michael</b> also revised his history of MCMC paper, which as been conditionally accepted for publication. Read it on arXiv first.

<li><b>Aki Vehtari</b> was awarded a two-year postdoc for a joint project working on Stan algorithms and models jointly supervised with <b>Andrew Gelman</b>; it’ll also be joint between Helsinki and New York. Sounds like fun!

<li><b>Breck Baldwin</b> and <b>Sean Talts</b> headed out to Austin for the NumFOCUS summit, where they spent two intensive days talking largely about project governance and sustainability.

<li><b>Imad Ali</b> is leaving Columbia to work for the NBA league office (he’ll still be in NYC) as a statistical analyst! That’s one way to get access to the data!
</ul>
<p>The post <a rel="nofollow" href="http://andrewgelman.com/2017/10/27/stan-roundup-27-october-2017/" target="_blank">Stan Roundup, 27 October 2017</a> appeared first on <a rel="nofollow" href="http://andrewgelman.com/" target="_blank">Statistical Modeling, Causal Inference, and Social Science</a>.</p>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://andrewgelman.com/2017/10/27/stan-roundup-27-october-2017/"> R – Statistical Modeling, Causal Inference, and Social Science</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/pJnvaz-Y-C8" height="1"></a></div></null></pre></ul>