Arm
My solutions to the exercises in "Data Analysis Using Regression and Multilevel/Hierarchical Models" by Andrew Gelman and Jennifer Hill
Install / Use
/learn @IamGianluca/ArmREADME
Solution to the problems in 'Data Analysis Using Regression and Multilevel/Hierarchical Models'
This is an attempt to solve all exercises included in the book 'Data Analysis Using Regression and Multilevel/Hierarchical Models' by Andrew Gelman and Jennifer Hill. The authors didn't provide a solution to most of the exercises, although for some of them you can find other solutions in some repositories in the web space (including GitHub). This is my way to thank the authors for the wonderful work they did. This book deserves more credit and I would suggest to any of you to read it and attempt your own solutions to the exercises.
I decided to use R on my solutions because libraries for doing multilevel modelling in Python are not yet mature. This shouldn't worry to much existing Python users; you should instead take this as an opportunity to learn R. I'm a long time user of both R and Python and I love them both. They both have strenghts and weaknesses.
The data for all the problems can be found at this URL: http://www.stat.columbia.edu/~gelman/arm/examples/
If you don't agree with one or more of the solutions I published, please feel free to send a pull request.
Related Skills
claude-opus-4-5-migration
83.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
339.5kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
feishu-drive
339.5k|
things-mac
339.5kManage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database)
