Skip to content
AI360Xpert
Glossary
Definition

Correlation Coefficient

Covariance rescaled by both standard deviations, giving a unit-free strength of linear relationship between minus one and one.

The Pearson correlation is ρ=Cov(X,Y)/(σXσY)\rho = \text{Cov}(X, Y) / (\sigma_X \sigma_Y), always in [1,1][-1, 1]. One is a perfect straight-line increase, minus one a perfect decrease, zero no linear relationship.

The word linear is the part that gets skipped and matters most. Correlation only detects straight-line association. Y=X2Y = X^2 over a symmetric range around zero has a correlation of exactly zero while being perfectly determined by XX. So a zero correlation is not evidence of independence, and dropping a feature because it correlates poorly with the target is a good way to discard something genuinely predictive.

Pearson is also sensitive to outliers, since it inherits variance's squaring. When the relationship is monotonic but not straight, or the data has extreme values, Spearman's rank correlation is the more honest choice.