Jump to content

Variance

From Wiki@IndraStra
Revision as of 12:50, 20 August 2026 by WikiSysopIG (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Variance is a statistical measure of the dispersion of observations around their mean. It measures the average squared deviation from the mean.

In finance, variance is commonly used to measure the variability of investment returns and is an important component of volatility, portfolio risk, and portfolio theory.

Population variance

For a population of N observations, variance is defined as:

σ2=1N∑i=1N(xi−μ)2

where:

  • σ2 = population variance;
  • xi = individual observation;
  • μ = population mean;
  • N = number of observations.

The population mean is:

μ=1N∑i=1Nxi

Sample variance

When observations represent a sample from a larger population, the sample variance is commonly calculated as:

s2=1n−1∑i=1n(xi−x¯)2

where:

  • s2 = sample variance;
  • xi = individual observation;
  • x¯ = sample mean;
  • n = number of observations.

The use of n−1 provides the commonly used unbiased estimator of population variance under standard assumptions.

Variance of investment returns

In finance, variance can be calculated from a series of periodic investment returns.

A simplified formula is:

sR2=1n−1∑t=1n(Rt−R¯)2

where:

  • sR2 = sample variance of returns;
  • Rt = return during period t;
  • R¯ = average return;
  • n = number of return observations.

A higher return variance indicates greater dispersion of returns around their average.

Variance and standard deviation

Standard deviation is the square root of variance:

σ=σ2

Equivalently:

σ2=(σ)2

Variance is expressed in squared units, whereas standard deviation is expressed in the same units as the original observations.

For example, if returns are measured in percentage points, variance is expressed in squared percentage points while standard deviation is expressed in percentage points.

Alternative representation

Variance can also be expressed as the difference between the expected value of the squared variable and the square of its expected value:

Var⁡(X)=E(X2)−[E(X)]2

This identity is equivalent to the definition based on squared deviations from the mean.

Variance and covariance

Variance is a special case of covariance in which the two variables are the same:

Var⁡(X)=Cov⁡(X,X)

For two variables:

Cov⁡(X,Y)=E[(X−E[X])(Y−E[Y])]

Thus, variance measures the dispersion of one variable, while covariance measures the joint variation of two variables.

Variance and correlation

Variance is related to correlation through covariance:

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

Since:

σX=Var⁡(X)

and:

σY=Var⁡(Y)

correlation can also be written as:

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

Portfolio variance

Variance is an important measure of portfolio risk because the variance of a portfolio depends on both the variances of individual assets and their covariances.

For a two-asset portfolio:

σp2=w12σ12+w22σ22+2w1w2Cov⁡(R1,R2)

where:

  • σp2 = portfolio variance;
  • w1,w2 = portfolio weights;
  • σ12,σ22 = individual asset variances;
  • Cov⁡(R1,R2) = covariance between the two asset returns.

Using correlation, the same equation can be written as:

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

The covariance term means that portfolio risk cannot generally be determined by simply averaging the individual asset variances.

Covariance matrix representation

For a portfolio containing multiple assets, portfolio variance can be expressed using a covariance matrix:

σp2=𝐰𝖳𝜮𝐰

where:

  • 𝐰 = vector of portfolio weights;
  • 𝜮 = covariance matrix of asset returns;
  • σp2 = portfolio variance.

For a two-asset portfolio, the covariance matrix is:

𝜮=[σ12Cov⁡(R1,R2)Cov⁡(R2,R1)σ22]

Variance and diversification

Variance is central to diversification because combining assets with different covariance characteristics can reduce portfolio variance.

For two assets, the diversification effect depends partly on their correlation:

ρ12<1⇒Potential Portfolio Risk Reduction

The greatest potential reduction from correlation alone occurs when the correlation approaches −1, although the actual portfolio risk also depends on the assets' individual volatilities and portfolio weights.

Annualized variance

When returns are independently and identically distributed, variance can be scaled across time.

If the variance for one period is σp2 and there are N periods in a year:

σannual2=Nσp2

Correspondingly, standard deviation scales as:

σannual=σpN

The square-root-of-time relationship requires assumptions about the return process and should not be applied automatically to all financial time series.

Limitations

Variance has several limitations as a financial risk measure:

  • it treats positive and negative deviations equally;
  • it is sensitive to extreme observations;
  • it is expressed in squared units;
  • historical variance may not represent future variance;
  • it does not directly describe the probability of a particular loss;
  • it does not distinguish between temporary and persistent changes in risk.

Because of these limitations, variance is often considered together with measures such as Standard deviation, Value at risk, Expected shortfall, Maximum drawdown, and Downside risk.

See also