Which method? Covariance and portfolios

11 min · 5 drills

In the textbook: Ch. 9 Bivariate Wahrscheinlichkeitsrechnung

Everything in this chapter is built from the same parts: variances, a covariance (“Kovarianz”) or correlation, shares (“Anteile”). The tasks differ in what of this is given and what is asked:

  • In one the covariance is unknown.
  • In another a share is unknown.
  • In a third you are only asked which equations are correct.

The same formula, V(a⋅X+b⋅Y)=a2⋅σx2+b2⋅σy2+2a⋅b⋅σxy, is used forwards, backwards and as a constraint (“Nebenbedingung”). The terms are introduced in the articles “Covariance: how two quantities move together” and “Portfolio: return and risk”.

Two tasks from the same paper. In the first, σx2=2, σy2=5, σxy=1 are given and V(3X−Y) is asked. In the second, σx2=3, σy2=8, V(2X+Y)=26 are given and σxy is asked. A student sees the same formula in both and wants to plug in the numbers straight away.

In the first, that is the whole solution: 9⋅2+5−2⋅3⋅1=17. In the second there is nothing to plug in, the covariance itself is unknown, and the formula is solved as an equation: 4⋅3+8+4σxy=26, so σxy=1.5. One formula, a different first step, chosen by what is unknown. This article teaches you to see that before calculating.

Three questions before you calculate

For the student one question settled it: what is unknown? Before any task in this chapter it pays to ask yourself three such questions. A task about two random variables is easy to mistake for a portfolio task. The questions below help you tell them apart and see what is already given.

  1. Is this a portfolio or simply two variables X and Y? You recognise a portfolio by shares, by a fixed-rate security (“festverzinslich”, interest rate r) and by the words “Rendite” (return) and “Anteil” (share).
  2. Is the covariance given or asked? Asked: you work it back from a variance or find it from a table of joint probabilities. Given: it is needed for the variance of a combination or for the optimal share.
  3. Are the shares fixed, asked, or only to be checked? Fixed shares are put in. Shares you are asked for are chosen to fit the goal. “Welche Aussagen” (which statements) and “welches Gleichungssystem” (which system of equations) ask you to compare the options; you need no number there.

The decision table

The answers to the three questions narrow the choice to one row of the table. Find in the left column what is given and what is asked; the right column names the method, and the link leads to its walk-through.

How you recognise itMethod
Variance of a combination given, covariance or correlation askedCovariance from the variance of a combination
Weights and covariance (or correlation) given, variance askedThe variance of a linear combination
Cov⁡(a⋅X+b⋅Y,c⋅X+d⋅Y)The covariance of two combinations
Table of joint probabilitiesCovariance from the joint distribution
Table of shares or amounts and expected returns, an empty cell or a target return; no variances needed, one unknown shareExpected return from the shares
Shares a1, a2 given, E(P) and V(P) askedE(P): Expected return from the shares; V(P): the formula in the section The portfolio: shares and return
“Welche Aussagen”, “wenn a0=0”Without a safe security: return and variance as functions of one share
Two stocks, no fixed-rate security, smallest varianceTwo stocks: the minimum-variance portfolio
“Welches Gleichungssystem”, “welche Lagrange-Funktion”The Lagrange equations
Fixed-rate security, target return, share as a number and smallest variance (σ2 and σ12 given)Share for a given return
One risky asset and a risk-free one, or two identical independent securities; the target variance or the portfolio risk is givenThe share without Lagrange: one stock and a safe security, or two identical stocks

Pairs that get mixed up

The decision table above picks the method, but even with the right method the answer gets lost on small things. The formulas in this chapter are so alike that one wrong letter or sign quietly changes the result.

  • Covariance or correlation. The correlation ρ lies between −1 and 1; the covariance is ρ⋅σx⋅σy. If a correlation is given, first multiply it by both standard deviations.
  • Variance or standard deviation. Variances go into the formulas. If the task text (“Angabe”) has σ=0.15, calculate with 0.0225; if σ is asked at the end, take the root.
  • The sign in 2a⋅b. For X−Y the weight is b=−1: the covariance is subtracted, although both variances are added.
  • Expected return or variance. For E(P) you take the shares to the first power, and you do not need the covariance. For V(P) the shares are squared, and the fixed-rate security does not appear in the variance.
  • Smallest variance or target return. Without a fixed-rate security you look for the vertex of the parabola of two stocks. With it the smallest variance would be 0 (everything in the safe security), so a return or a variance is given there. If two shares are unknown, you need Lagrange; if one, a single equation for E(P) or σP is enough.
  • One unknown share or two. If one share or one return is unknown, the equation for E(P) is enough and no variances are needed. If the shares with the smallest variance at a given return are asked, σ2 and σ12 are given, and you set up the Lagrange equations.
  • Independent or uncorrelated. Independent variables have covariance 0, and the mixed term drops out. If the task text says “unabhängig” (independent), you do not have to look for a covariance; the reverse does not hold: covariance zero does not yet mean independent (the example with Y=X2).

Practise recognising

The five tasks below look as alike as the student's two tasks at the start. What is wanted here is not the result but the name of the method; the sign that reveals it is in the explanation of each task.

Your turn1 of 5

A portfolio of a fixed-rate security and two stocks is to have the smallest variance at a given expected return. The options are systems of equations, and you pick the right one without solving it. Which method is asked for?

Your turn2 of 5

For X and Y you know V(X)=5, V(Y)=8 and V(X+2Y)=41. What is Cov⁡(X,Y)?

Your turn3 of 5

With V(X)=4, V(Y)=9, Cov⁡(X,Y)=−2: what is Cov⁡(3X−Y,X+2Y)?

Your turn4 of 5

A portfolio consists of 65 % of a fund with σ=0.15 and 35 % of a fund with σ=0.10; the correlation is 0.25. What is the variance of the portfolio?

Your turn5 of 5

An investor mixes a fixed-rate security with two stocks and wants an expected return of 6 % with the smallest possible variance. Which share goes to the first stock?

Now practise it

Practice exercises

Trainer · Covariance and portfolios

Practise
0/5

Was this article helpful?