Member-only story

Hierarchical Bayesian Models in R

ODSC - Open Data Science
5 min readSep 13, 2019

--

Hierarchical approaches to statistical modeling are integral to a data scientist’s skill set because hierarchical data is incredibly common. In this article, we’ll go through the advantages of employing hierarchical Bayesian models and go through an exercise building one in R. If you’re unfamiliar with Bayesian modeling, I recommend following Brandon Rohrer’s (Principal Data Scientist at IRobot) explanation expressed here, and an introduction to building Bayesian models in R here.

ODSC West 2024 tickets available now!

In-Person & Virtual Data Science Conference

October 29th-31st, 2024 — Burlingame, CA

Join us for 300+ hours of expert-led content, featuring hands-on, immersive training sessions, workshops, tutorials, and talks on cutting-edge AI tools and techniques, including our first-ever track devoted to AI Robotics!

REGISTER NOW

We commonly encounter data that is organized in a hierarchical manner. A simple toy example would be SAT scores for students in different classes, belonging to various schools. The academic rigor and teaching prowess likely differ by class and schools, so you could imagine the mean exam score will differ by class and by school.

Perhaps we’re interested in how healthy eating and exercise impact SAT scores…

--

--

ODSC - Open Data Science
ODSC - Open Data Science

Written by ODSC - Open Data Science

Our passion is bringing thousands of the best and brightest data scientists together under one roof for an incredible learning and networking experience.

Responses (1)