Understanding Correlation Coefficients:
Key Rules and Properties Explained

GeekyRahul
Data Scientist (6+ Years of Exp.)
1. Range of Correlation Coefficient
- The correlation coefficient always lies between -1 and 1: −1≤r≤1
- r=1 → Perfect positive correlation (both variables move in the same direction).
- r=−1 → Perfect negative correlation (one variable increases while the other decreases).
- r=0 → No linear correlation (but there might be a non-linear relationship).
2. Effect of Scaling and Shifting
- Multiplying a variable by a positive constant does not change .
- Multiplying by a negative constant reverses the sign of .
- Adding or subtracting a constant to any variable does not affect .
3. Swapping Variables
- Correlation is symmetric, meaning the order does not matter.
4. Correlation and Independence
- If two variables are independent, their correlation is 0.
- However, does not mean independence—there could be a non-linear relationship.

Need project ideas? Check out our 30 Days of Python Challenge for hands-on learning!
Be a Part of our We4AI: We For Artificial Intelligence Community: