~/talk

Introduction to Causal Inference

Talkat PyData NYC 2022 · 2022-11-09..11-11· [python, data-visualization]
slides:none on file

Covers practical steps: uses Jupyter notebooks to run g-computation on the LaLonde job‑training data and estimates a treatment effect near $17,000; uses the causal-curve python package to fit continuous-treatment curves for blood‑lead vs. test scores and finds roughly 20% mediation by income. Explains how confounders, colliders and mediators change estimates, lists assumptions (temporality, positivity, ignorability), and shows the models and code actually run so claimed effects are reproducible rather than just conceptual.

AI-written summary · about

  1. 0:00Causal inference intro
  2. 0:23Why causal inference matters
  3. 1:26Vitamin D to COVID-19
  4. 3:11Experiments not always possible
  5. 4:36Causal inference middle ground
  6. 5:39Causal vs ML questions
  7. 6:42Causal graphs primer
  8. 8:04Three critical causal relationships
  9. 9:06Confounders distort relationships
  10. 10:52Ice cream and crime case study
  11. 12:17Controlling confounders in practice
  12. 13:20Colliders to avoid
  13. 14:44Mediators to ignore
  14. 16:29Reality needs domain knowledge
  15. 17:54Structure learning controversial
  16. 20:39Live demo in notebooks
  17. 26:15Control confounders not mediators
  18. 26:35Variable importance fails
  19. 30:09Four key assumptions
  20. 32:33Testing assumptions with examples
  21. 35:38G computation technique
  22. 40:11G computation step-by-step
  23. 44:24Handling colliders in G
  24. 46:52G vs other methods
  25. 47:16Causal curves for treatments
  26. 50:07Lead exposure and test scores
  27. 53:13Mediation effects
  28. 54:37First steps flowchart
  29. 55:43Domain knowledge in industry
  30. 58:09Avoid p-value fishing
  31. 1:01:42Randomization gold standard
  32. 1:05:11Bayesian causal framework
  33. 1:06:26Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.