June 24, 2025
Tuesday
Last week we began with covering probability theory.
Today we will continue talking about conditional probability, Bayes’ Theorem, and its application.
After formal lecture, we will have an “introduction to R and Quarto” informal lecture.
P[A|B] = \frac{P[A \cap B]}{P[B]},
so long as P[B] > 0.
Algebraically equivalent,
P[A \cap B] = P[A|B] \times P[B] \ \ \ \ \ \& \ \ \ \ \ P[B] = \frac{P[A \cap B]}{P[A|B]}
Initech employees sometimes forget TPS cover sheets. In fact, those in charge claim that 30% of TPS reports are missing their cover sheet.
Milton is famous for forgetting his cover sheets – when a cover sheet is missing, Milton is the responsible employee 60% of the time.
What is the proability that a cover sheet is missing and Milton was the author?
Initech employees are also late – 40% of the employees were late during the last quarter.
Looking at individual employee records, we can see that Peter is late to work 80% of the time.
If an employee shows up late, what is the probability that the employee in question is Peter?
\text{current belief} \to \text{new evidence} \to \text{new belief}
P[A|B] = \frac{P[B|A]\times P[A]}{P[B]}
P[A|B] = \frac{P[B|A]\times P[A]}{P[B]}
Initech has two departments: Accounting and Engineering.
60% of TPS reports come from Accounting.
40% of TPS reports come from Engineering.
If a TPS report is found without a cover sheet, what is the probability that Milton was the author?
Your turn!
If a TPS report is found without a cover sheet, what is the probability that Peter was the author?
No additional homework than what was in the slides from last week.
This is “only” the first portion of class today.
We will take a 15 minute break, then return for an Introduction to R, RStudio, and Quarto.
STA6349 - Applied Bayesian Analysis - Summer 2025