Correlation

Revision as of 12:54, 20 August 2026 by WikiSysopIG (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Correlation is a statistical measure of the degree to which two variables move together. In finance, correlation is commonly used to measure the strength and direction of the relationship between the returns of two assets.

The Pearson correlation coefficient is commonly used to measure linear correlation.

A correlation coefficient ranges from −1 to +1:

−1≤ρXY≤1

where:

  • ρXY=+1 indicates perfect positive linear correlation;
  • ρXY=0 indicates no linear correlation;
  • ρXY=−1 indicates perfect negative linear correlation.

Pearson correlation coefficient

For two variables X and Y, the Pearson correlation coefficient can be calculated as:

ρXY=Cov⁡(X,Y)σXσY

where:

  • ρXY = correlation coefficient;
  • Cov⁡(X,Y) = covariance between X and Y;
  • σX = standard deviation of X;
  • σY = standard deviation of Y.

For a sample of observations, the correlation coefficient can also be written as:

rXY=∑i=1n(xi−x¯)(yi−y¯)∑i=1n(xi−x¯)2∑i=1n(yi−y¯)2

where:

  • xi and yi = individual observations;
  • x¯ and y¯ = sample means;
  • n = number of observations.

Positive correlation

Two variables have positive correlation when they tend to move in the same direction.

For example, if the returns of two assets generally increase and decrease together, their correlation may be positive.

A simplified relationship is:

ρXY>0⇒X↑ is generally associated with Y↑

Positive correlation does not necessarily mean that one variable causes the other to change.

Negative correlation

Two variables have negative correlation when they tend to move in opposite directions.

A simplified relationship is:

ρXY<0⇒X↑ is generally associated with Y↓

A correlation of −1 represents perfect negative linear correlation.

Zero correlation

A correlation coefficient of zero indicates the absence of a linear relationship between two variables:

ρXY=0

Zero correlation does not necessarily mean that the variables are completely unrelated. They may have a nonlinear relationship that is not captured by the Pearson correlation coefficient.

Correlation in finance

Correlation is important in portfolio management because the relationship between asset returns affects overall portfolio risk.

For a two-asset portfolio, portfolio variance can be expressed as:

σp2=w12σ12+w22σ22+2w1w2σ1σ2ρ12

where:

  • σp = portfolio standard deviation;
  • w1,w2 = portfolio weights;
  • σ1,σ2 = standard deviations of the two assets;
  • ρ12 = correlation between the assets.

The correlation term affects the amount of diversification achieved by combining the assets.

Correlation and diversification

When two assets have a correlation below +1, combining them can potentially reduce portfolio volatility relative to holding the assets independently in the same proportions.

The strongest diversification benefit from correlation alone occurs when the correlation approaches −1.

A simplified relationship is:

ρ12↓⇒Potential Diversification Benefit↑

However, the actual effect on portfolio risk also depends on asset weights and individual asset volatilities.

Correlation matrix

A correlation matrix displays the pairwise correlations among multiple assets or variables.

For three assets, a simplified correlation matrix is:

𝐑=[1ρ12ρ13ρ211ρ23ρ31ρ321]

The diagonal elements are equal to 1 because each variable is perfectly correlated with itself.

Correlation is symmetric:

ρij=ρji

Correlation and covariance

Correlation is closely related to covariance.

Covariance measures the direction in which two variables tend to move together but is dependent on the scale of the variables.

Correlation standardizes covariance by the standard deviations of the two variables:

ρXY=Cov⁡(X,Y)σXσY

Consequently, correlation is dimensionless and always lies between −1 and +1.

Correlation and regression

Correlation and regression are related but serve different purposes.

Correlation measures the strength and direction of a linear relationship, whereas regression can be used to estimate a relationship in which one variable is modeled as a dependent variable and another as an explanatory variable.

A simplified regression model is:

Y=α+βX+ϵ

Correlation alone does not establish causation.

Correlation and beta

In finance, an asset's beta relative to a market can be expressed in terms of correlation:

βi=ρi,mσiσm

where:

  • βi = beta of asset i;
  • ρi,m = correlation between asset i and the market;
  • σi = standard deviation of the asset's returns;
  • σm = standard deviation of market returns.

Thus, correlation is one component of the relationship between an asset's volatility and its sensitivity to market movements.

Limitations

Correlation has several limitations:

  • it measures linear association when using Pearson correlation;
  • it does not establish causation;
  • historical correlation may change over time;
  • correlations can increase during periods of market stress;
  • correlation does not measure the magnitude of price movements;
  • a low correlation does not guarantee low portfolio risk.

Financial correlations are therefore commonly analyzed over different time periods and under different market conditions.

See also