Mean, variance and covariance of asset returns

Mean, variance and covariance of asset returns

Published September 28, 2026

Mean, variance and covariance of asset returns

On this page

Learning Outcome Statement

Calculate and interpret the mean, variance, and covariance (or correlation) of asset returns based on historical data.

On the exam: You get a compact historical-return table for an asset or asset pair and must calculate a requested historical measure or interpret its dispersion or co-movement.

You are turning a return history into separate questions. The mean asks what return was typical, variance asks how far an asset moved around its own mean, and covariance asks whether paired deviations tended to share a sign. That comparison matters when you judge diversification for a portfolio that must fit an IPS.

CalculationInputs and divisor
Mean returnRaw $r_i$, divide by $n$
Sample varianceSquared $(r_i-\bar r)$ deviations, divide by $n-1$
Sample covariancePaired products $(a_i-\bar r_a)(b_i-\bar r_b)$, divide by $n-1$

$r_i$ is the return in observation $i$, and $n$ counts the observations. For covariance, $a_i$ and $b_i$ come from the same observation, while a bar marks an asset's mean. The variance output is $s^2$, and the covariance output is $s_{ab}$.

Variance and covariance are measured in squared-return units. Variance is not standard deviation.

Now choose the arithmetic mean for the average. Then use the sample formulas for asset dispersion and paired movement.

$$ \bar r = \frac{r_1 + r_2 + \cdots + r_n}{n} $$

$$ s^2 = \frac{\sum_{i=1}^{n}(r_i-\bar r)^2}{n-1} $$

$$ s_{ab} = \frac{\sum_{i=1}^{n}(a_i-\bar r_a)(b_i-\bar r_b)}{n-1} $$

The mean adds each observed return and divides by $n$, so every observation has equal weight. Sample variance subtracts $\bar r$, squares each deviation, adds the results, and divides by $n-1$ because the mean was estimated from the same history. Sample covariance centers both assets, multiplies paired deviations, and divides by $n-1$, so same-sign deviations push it positive and opposite-sign deviations push it negative. Positive covariance indicates co-movement, and lower covariance generally provides greater diversification potential, subject to IPS constraints.

Worked example

You are reviewing a long-horizon pension plan's equity fund and bond fund. The plan wants to meet liabilities while preserving a diversified policy portfolio, and its IPS requires an equity and bond allocation, no leverage, and no unconstrained single-asset bet. You need the historical means, sample variances, and sample covariance before judging how the funds moved together under the strategic policy benchmark.

GivenValue
ClientLong-horizon pension plan
ObjectiveMeet liabilities, preserve diversified policy portfolio
ConstraintEquity and bond allocation, no leverage, no unconstrained single-asset bet
BenchmarkStrategic policy benchmark
Asset AEquity fund
Asset BBond fund
A returns$0.1$, $0.02$, $-0.04$
B returns$0.06$, $0.01$, $-0.02$
Observations, $n$$3$
Return conventionAnnual total, decimal, holder perspective
PairingSame historical periods

The workflow separates calculation from policy judgment. Start with returns paired by period, since covariance depends on matching each equity observation with the bond observation from the same period. Calculate each fund's mean and variance first, then use the centered pairs to assess co-movement. Finally, interpret those results against the plan objective, benchmark, and IPS limits.

Loading diagram…

The diagram ends with a policy check because historical statistics describe the observed sample; they do not set the pension plan's allocation by themselves. The next figure shows why centering matters: each fund's return is compared with its own mean, while the paired deviations retain the relationship between funds across the same three periods. Read each centered value as a distance from that fund's typical return.

  1. Add A's listed returns to create the mean numerator. The total is $0.0800$.
  2. Divide that total by $n$ because the arithmetic mean gives each observation equal weight. Asset A's mean is $\bar r_a = 0.026667$.
  3. Repeat for B so covariance will center each asset separately. Its return total is $0.0500$, and its mean is $\bar r_b = 0.016667$.
  4. Center each return on its asset's mean, square the deviations, add them, and divide by $n-1$ to measure historical dispersion. The sample variances are $0.000444$ for A and $0.000244$ for B.
  5. For covariance, multiply paired centered deviations and add the products so their signs remain visible, then divide by $n-1$. The sample covariance is $0.002833$.

A's larger sample variance shows more historical dispersion than B's, while positive covariance indicates co-movement, so the pension plan should assess both funds within the strategic policy benchmark and not replace its IPS allocation with an unconstrained single-asset bet.

Changed condition

Now change only B's first historical return. The client, objective, constraint, benchmark, and every other return stay the same.

MeasureOriginalChanged
B changed return$0.06$$0.1$
B mean, variance$0.016667$, $0.000244$$0.030000$, $0.001000$
Sample covariance$0.002833$$0.004300$

Predict the direction before calculating. A higher first return raises B's mean, moves B's observations farther from their mean overall, and makes its first centered return align more closely with A's positive centered return. The sample variance and covariance should rise, as the changed outputs show. Cover the changed column, calculate B's new mean, then predict the direction of its variance and covariance before reading on.

Common error

A candidate sees $n$ historical observations and divides the squared deviations and cross-products by $n$. It feels right because $n$ is the number of entries in the table, and the mean also uses $n$. The question gives it away when it asks for sample historical variance or covariance, because those calculations use $n-1$.

Check yourself

Practice

The summed squared deviations for Asset A are 0.0009 across n=3 observations. What is its sample variance?

Asset A's historical returns sum to 0.0800 across n=3 observations. What is its arithmetic mean return?

The sample covariance of the equity fund and bond fund is 0.002833. Which interpretation is supported?

Classify the divisor used by each calculation.

Observation countCount minus one
Arithmetic mean
Sample variance
Sample covariance

Revision snapshot

The mean return uses

$$ \bar r = \frac{r_1 + r_2 + \cdots + r_n}{n} $$

The sample variance uses

$$ s^2 = \frac{\sum_{i=1}^{n}(r_i-\bar r)^2}{n-1} $$

The sample covariance uses

$$ s_{ab} = \frac{\sum_{i=1}^{n}(a_i-\bar r_a)(b_i-\bar r_b)}{n-1} $$

Positive covariance indicates co-movement. Lower covariance generally provides greater diversification potential, subject to IPS constraints. Variance and covariance are measured in squared-return units. Variance is not standard deviation. The trap is using $n$ instead of $n-1$ for sample historical variance or covariance. On the exam, calculate the requested statistic, then interpret its sign and units.

Unlock the full lesson and continue reading

Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

Scan to download app

Scan to download
UNLOCK FREE ACCESS

Practice Questions: Mean, variance and covariance of asset returns

  1. 1. The investment committee of the Meridian Pension Fund is reviewing its active equity program. The fund's policy benchmark is a broad capitalization-weighted equity index, and all active returns and active risks in the review are measured relative to that benchmark. The committee requires performance forecasts to reflect recurring management fees but not the pension plan's internal administrative costs. Manager Alpha follows a discretionary fundamental strategy. The manager forecasts a gross active return and estimates active risk using the current portfolio's active factor and security-specific exposures. The quoted annual fee is charged as a percentage of assets under management. The committee asks the investment staff to evaluate Alpha using an expected net information ratio. The staff also evaluates a quantitative strategy. Its research team reports an information coefficient, the number of independent investment decisions expected each year, and a transfer coefficient reflecting long-only and position-size constraints. The team states that the generalized fundamental law of active management should be used, with the transfer coefficient incorporated directly into the expected information ratio. During due diligence, the staff learns that the quantitative team tested 60 combinations of signals and rebalancing frequencies using the same 12-year historical sample. It retained the specification with the highest historical information ratio. The backtest included all securities that were members of the investable universe at each historical date, used point-in-time accounting data, and imposed a one-month reporting lag. No independent holdout sample was used before the results were presented. The trading desk separately reviews a purchase order initiated by the portfolio manager. Implementation shortfall is measured against the price prevailing when the portfolio manager released the order. For a purchase, costs are reported as positive amounts. Explicit commissions and taxes are zero. Any unfilled shares canceled at the close generate an opportunity cost based on the difference between the closing price and the decision price. The committee recognizes that a strategy with attractive simulated performance may be unsuitable if constraints reduce skill transfer, fees absorb active return, or trading costs make the forecast unimplementable. It therefore asks that each component be evaluated separately rather than relying only on the reported backtest.

    • 2. Northbridge Quantitative Fund is reviewing a recently developed equity strategy before approving live capital. The research team constructed the strategy using historical constituent and price data. It tested 300 combinations of signal definitions, lookback periods, and rebalancing frequencies on the same 12-year sample. Only the combination with the highest historical information ratio was included in the presentation, and no holdout sample or out-of-sample test was performed. The database includes securities that were active at each historical date, including companies subsequently delisted. The chief risk officer asks the team to distinguish data-mining bias from survivorship and look-ahead biases. She notes that the inclusion of delisted securities reduces survivorship concerns and that signal inputs were lagged until their historical publication dates. Her principal concern is the repeated search across specifications and the decision to disclose only the strongest backtest. Figure 1 plots the strategy's cumulative wealth index through five successive evaluation dates. Maximum drawdown is defined as the largest percentage decline from a prior cumulative wealth peak to a subsequent trough before a new peak is attained. Candidates must read the relevant peak and trough directly from the plotted path rather than treating the initial index value as the reference point for every loss. The fund also executes a purchase of 40,000 shares. Exhibit 1 provides the decision price, execution price, and explicit commission. The entire order is executed immediately, so there is no delay cost, cancellation cost, or opportunity cost from unfilled shares. For a purchase, an execution price above the decision price is an adverse implicit trading cost. Finally, Northbridge monitors a one-day 99% value at risk model. An exception occurs when the realized one-day loss exceeds the reported VaR. The risk manager compares the observed annual number of exceptions with the expected number under a correctly calibrated model. She will investigate model assumptions if the observed exception frequency is materially greater than the frequency implied by the stated confidence level.

      • 3. A client routinely sells appreciated shares to secure gains but retains losing shares to avoid realizing losses. The behavior most likely reflects:

        • A. Disposition effect
        • B. Representativeness bias
        • C. Status quo bias
        Show answer

        Answer: A. Disposition effect

        Disposition effect - The disposition effect is the tendency to sell winning investments too soon while holding losing investments too long. - Selling appreciated shares to secure gains but retaining losing shares to avoid realizing losses matches that pattern. Representativeness bias - Representativeness bias means judging an investment by its resemblance to a familiar pattern rather than adequately considering other evidence. - The client’s decisions depend on whether shares have gained or lost value, not on whether they resemble a particular type of investment. Status quo bias - Status quo bias is a preference for leaving an existing decision or allocation unchanged. - The client actively sells appreciated shares while keeping losing shares, so the behavior is an asymmetric response to gains and losses rather than a general preference for inaction.

      • 4. The Republic of Arvania maintains a USD 25 billion sovereign wealth fund financed primarily by commodity-export revenue. The fund is classified as a stabilization fund rather than a savings fund. Its principal objective is to preserve capital and provide liquid support to the government budget when commodity revenue declines. Historical evidence indicates that severe commodity-price declines often coincide with weak domestic growth, falling equity markets, and urgent government withdrawals. The ministry may request up to 20% of fund assets within a single year. Although the fund has no predetermined termination date, these potentially large countercyclical withdrawals reduce its effective investment horizon and risk capacity. The investment policy limits private assets to 10% and requires at least 70% of assets to be realizable within one month without material price impact. The committee prefers the qualifying portfolio with the lowest expected volatility when multiple portfolios satisfy the formal constraints. Exhibit 1 presents three strategic portfolios prepared by staff. For its liquid equity exposure, the fund uses exchange-traded funds. A trader observes the ETF price and net asset value shown in Exhibit 2. The ETF permits in-kind creations and redemptions by authorized participants, transaction costs are assumed negligible for the arbitrage decision, and the reported NAV accurately reflects the contemporaneous value of the underlying basket. Exhibit 2 also contains execution data for a separate buy order. Implementation shortfall is measured relative to the decision price. The cost calculation includes the price impact and delay cost on executed shares plus the opportunity cost on unexecuted shares, valued using the closing price. Commissions and explicit fees are excluded. The risk office reports a one-day 95% parametric value at risk of USD 40 million for the liquid portfolio. The estimate assumes stable return distributions and correlations. The committee recognizes that VaR is a loss quantile rather than either an expected-loss measure or a maximum-loss estimate. It asks staff to interpret the figure using the stated confidence level without making claims about the average severity of losses beyond the threshold.

        • 5. Northbridge Systematic Strategies is evaluating a rules-based equity strategy before offering it to institutional clients. Portfolio manager Dev Shah reviews the backtest, expected implementation costs, and the proposed use of an exchange-traded fund for equitizing temporary cash balances. All return and cost data are annual unless otherwise indicated. The backtest reports performance before management fees and trading costs. Turnover in Exhibit 1 is explicitly measured as one-way turnover: the total value purchased, expressed as a percentage of average portfolio value. Therefore, the stated turnover should not be doubled when estimating trading costs. The cost estimate applies uniformly to each dollar traded and already incorporates commissions, bid-ask spread, and expected market impact. The benchmark return is reported on the same total-return basis as the strategy. Shah discovers that the backtest reconstructed every historical portfolio using the companies included in the benchmark index today. Firms that were acquired, delisted, or removed from the index were not included at earlier test dates. The accounting and price variables used for the remaining firms were aligned with their original public release dates, and the research team evaluated only the investment rule specified before the backtest began. For short-term cash management, Northbridge considers an ETF that holds a replicating basket of domestic equities. ETF shares may be exchanged in large creation units by authorized participants. The creation-redemption process is available without operational restrictions, and transaction costs are assumed to be smaller than the difference between the ETF's market price and its NAV. Exhibit 2 reports the ETF's intraday market price and contemporaneous NAV. Separately, Shah assesses a partially completed equity purchase using implementation shortfall. The order was released when the decision price equaled the quoted price. Of the 100,000 shares ordered, 60,000 were executed at the reported average price, and the remaining shares were canceled at the end of the day. There were no commissions or fees beyond the price effects shown. For a buy order, the shortfall includes the higher execution price on completed shares and the opportunity cost created when unexecuted shares rise above the decision price. The initial notional value is measured using the full order at the decision price.

          • 6. An adviser recommends selling a loss-making concentrated holding to reduce portfolio risk. The client refuses solely because realizing the loss feels more painful than an equivalent gain would feel pleasurable. The client's response most likely reflects:

            • A. Availability bias
            • B. Loss-aversion bias
            • C. Mental-accounting bias
            Show answer

            Answer: B. Loss-aversion bias

            Loss-aversion bias - Loss aversion means a loss feels more painful than an equivalent gain feels pleasurable, exactly as the client describes. - Refusing to sell the loss-making concentrated holding despite the adviser’s risk-reduction recommendation shows that this unequal emotional response is driving the decision. Availability bias - Availability bias involves relying too heavily on information that is vivid or easy to recall. - The client cites the pain of realizing the loss, not a memorable event or readily recalled information. Mental-accounting bias - Mental accounting involves treating money differently according to its source or an assigned account. - The client does not separate the holding into an account; the stated reason for refusing to sell is that the loss feels worse than an equivalent gain feels good.

          Flashcards: Mean, variance and covariance of asset returns

          1. 1. In Portfolio Management (Risk and Return), what is "systematic risk"?

            Show answer

            The risk that remains after diversification and cannot be diversified away (also called nondiversifiable risk or market risk).

          2. 2. In Portfolio Management (Risk and Return), what is the historical relationship between the risk and average return of major asset classes?

            Show answer

            There is a tradeoff between risk and return; asset classes with the greatest average returns (e.g., small-cap stocks) have also had the highest risk (standard deviation of returns).

          3. 3. In Portfolio Management (Risk and Return), how does the historical risk and return of small-capitalization stocks compare to Treasury bills?

            Show answer

            Small-capitalization stocks have historically had the highest average returns and greatest risk, while Treasury bills had the lowest average returns and lowest standard deviation of returns.

          4. 4. In Portfolio Management (Risk and Return), define a "risk-seeking" (risk-loving) investor.

            Show answer

            An investor who prefers more risk to less and, given two investments with equal expected returns, will choose the more risky investment.

          5. 5. In Portfolio Management (Risk and Return), what is "unsystematic risk"?

            Show answer

            The risk that is eliminated by diversification (also called unique, diversifiable, or firm-specific risk).

          6. 6. In Portfolio Management (Risk and Return), define a "risk-neutral" investor.

            Show answer

            An investor who has no preference regarding risk and is indifferent between two investments with equal expected returns regardless of their risk.

          7. 7. In Portfolio Management (Risk and Return), define a "risk-averse" investor.

            Show answer

            An investor who dislikes risk and, given two investments with equal expected returns, will choose the one with less risk.

          Everything you need for CFA prep

          Get full Oncourse access with lessons, practice questions, flashcards and AI study tools.

          GET STARTED FOR FREE
          75% OFFLimited time offer
          GET 75% OFF