STAT 638 (Fall 2026), Lecture 1
Overview
Samiran Sinha introduces STAT 638 as an applied Bayesian analysis course, outlining its hybrid format, assessment plan, and group project: a reproducible R Markdown report and presentation worth 45% of the grade. The first lecture contrasts Bayesian and frequentist inference, derives Bayes’ rule, applies it to a COVID-19 testing example, and reviews discrete and continuous random variables and their distributions.
Key takeaways
- Bayesian inference combines a likelihood from the observed data with a prior distribution to produce a posterior distribution for unknown parameters.
- In the COVID-19 example, 10% prevalence, 90% sensitivity, and a 5% false-positive rate yield a 13.5% overall positive-test probability and a 66.67% infection probability after a positive result.
- STAT 638’s group project is worth 45% of the grade and requires a reproducible R Markdown report capped at 2,500 main-text words, plus a live presentation and individual questions.
- Quizzes and the exam are timed, open-book, not open-internet, and unproctored; each is available in Canvas for 24 hours starting at 6 a.m., but the timer begins when a student starts.
- For discrete random variables, probabilities and expectations use sums; for continuous variables, probabilities over intervals and expectations use integrals.
Chapters
- STAT 638 has an on-campus 600 section and an online 700 section, with identical syllabi and recorded class meetings.
- The class meets Monday, Wednesday, and Friday from 10:20 to 11:10; Sinha lists office hours on Monday and Wednesday, 11:30 to 12:30, in person and on Zoom.
- The course covers Bayesian models, prior and posterior distributions, uncertainty quantification, and computational methods; the prerequisite is STAT 630 or equivalent.
- The optional text is Peter D. Hoff’s A First Course in Bayesian Statistical Methods, available through the library.
- Grades include four quizzes, one exam, and a project; practice homework is provided but is neither collected nor graded.
- Quizzes and the exam are timed, open-book, not open-internet, and unproctored, with a 24-hour Canvas availability window beginning at 6 a.m.
- Once a quiz or exam starts, its timer runs for the allotted duration, and Canvas rejects submissions after the timer or availability window closes.
- The exam is scheduled for November 6 and covers material through November 3; project presentations are tentatively scheduled for November 23, November 30, December 2, and December 3.
- The project is worth 45% of the course grade: 25% for the written report, 10% for the presentation, and 10% for individual question-and-answer performance.
- Groups of 3 or 4 students conduct a complete Bayesian analysis of real data, formulate a scientific question, extend the analysis, and compare it with an appropriate alternative method.
- The report must be an R Markdown file that produces HTML, with a 2,500-word main-text limit excluding references, figures, tables, captions, supplementary material, and the AI statement.
- Analysis code must be included for reproducibility; routine code should be hidden, collapsible, or placed in an appendix outside the word count.
- Students seeking cross-section teammates should post their full name and preferred contact email to the Canvas discussion board by August 28.
- Sinha plans 12 distinct project topics and aims to form groups across the 600 and 700 sections rather than solely around existing friendships.
- Generative AI may assist with coding, debugging, mathematical statistics, and writing, but each group remains responsible for correctness and should revise AI-generated prose in its own voice.
- Each group gets 8 minutes to present, followed by question and answer; students are questioned individually rather than only as a group.
- Class lectures are recorded and posted on YouTube, where captions are made available to support review.
- Canvas contains lecture materials, old exams from 2024 and 2025, and ungraded homework with solutions.
- Sinha uses an HTML homework-solution example to show how an R Markdown analysis can present results while keeping routine code out of the main report.
- Statistical analysis uses sample data to infer characteristics of an underlying population.
- The frequentist approach does not incorporate prior information, while Bayesian inference combines observed data with prior information about unknown parameters.
- A Bayesian workflow specifies a data-generating model and parameter priors, obtains the posterior distribution, and summarizes it with quantities such as the mean, median, or percentiles.
- Posterior computation can be difficult for some probability models, motivating specialized Bayesian computational techniques.
- For a partition of the sample space into mutually exclusive events A₁ through Aₘ, Bayes’ rule gives P(Aⱼ|B) = P(B|Aⱼ)P(Aⱼ)/P(B).
- The marginal probability in the denominator can be expanded as the sum of P(B|Aᵢ)P(Aᵢ) over the partition.
- A coin toss illustrates a partition: the head and tail events are disjoint and together cover the entire sample space.
- Bayes’ rule reverses the conditioning direction, relating the probability of a hypothesis given evidence to the probability of that evidence given the hypothesis.
- The example assumes 10% COVID-19 prevalence, 90% test sensitivity, and a 5% false-positive probability among uninfected people.
- The probability of a positive result is 0.9 × 0.1 + 0.05 × 0.9 = 0.135, or 13.5%.
- Among people who test positive, the probability of infection is (0.9 × 0.1)/0.135 = 66.67%.
- The example shows why a positive result does not mean certainty of infection: posterior risk depends on prevalence as well as test accuracy.
- The tree first separates people into infected, with probability 0.1, and healthy, with probability 0.9.
- For infected people, positive and negative results have probabilities 0.9 and 0.1; for healthy people, they have probabilities 0.05 and 0.95.
- A positive result occurs along either the infected-positive branch or the healthy-positive branch, so their mutually exclusive probabilities are added.
- In the Bayes’ rule notation, a positive test is B and infection versus no infection forms the partition A₁, A₂.
- A random variable maps outcomes in a sample space to values; a discrete variable’s probability mass function assigns probabilities that sum to 1.
- For a discrete random variable, the cumulative distribution function sums probabilities up to a chosen value, and the expectation sums each value multiplied by its probability.
- A continuous variable has a probability density that integrates to 1, but the density at a single point is not itself a probability.
- Continuous probabilities come from integrating the density over an interval; expectations integrate the value multiplied by its density.
Transcript excerpt
0:01 Sinha, Samiran: All right, good morning, everyone. This is our Statistics 638 class. Sinha, Samiran: And this is a class with two sections, 600 section and 700 sections. 600 section is this on-campus part, and 700 section is the online part. So, this class is being recorded Sinha, Samiran: And… This class is being recorded. Sinha, Samiran: And everything, everything is the same. Sinha, Samiran: Only thing depends is the syllabus. If you are a 600 student, you will see the syllabus on the 600 section. If you are in a 700 section, you will see the syllabus in the 700 section, but they are identical cops. Sinha, Samiran: All right, so this is our sports information. We'll be meeting Monday, Wednesday, I forgot to write this one. Meeting days, Monday, Wednesday, Friday, okay, from 1020 to 11.10.
1:15 Sinha, Samiran: And, my office? Sinha, Samiran: Location, phone number, and this is about myself. Sinha, Samiran: teaching assistant's name is Xion Gran Wong, and his email ID is this. He will be holding office hours. Sinha, Samiran: Friday, 1 to 3 p.m. in blocker, 464A. Now, I do not know why my office hours… yeah, my office hours is Monday and Wednesday, 11.30 to 12.30 p.m. Sinha, Samiran: And it will be, in-person and Zoom, so that anyone, online students and on-campus students, can contact with you. Sinha, Samiran: Any question?
2:08 Sinha, Samiran: Catalog description of the course. Sinha, Samiran: In this course, we'll talk about Sinha, Samiran: Bayesian method, basically. Bayesian method. Why Bayesian method? What is the advantage of Bayesian method, as opposed to the standard method? Sinha, Samiran: And, Sinha, Samiran: One thing is uncertainty quantification, how you solve a problem in a Bayesian method using the likelihood function, prior distribution, posterior distribution. We'll know all those things.
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.