Save this video free

STAT 638 (Fall 2026), Lecture 17

Samiran Sinha · 50:43 · Watch on YouTube

Part of Texas A&M University STAT 638. See all 37 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Samiran Sinha develops a Bayesian hierarchical normal model for comparing mean pain thresholds across four hair-color groups, emphasizing that assigning prior distributions to hyperparameters enables information sharing between groups. He derives Gibbs sampling conditionals for group means, population mean, within-group variance, and between-group variance, then demonstrates a 50,000-iteration R implementation using sufficient statistics and autocorrelation and trace plots for convergence diagnostics.

Key takeaways

Chapters

0:00 Hierarchical Models Share Information Across Hair-Color Groups
3:00 Three-Level Bayesian Normal Hierarchy for Group Means
6:00 Joint Likelihood and Posterior Construction
10:00 Gibbs Sampling Replaces Intractable Joint Posterior Computation
15:00 Deriving the Conditional Distribution of Between-Group Variance
19:00 Within-Group Variance Uses ANOVA-Style Sum-of-Squares Decomposition
26:00 Completing the Square for the Population Mean mu
34:00 Group-Level theta_i Updates Combine Data and Hierarchical Shrinkage
40:00 Sufficient Statistics Make Raw Individual Responses Unnecessary
45:00 R Gibbs Implementation and MCMC Diagnostic Checks

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 Sinha, Samiran: Good morning. Sinha, Samiran: So, today… Sinha, Samiran: Today's topics. Sinha, Samiran: Chapter. Sinha, Samiran: 8. Sinha, Samiran: Ida? Sinha, Samiran: Kikal Model. Sinha, Samiran: Hierarchical models. Sinha, Samiran: Okay. Sinha, Samiran: And this hierarchical model. Sinha, Samiran: Allows. Sinha, Samiran: Sharing. Sinha, Samiran: of information. Sinha, Samiran: Between.

0:51 Sinha, Samiran: groups. Sinha, Samiran: This is important. If you want to share information between groups, then you should consider the hierarchical model. Sinha, Samiran: So last time, we talked about the example, and the example was Sinha, Samiran: very fascinating, that hair color example. Hair color and the pain threshold example. We had four groups. Sinha, Samiran: four groups of four different colors, and we had a bunch of people in every group, and we recorded their pain threshold, and what we want, we want to make inference about Sinha, Samiran: The mean pain threshold for every group, okay, mean pain threshold for every group.

1:44 Sinha, Samiran: And, inference, this is one question. What are the mean threshold, mean underlying population value? And another question we want to answer, if… if… Sinha, Samiran: We want to check whether the mean underlying mean. Sinha, Samiran: Are the same means from every group are the same. Sinha, Samiran: Okay, so We talked about the general structure of the hierarchical model. Sinha, Samiran: So, suppose… Sinha, Samiran: In the i-th group, we have N sub i observations, and the underlying parameter for the i-th group is theta sub i. Sinha, Samiran: And we assume that the observations are coming from a density function, F, Sinha, Samiran: which is characterized by the parameter theta I And then.

2:40 Sinha, Samiran: On theta i, we put this model, so we assume theta 1, theta 2, theta M, M groups. Sinha, Samiran: so m parameters they are coming from another distribution call it pi theta Given.

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Samiran Sinha.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.