The set-up PhD candidate Huaiyu Liu recently reached out with a question about how to analyze clustered data. Liu’s basic setup was an experiment with four conditions. The dependent variable was binary, where success = 1, fail = 0.
tl;dr You too can make model diagrams with the tidyverse and patchwork packages. Here’s how.
Diagrams can help us understand statistical models. I’ve been working through John Kruschke’s Doing Bayesian data analysis, Second Edition: A tutorial with R, JAGS, and Stan and translating it into brms and tidyverse-style workflow.
[edited Apr 21, 2021]
tl;dr You too can make sideways Gaussian density curves within the tidyverse. Here’s how.
Here’s the deal: I like making pictures. Over the past several months, I’ve been slowly chipping away1 at John Kruschke’s Doing Bayesian data analysis, Second Edition: A tutorial with R, JAGS, and Stan.