Category: Stan

Prior distributions for covariance matrices

Someone sent me a question regarding the inverse-Wishart prior distribution for covariance matrix, as it is the default in some software he was using. Inverse-Wishart does not make sense for prior distribution; it has problems because the shape and scale are tangled. See this paper, “Visualizing Distributions of Covariance Matrices,” by Tomoki Tokuda, Ben Goodrich, […]

The post Prior distributions for covariance matrices appeared first on Statistical Modeling, Causal Inference, and Social Science.

Multilevel models for multiple comparisons! Varying treatment effects!

Mark White writes: I have a question regarding using multilevel models for multiple comparisons, per your 2012 paper and many blog posts. I am in a situation where I do randomized experiments, and I have a lot of additional demographic information about people, as well. For the moment, let us just assume that all of […]

The post Multilevel models for multiple comparisons! Varying treatment effects! appeared first on Statistical Modeling, Causal Inference, and Social Science.

Fitting the Besag, York, and Mollie spatial autoregression model with discrete data

Rudy Banerjee writes: I am trying to use the Besag, York & Mollie 1991 (BYM) model to study the sociology of crime and space/time plays a vital role. Since many of the variables and parameters are discrete in nature is it possible to develop a BYM that uses an Integer Auto-regressive (INAR) process instead of […]

The post Fitting the Besag, York, and Mollie spatial autoregression model with discrete data appeared first on Statistical Modeling, Causal Inference, and Social Science.

Stan development in RStudio

Check this out! RStudio now has special features for Stan: – Improved, context-aware autocompletion for Stan files and chunks – A document outline, which allows for easy navigation between Stan code blocks – Inline diagnostics, which help to find issues while you develop your Stan model – The ability to interrupt Stan parallel workers launched […]

The post Stan development in RStudio appeared first on Statistical Modeling, Causal Inference, and Social Science.

Cool postdoc position in Arizona on forestry forecasting using tree ring models!

Margaret Evans sends in this cool job ad: Two-Year Post Doctoral Fellowship in Forest Ecological Forecasting, Data Assimilation A post-doctoral fellowship is available in the Laboratory of Tree-Ring Research (University of Arizona) to work on an NSF Macrosystems Biology-funded project assimilating together tree-ring and forest inventory data to analyze patterns and drivers of forest productivity […]

The post Cool postdoc position in Arizona on forestry forecasting using tree ring models! appeared first on Statistical Modeling, Causal Inference, and Social Science.

The hot hand—in darts!

Roland Langrock writes: Since on your blog you’ve regularly been discussing hot hand literature – which we closely followed – I’m writing to share with you a new working paper we wrote on a potential hot hand pattern in professional darts. We use state-space models in which a continuous-valued latent “hotness” variable, modeled as an […]

The post The hot hand—in darts! appeared first on Statistical Modeling, Causal Inference, and Social Science.

“Dynamically Rescaled Hamiltonian Monte Carlo for Bayesian Hierarchical Models”

Aki points us to this paper by Tore Selland Kleppe, which begins: Dynamically rescaled Hamiltonian Monte Carlo (DRHMC) is introduced as a computationally fast and easily implemented method for performing full Bayesian analysis in hierarchical statistical models. The method relies on introducing a modified parameterisation so that the re-parameterised target distribution has close to constant […]

The post “Dynamically Rescaled Hamiltonian Monte Carlo for Bayesian Hierarchical Models” appeared first on Statistical Modeling, Causal Inference, and Social Science.

Against Winner-Take-All Attribution

This is the anti-Wolfram. I did not design or write the Stan language. I’m a user of Stan. Lots of people designed and wrote Stan, most notably Bob Carpenter (designed the language and implemented lots of the algorithms), Matt Hoffman (came up with the Nuts algorithm), and Daniel Lee (put together lots of the internals […]

The post Against Winner-Take-All Attribution appeared first on Statistical Modeling, Causal Inference, and Social Science.

StanCon 2018 Helsinki tutorial videos online

StanCon 2018 Helsinki tutorial videos are now online at Stan YouTube channel List of tutorials at StanCon 2018 Helsinki Basics of Bayesian inference and Stan, parts 1 + 2, Jonah Gabry & Lauren Kennedy Hierarchical models, parts 1 + 2, Ben Goodrich Stan C++ development: Adding a new function to Stan, parts 1 + 2, […]

The post StanCon 2018 Helsinki tutorial videos online appeared first on Statistical Modeling, Causal Inference, and Social Science.