Finance constantly transforms random variables: prices into returns, returns into log returns, a position into its profit. For a linear change Y=aX+b the rules are exact: E[Y]=aE[X]+b and Var(Y)=a2Var(X), and a normal stays normal. Scaling a return by leverage a scales its volatility by ∣a∣ and its variance by a2; adding a constant shifts the mean and leaves the spread alone.
fY(y)=fX(g−1(y))dydg−1(y),E[g(X)]≥g(E[X])(1)
For a nonlinear transformation Y=g(X) you cannot just transform the mean. The density of Y follows the change-of-variables formula: evaluate fX at the inverse and multiply by the stretching factor ∣dx/dy∣. If X is normal, Y=eX is lognormal with density fX(lny)/y. Jensen's inequality says that for a convex g, E[g(X)]≥g(E[X]): for example E[eX]>eE[X] and E[1/X]>1/E[X] for a positive non-constant X. Averages do not commute with curved functions.
Log returns and Jensen's gapThe log return of a day is r=ln(Pt/Pt−1). Over several days the gross returns multiply but the log returns add: log returns of +0.05 and +0.07 give a total of 0.12, a gross return of e0.12=1.1275, that is +12.75%. Now let X∼N(0,0.04) be a log return. Then E[X]=0 but E[eX]=e0.02≈1.0202: the expected gross return exceeds eE[X]=1 by the Jensen gap σ2/2.
Linear: E[aX+b]=aE[X]+b, Var(aX+b)=a2Var(X).
Change of variables: fY(y)=fX(g−1(y))∣dx/dy∣.
Log returns add across time; Jensen: E[g(X)]≥g(E[X]) for convex g.
Why an average return is not a compounded returnReturns of +50% and −50% average to 0%, yet 1.5×0.5=0.75 leaves you with a 25% loss. Averaging works on the log scale: the compounded growth rate is the mean of the log returns, which is lower than the log of the mean return by about σ2/2. The more volatile an asset, the bigger the drag.
Lab · what's graded
A linear change: the mean10 pts
A linear change: the variance10 pts
Compounding log returns15 pts
Jensen's gap15 pts
Jensen with a reciprocal15 pts
The lognormal density15 pts
Why log returns20 pts
0/ 7 answered
1Numeric answer10 ptsNot answered
X has mean 1 and variance 4. Let Y=3X+2. Find E[Y].
E[Y]=accepted: ± 0.001
2Numeric answer10 ptsNot answered
With the same X (variance 4) and Y=3X+2, find Var(Y).
Var(Y)=accepted: ± 0.001
3Numeric answer15 ptsNot answered
Two days have log returns +0.05 and +0.07. What is the total compounded simple return, in percent? Give it to two decimals.
R=accepted: ± 0.01
4Numeric answer15 ptsNot answered
A log return is X∼N(0,0.04), that is, variance 0.04. Find E[eX] using E[eX]=eμ+σ2/2. Give it to four decimals.
E[eX]=accepted: ± 0.0005
5Choice15 ptsNot answered
X is positive and not constant. How do E[1/X] and 1/E[X] compare?
6Fill the blanks15 ptsNot answered
If X has density fX and Y=eX, complete the density of Y for y>0.
fY(y)=fX()⋅
7Explain in words20 ptsNot answered
In two sentences, say why log returns are convenient for returns over several periods.
Math modeKeyboard or LaTeX inputTask 1 of 7 · Ctrl ⏎ to check