Save this video free

STAT 638 (Fall 2026), Lecture 22

Samiran Sinha · 50:27 · 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 Bayesian linear regression from its likelihood, prior, and posterior building blocks, showing how scalar and multivariate normal posteriors follow from completing the square. He then compares classical and Bayesian regression in R, explains MCMC diagnostics and posterior prediction, demonstrates a custom g-prior sampler, and introduces Bayesian model selection through posterior model probabilities and model averaging.

Key takeaways

Chapters

0:00 Bayesian Inference Foundations and Why Linear Regression Matters
4:00 Completing the Square for a Scalar Normal Posterior
8:20 Extending the Normal Update to Vector Regression Coefficients
15:00 Classical t Tests Compared with Bayesian Stan Regression
20:00 Reading Posterior Summaries, Effective Sample Size, and Trace Plots
25:00 R-hat Convergence Checks Versus MCMC Autocorrelation
29:30 Posterior Predictive Checks Across Observed Predictor Values
37:00 Simulating Predictions with brms and NUTS
40:00 Custom Gibbs Sampling for a g-Prior Regression
46:30 Bayesian Model Probabilities and Model Averaging

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

Transcript excerpt

0:01 Sinha, Samiran: Alright, so if you feel that I'm going too slow… Sinha, Samiran: Covering the material, let me know. Sinha, Samiran: And I'm saying it on record. Sinha, Samiran: The reason I'm going slow, because I want you to understand the basics. If you understand the basics. With a very simple model, then you can apply this technique to… to any complex models. Sinha, Samiran: So, just to give you some overview of what we are doing. Sinha, Samiran: is the Bayesian inference, right? Sinha, Samiran: The Bayesian inference. Sinha, Samiran: Now, it has several components, but the building blocks are the following.

1:06 Sinha, Samiran: Likelihood function. Sinha, Samiran: prior distributions. Sinha, Samiran: And that will give you the posterior distribution. Sinha, Samiran: And posterior distributions can be used for. Sinha, Samiran: Calculating different summaries. Sinha, Samiran: and posterior predictive distribution. Sinha, Samiran: distribution.

1:59 Sinha, Samiran: And. Sinha, Samiran: Posterior distribution can be used for? Sinha, Samiran: Model checking, like, marginal likelihood calculation for model checking. Sinha, Samiran: So this is the general philosophy. Sinha, Samiran: We are following. Now, we are in the linear regression part. Linear regression, why I'm spending time on linear regression? This is the basic of any regression. Sinha, Samiran: And regression is, you are making connection between the outcome variable, or the dependent variable, with a set of explanatory variables. Which could be the predictor variables, or independent variables. Sinha, Samiran: And if we understand the basic philosophy or mechanism, then we can apply this technique, linear regression technique.

2:53 Sinha, Samiran: to other models, other models where your outcome is not a numeric outcome, but it is a binary Sinha, Samiran: Or a count outcome, or a categorical outcome. Sinha, Samiran: One thing I found that some students struggle. Sinha, Samiran: For the linear model to figure out the.

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.