Save this video free

STAT 638 (Fall 2026), Lecture 8

Samiran Sinha · 49:36 · 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 Monte Carlo integration as a practical way to estimate posterior quantities and predictive distributions from posterior draws, then demonstrates how to summarize uncertainty and check model fit. Examples include a phone-battery lifetime model, where the estimated probability of lasting beyond 43,800 hours has posterior mean 0.312 and a 95% credible interval of 0.12 to 0.558, and a Poisson hospital-arrivals model with a Gamma(1,1) prior, where posterior predictive probabilities are compared with plug-in estimates and observed-data summaries.

Key takeaways

Chapters

0:00 From Battery-Lifetime Posteriors to Monte Carlo Integration
3:09 Central Limit Theorem, Monte Carlo Error, and Posterior-Mean Intervals
6:20 Battery-Life Probability: Posterior Summaries and a 95% Credible Interval
16:56 Posterior Predictive Distributions: Future Outcomes and Parameter Uncertainty
20:48 Simulating Battery Lifetimes from the Posterior Predictive Distribution
29:23 Gamma–Poisson Conjugacy and Predictive Probabilities for Hospital Arrivals
38:22 Posterior Predictive Checks Test the Poisson Assumption
42:35 Comparing Observed Counts with Predictive Summaries
47:20 Direct Predictive Simulation and the Next Lecture

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

Transcript excerpt

0:07 Sinha, Samiran: Alright, so today's topics… We'll talk about Monte Carlo integration. Sinha, Samiran: And different applications. Sinha, Samiran: If time permits, then we will talk about some… Sinha, Samiran: more, more things, which is already on the Canvas module. And today, you can take your quiz anytime, okay? Sinha, Samiran: This 24 hours PDH. Sinha, Samiran: already started, 6 o'clock, it is available, 6 to 6. Okay, next day. You can take it anytime. Sinha, Samiran: So… Sinha, Samiran: This is not the material here.

1:14 Sinha, Samiran: So, we have been talking about, Sinha, Samiran: posterior inference via Monte Carlo method. Sinha, Samiran: And, Sinha, Samiran: In the last class, in the last lecture, we talked about this example, lifetimes of phone's battery. So, in that example. Sinha, Samiran: We talked about, The posterior distribution of the parameter theta. Sinha, Samiran: And that was… That was a gamma distribution with this parameter, 10 comma this. Sinha, Samiran: Okay. Sinha, Samiran: And we were interested in the posterior mean. Sinha, Samiran: Of 1 over theta.

2:04 Sinha, Samiran: So, how do you calculate that? And last time, there was a typo in my writing, so, this was not coming. So, what we said. Sinha, Samiran: Psi originally follows. Psi is 1 over theta originally follows inwards gamma distribution, and if someone has mathematical statistics knowledge. Sinha, Samiran: They can calculate, in a closed form. Sinha, Samiran: the mean of psi, but suppose I do not have that mathematical statistics knowledge. I only know the posterior distribution. Sinha, Samiran: So how do I calculate expectation of 1 over theta using Monte Carlo integration? Sinha, Samiran: So the technique I showed you, I… I drew a bunch of theta values from this posterior distribution, and I inverted every theta. Sinha, Samiran: I calculated 1 over theta, and took the mean of those observations, and that was my…

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.