STAT 638 (Fall 2026), Lecture 4
Overview
Samiran Sinha develops Bayesian estimation through posterior expected loss, showing how quadratic, absolute-error, and 0-1 losses lead to the posterior mean, median, and mode. He derives the Beta-Binomial posterior and prediction formulas, examines how prior strength affects inference, explains why uniform priors are not invariant under parameter transformations, derives Jeffreys prior for a binomial probability, and closes with a Poisson blemish-count example.
Key takeaways
- The optimal Bayesian point estimate depends on the loss function: quadratic loss gives the posterior mean, absolute-error loss the posterior median, and 0-1 loss the posterior mode.
- With a Beta(A, B) prior and y successes in n Bernoulli trials, the posterior mean is a weighted average of the prior mean and sample proportion, with data weight n / (A + B + n).
- In the HRT example, 44 side effects among 100 people produce a sample estimate of 0.44, while the informative Beta(40, 20) prior moves the posterior mean to 0.525.
- A posterior predictive distribution integrates over posterior uncertainty in the parameter; substituting a single estimate is a plug-in approximation and can produce a different prediction.
- A uniform prior on a probability is not uniform on the odds scale: transforming theta to psi = theta / (1 - theta) produces density proportional to 1 / (1 + psi)^2.
- For a binomial probability, Jeffreys prior is Beta(1/2, 1/2); an improper prior may also be usable if it produces a proper posterior.
Chapters
- Samiran Sinha corrects the course schedule, identifying December 2 as the final class and noting that presentation dates change.
- Project descriptions and group assignments are available in the course modules; most groups have three students, with one group of two.
- Students are asked to contact their group members immediately, review project requirements, and begin work.
- The graduate course emphasizes self-learning, reproducible examples, and discussion-board questions, with few open-book quizzes and no regular homework.
- A Bayes point estimate minimizes expected loss calculated over the posterior distribution of the unknown parameter.
- Quadratic loss selects the posterior mean, while absolute-error loss selects the posterior median.
- Under 0-1 loss, the posterior mode is the optimal estimate; Sinha notes that medians are often useful for skewed posteriors.
- For Bernoulli data with y successes in n trials and a Beta(A, B) prior, the posterior is Beta(A + y, B + n - y).
- The posterior mean is (A + y) / (A + B + n), combining the prior mean A / (A + B) with the sample proportion y / n.
- The data weight is n / (A + B + n), so as n grows the posterior mean approaches the maximum likelihood estimate and prior influence fades.
- In the hormone replacement therapy example, 44 of 100 people report side effects, giving a sample proportion of 0.44.
- A Beta(1, 1) prior yields a posterior mean of 45 / 102, about 0.441, close to the observed proportion.
- A Beta(1, 2) prior favors lower probabilities and shifts the estimate slightly downward, while a concentrated Beta(40, 20) prior shifts it to 84 / 160, or 0.525.
- The example illustrates that prior choice has limited impact with a relatively large sample unless the prior is strongly informative.
- A posterior predictive distribution for a future observation averages its likelihood over the posterior distribution of the parameter.
- This distribution conditions on observed data and incorporates parameter uncertainty, unlike the original sampling distribution.
- A plug-in prediction instead substitutes a single estimate, such as the posterior mean, for the unknown parameter; the two approaches are generally different.
- For a future Bernoulli observation, the posterior predictive probability of success is the posterior mean of theta.
- In the HRT example with a Beta(1, 1) prior and 44 successes among 100 people, the predictive success probability is about 0.441.
- The predictive variance is about 0.2465, and plugging in the posterior mean gives the same success probability for this Bernoulli case.
- A uniform prior on the success probability theta expresses equal density over values from 0 to 1, but that uniformity does not persist under reparameterization.
- For odds psi = theta / (1 - theta), transforming a uniform theta prior gives a density proportional to 1 / (1 + psi)^2, not a uniform density.
- The Jacobian factor in the change-of-variable formula explains why a prior that seems non-informative on one scale can favor values on another scale.
- Jeffreys prior is constructed as the square root of the determinant of the Fisher information and is designed to be invariant under smooth parameter transformations.
- For a binomial observation with n trials, the Fisher information for theta is n / [theta(1 - theta)].
- Ignoring the parameter-independent factor n, Jeffreys prior is proportional to theta^(-1/2)(1 - theta)^(-1/2).
- The resulting prior is Beta(1/2, 1/2), which places greater density near 0 and 1 than a uniform prior.
- A prior is proper when its density integrates to a finite value; Beta(1/2, 1/2) is proper because both Beta shape parameters are positive.
- Jeffreys priors are not guaranteed to be proper in every model, and some may have an infinite integral.
- An improper prior can still be used when the resulting posterior is proper, since posterior summaries such as means and quantiles require a valid posterior distribution.
- Sinha introduces the Poisson distribution for count data, with probability mass function e^(-theta) theta^y / y! and rate parameter theta greater than zero.
- For a quality limit of 0.8 blemishes per square centimeter, an 11-square-centimeter sample has Poisson mean 11 × 0.8 = 8.8.
- The probability of observing at least 6 blemishes under that rate is 0.8716, calculated in R.
- For inference with n independent Poisson observations, the joint likelihood is the product of the individual Poisson probability mass functions; the lecture begins setting up this likelihood.
Transcript excerpt
0:01 Sinha, Samiran: So, in today's lecture, a few things before I start lecturing on the topic. Sinha, Samiran: Number one is I made some mistakes. Sinha, Samiran: on the syllabus. Yesterday night, I realized the dates are not appropriate. Sinha, Samiran: So I thought December 3 will be our last class. Turned out December 3 is a Thursday. Sinha, Samiran: And our redefined day is on Tuesday. Sinha, Samiran: Not Thursday. Sinha, Samiran: So, we'll have class on November 30, December 1, December 2, Sinha, Samiran: December 2 will be the last class for this course. Sinha, Samiran: Okay, so I realized that I made a mistake, I apologize to you, and I have requested to make that changes on the syllabus.
0:56 Sinha, Samiran: It is yet to be approved by the higher authority. Sinha, Samiran: And that also changes what? Our presentation day schedule. Sinha, Samiran: Okay. Another thing, as I promised earlier, that I'll be… Sinha, Samiran: Make the projects available to you on the fourth class. Sinha, Samiran: So, yes, it is now available. If you go to… modules, of the course. Sinha, Samiran: And, so… This one, 638 project updated. This is the project description. Sinha, Samiran: All projects are described there. Sinha, Samiran: And, this one is the project assignment, like, group assignment.
1:50 Sinha, Samiran: Now, the people who have, voluntarily put their names and the emails on the discussion board for my request. Thank you so much. And, most of you did it wonderful, and I also tried to honor your request. Sinha, Samiran: So, what happened… Sinha, Samiran: I put some of the groups within a particular section, but some cases, I was unable to make the restriction only to one section, so some groups have students from both sections. I cannot avoid, I could not avoid, actually.
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.