Part I · Quantitative Foundations
Module 02. Probability & Simulation: DGPs, LLN and Sampling
Replace proofs with simulation: write data generating processes and watch statistical laws appear.
Public health: simulating a patient cohort and its comorbidities about 6 hours3 lessons
Module progress0/3 lessons · 0%
Lessons
2.1
Data Generating Processes and Distributions
- · Define a data generating process (DGP) and explain why simulation replaces proofs in this course
- · Simulate continuous and discrete variables with NumPy and scipy.stats
- · Distinguish a population parameter from a sample statistic
120 min 5 Colab cellsVideo coming soon
2.2
Law of Large Numbers, Sampling Distributions and Confidence Intervals
- · Show by simulation that sample means converge to the population mean (LLN)
- · Build a sampling distribution and read the standard error off it
- · See the Central Limit Theorem at work on a skewed variable
120 min 6 Colab cellsVideo coming soon
2.3
Conditional Probability: the Precursor to Confounding
- · Compute conditional probabilities from data with grouped aggregations
- · Test whether two variables are independent
- · Simulate a world where age drives both treatment and outcome
120 min 6 Colab cellsVideo coming soon