Master medical decision-making under uncertainty
MSTA112 Medical Biostatistics โ Week 6A patient tests positive for COVID-19. The test has 85% sensitivity and 95% specificity. Should they quarantine immediately?
The answer depends on prevalence โ and might shock you. Even with a "positive" test, the probability of actually having COVID could be only 25%.
When events can't happen together (mutually exclusive):
Example: Saudi blood types: Type A = 24%, Type B = 17%
What's the probability a random patient is Type A or Type B?
When events are independent:
Example: Two patients independently tested. Each has 24% chance of diabetes.
Probability both have diabetes:
Probability of A given B has occurred:
This is the foundation of diagnostic testing โ what's the probability of disease given a positive test?
Enter test characteristics and disease prevalence to calculate predictive values.
Telling a patient "Your PPV is 25.7%" is confusing. Instead:
"Out of 10,000 people like you who test positive, about 257 actually have the disease. The other 9,743 are false alarms."
This uses natural frequencies โ the brain processes absolute numbers better than percentages.
PPV depends heavily on prevalence. A test with 99% accuracy can still have low PPV in rare diseases.
Example: Screening for a 0.1% disease with 99% Sn/Sp:
Walk through a real decision step-by-step.
A 35-year-old asymptomatic healthcare worker comes for routine screening. Community prevalence of COVID-19 is 2%.
Rapid antigen test comes back POSITIVE.
Test characteristics: Sensitivity 85%, Specificity 95%
Out of 10,000 people like this patient:
The patient has only a 1 in 4 chance of actually having COVID.
Recommended action:
Key lesson: A positive screening test in low-prevalence settings requires confirmation. This is why mass screening of asymptomatic populations is controversial.
Drag each concept to its correct medical application.
Models the number of successes in a fixed number of independent trials.
Only two possibilities: success/failure, cured/not cured, survived/died
One patient's outcome doesn't affect another's
You decide n (sample size) in advance
Each trial has the same probability p
Where:
Mean (Expected Value):
Variance:
Standard Deviation:
Calculate probabilities and visualize the distribution.
Scenario: A new smoking cessation program has a 40% success rate. You enroll 15 patients.
Solution:
You can expect about 6 patients to successfully quit, but it's not guaranteed.
Solution:
The typical variation around the mean is about 2 patients.
Solution: Use the binomial calculator above with n=15, p=0.40, k=6
The formula gives us:
Even though 6 is the expected value, the probability of getting exactly 6 is only about 21%!
The bell curve โ the most important distribution in statistics.
The "typical" range for most observations
The "reference range" in lab medicine
Beyond this โ very unusual, investigate
Standardize values to compare across different scales.
Population parameters: ฮผ = 3.2 kg, ฯ = 0.4 kg
Solution: Use ยฑ2 SD (95% range)
Normal range: 2.4 to 4.0 kg
95% of healthy newborns fall in this range
Solution: Calculate Z-score
Z = -1.0 means the baby is 1 SD below the mean.
โ Within normal range (within ยฑ2 SD). This is at the 16th percentile โ low but not alarming.
Three methods:
If data is NOT normal โ use median/IQR instead of mean/SD!
A computational technique that uses random sampling to solve complex problems that are difficult or impossible to calculate analytically.
Problem: How many ambulances needed for Hajj if emergency rate is uncertain?
Known:
Question: How many ambulances to ensure 95% coverage?
Simulation steps:
Average rate = 5 per 1,000 โ 500 ambulances
But this only covers 50% of scenarios!
โข Complex systems with multiple uncertainties
โข Risk assessment and planning
โข When exact math is intractable
โข Resource allocation under uncertainty
โข Simple problems with known formulas
โข When you need exact answers
โข Small sample sizes (unreliable)
โข When assumptions about distributions are wrong
Test your understanding. Score: 0/10