Blog

All posts, sorted from newest to oldest.

Posts

`data.table` vs. `base` vs. `dplyr`

Sample Size Calculations in `R`: Money vs. Power

Consistent figures in Quarto

What to do with age? Linear, Discrete, Both, or Spline

Directed Acyclic Graphs

Prior Predictive Checks with `marginaleffects` and `brms`

Distribution regression in R

Notes on Hainmueller, Mummolo & Xu: How Much Should we Trust Estimates from Multiplicative Interaction Models?

Which `R` packages do scientists use?

Distribution-Free Prediction Intervals with Conformal Inference using `R`

Staggered Difference-in-Differences with Two-Way Fixed Effects and Interactions

Analyzing data in the terminal with vim and byobu

Regression adjustment in experiments

Simulation-based power calculations and model assessment with R and DeclareDesign

Frontdoor adjustment for causal inference: A primer with examples in `R`

Making Sense of Sensitivity: Extending Omitted Variable Bias

Marginal Structural Models: A Simulation With `R` and `data.table`

Is Dunning-Kruger a statistical artefact?

Rowwise operations with data.table

Nesting with data.table and tidyverse

Statistical Rethinking 2 with Stan and the tidyverse

Event-study DiD with staggered treatment design