Correlation Is Not Causation
What a coefficient really claims.
What Correlation Measures
Correlation tells you how two variables move together. When one goes up, does the other tend to rise, fall, or ignore it? That pattern is all it captures. 📈
The Coefficient Range
A correlation coefficient lives between -1 and +1. Near +1 means they rise together, near -1 means one falls as the other climbs, and near 0 means almost no link.
import pandas as pd
r = df["hours"].corr(df["score"])
print(round(r, 2))All lessons in this course
- Correlation Is Not Causation
- Pearson vs Spearman
- Read a Correlation Heatmap
- Skew, Kurtosis, and Normality