Correlation is a measure that allows evaluating the relationship between two variables. It indicates whether there is an association or dependency between them, and in which direction they move together.
- A positive correlation means that when one variable increases, the other also tends to increase.
- A negative correlation indicates that when one variable increases, the other tends to decrease.
Correlation is expressed by a coefficient ranging from -1 to 1. A value close to -1 or 1 indicates a strong correlation, while a value close to 0 indicates a weak or nonexistent correlation.