Welcome to my blog

I mainly post about data analysis and applied statistics stuff, usually in R. Frequent topics include Bayesian statistics, causal inference, multilevel models, and statistical power.

Written by A. Solomon Kurz

Bayesian meta-analysis in brms-II

This is an early draft of my second attempt at explaining the connection between meta-analyses and the Bayesian multilevel model. This time, we focus on odds ratios. Enjoy!

By A. Solomon Kurz

October 16, 2020

Time-varying covariates in longitudinal multilevel models contain state- and trait-level information: This includes binary variables, too

When you have a time-varying covariate you’d like to add to a multilevel growth model, it’s important to break that variable into two. One part of the variable will account for within-person variation. The other part will account for between person variation. Keep reading to learn how you might do so when your time-varying covariate is binary.

By A. Solomon Kurz

October 31, 2019

Individuals are not small groups, II: The ecological fallacy

When people conclude results from group-level data will tell you about individual-level processes, they commit the ecological fallacy. This is true even of the individuals whose data contributed to those group-level results. This phenomenon can seem odd and counterintuitive. Keep reading to improve your intuition.

By A. Solomon Kurz

October 14, 2019

Bayesian power analysis: Part II. Some might prefer precision to power

When researchers decide on a sample size for an upcoming project, there are more things to consider than null-hypothesis-oriented power. Bayesian researchers might like to frame their concerns in terms of precision. Stick around to learn what and how.

By A. Solomon Kurz

July 24, 2019