internalsGet Pro

Module 05 · Lesson 6 of 14Pro

Correlation is not causation

Level
Beginner
Topic
Probability and statistics for machine learning
Reading time
13 min

When you finish this page you can

  1. Compute a Pearson correlation by hand and in NumPy, and say what it does and doesn’t measure.
  2. Name three ways two numbers can move together without one causing the other.
  3. Shrink a misleading gap by comparing within groups of a common cause, and state what that comparison still assumes.
  4. Explain why a random held-out group measures what an action changes, and when a model only needs correlation.

Builds on 2 lessons

Start with lesson 414 min
  1. The normal distribution: why it appears everywhere14 min
  2. Expected value, variance and spread13 min

₹1,135 more per voucher, or almost none of it

is our example online store. Every Monday, Joseph’s growth team emails a ₹100 voucher to the 20,000 customers its model says are most likely to stop buying. Farah, an ML engineer, owns that model.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan