Learning Module 6_Simulation Methods
Learning Module 6_Simulation Methods
portfolio for which E(RP) − RL is largest relative to standard deviation minimizes P(RP
< RL). Therefore, if returns are normally distributed, the safety-first optimal portfolio
maximizes the safety-first ratio (SFRatio), as follows:
SFRatio = [E(RP) − RL]/σP. (9)
The quantity E(RP) − RL is the distance from the mean return to the shortfall level.
Dividing this distance by σP gives the distance in units of standard deviation. When
choosing among portfolios using Roy’s criterion (assuming normality), follow these
two steps:
1. Calculate each portfolio’s SFRatio.
2. Choose the portfolio with the highest SFRatio.
For a portfolio with a given safety-first ratio, the probability that its return will
be less than RL is Normal(–SFRatio), and the safety-first optimal portfolio has the
lowest such probability. For example, suppose an investor’s threshold return, RL, is 2
percent. He is presented with two portfolios. Portfolio 1 has an expected return of 12
percent, with a standard deviation of 15 percent. Portfolio 2 has an expected return
of 14 percent, with a standard deviation of 16 percent. The SFRatios, using Equation
9, are 0.667 = (12 − 2)/15 and 0.75 = (14 − 2)/16 for Portfolios 1 and 2, respectively.
For the superior Portfolio 2, the probability that portfolio return will be less than 2
percent is N(−0.75) = 1 − N(0.75) = 1 − 0.7734 = 0.227, or about 23 percent, assuming
that portfolio returns are normally distributed.
You may have noticed the similarity of the SFRatio to the Sharpe ratio. If we sub-
stitute the risk-free rate, RF, for the critical level RL, the SFRatio becomes the Sharpe
ratio. The safety-first approach provides a new perspective on the Sharpe ratio: When
we evaluate portfolios using the Sharpe ratio, the portfolio with the highest Sharpe
ratio is the one that minimizes the probability that portfolio return will be less than
the risk-free rate (given a normality assumption).
EXAMPLE 3
Exhibit 11: Mean and Standard Deviation for Three Allocations (in
Percent)
Allocation A B C
1. Given the client’s desire not to invade the CAD800,000 principal, what is the
shortfall level, RL? Use this shortfall level to answer question 2.
Solution:
Because CAD30,000/CAD800,000 is 3.75 percent, for any return less
than 3.75 percent the client will need to invade principal if she takes out
CAD30,000. So, RL = 3.75%.
3. What is the probability that the return on the safety-first optimal portfolio
will be less than the shortfall level?
Solution:
To answer this question, note that P(RB < 3.75) = Normal(−0.90625). We can
round 0.90625 to 0.91 for use with tables of the standard normal CDF. First,
we calculate Normal(−0.91) = 1 − Normal(0.91) = 1 − 0.8186 = 0.1814, or
about 18.1 percent. Using a spreadsheet function for the standard normal
CDF on −0.90625 without rounding, we get 0.182402, or about 18.2 percent.
The safety-first optimal portfolio has a roughly 18 percent chance of not
meeting a 3.75 percent return threshold. This can be seen in the following
graphic, in which Allocation B has the smallest area under the distribution
curve to the left of 3.75 percent.
0.10
Target Return = 3.75%
0.08
B
0.06
0.04 C
0.02 A
0
–80.3 –56.3 –32.3 –8.3 15.8 39.8 63.8 87.8
Percent
Several points are worth noting. First, if the inputs were slightly different,
we could get a different ranking. For example, if the mean return on B
were 10 percent rather than 11 percent, Allocation A would be superior to
B. Second, if meeting the 3.75 percent return threshold were a necessity
rather than a wish, CAD830,000 in one year could be modeled as a liability.
Fixed-income strategies, such as cash flow matching, could be used to offset
or immunize the CAD830,000 quasi-liability.
© CFA Institute. For candidate use only. Not for distribution.
Portfolio Risk Measures: Applications of the Normal Distribution 171
In many investment contexts besides Roy’s safety-first criterion, we use the normal
distribution to estimate a probability. Another arena in which the normal distribution
plays an important role is financial risk management. Financial institutions, such as
investment banks, security dealers, and commercial banks, have formal systems to
measure and control financial risk at various levels, from trading positions to the overall
risk for the firm. Two mainstays in managing financial risk are value at risk (VaR) and
stress testing/scenario analysis. Stress testing and scenario analysis refer to a set
of techniques for estimating losses in extremely unfavorable combinations of events
or scenarios. Value at risk (VaR) is a money measure of the minimum value of losses
expected over a specified time period (e.g., a day, a quarter, or a year) at a given level
of probability (often 0.05 or 0.01). Suppose we specify a one-day time horizon and a
level of probability of 0.05, which would be called a 95 percent one-day VaR. If this
VaR equaled EUR5 million for a portfolio, there would be a 0.05 probability that the
portfolio would lose EUR5 million or more in a single day (assuming our assumptions
were correct). One of the basic approaches to estimating VaR, the variance–covariance
or analytical method, assumes that returns follow a normal distribution.
QUESTION SET
A B C D
1. Address the following questions (assume normality for Parts B and C):
A. Allocation A
B. Allocation B
C. Allocation C
Solution:
B is correct. Allocation B has the highest safety-first ratio. The threshold
return level, RL, for the portfolio is GBP90,000/GBP2,000,000 = 4.5 percent;
thus, any return less than RL = 4.5% will invade the portfolio principal. To
compute the allocation that is safety-first optimal, select the alternative with
the highest ratio:
_ [ E(RP
− RL ) ]
σ P
.
6.5 − 4.5
Allocation A = _
8.35 = 0.240.
7.5 − 4.5
Allocation B = _
10.21 = 0.294.
8.5 − 4.5
Allocation C = _
14.34 = 0.279.
© CFA Institute. For candidate use only. Not for distribution.
References 173
REFERENCES
Roy, A. D. 1952. “Safety First and the Holding of Assets.” Econometrica20 (3): 431–49.
10.2307/1907413
© CFA Institute. For candidate use only. Not for distribution.
174 Learning Module 5 Portfolio Mathematics
PRACTICE PROBLEMS
1. An analyst produces the following joint probability function for a foreign index
(FI) and a domestic index (DI).
The covariance of returns on the foreign index and the returns on the domestic
index is closest to:
A. 26.39.
B. 26.56.
C. 28.12.
© CFA Institute. For candidate use only. Not for distribution.
Solutions 175
SOLUTIONS
1. B is correct. The covariance is 26.56, calculated as follows. First, expected returns
are
E(RFI) = (0.25 × 25) + (0.50 × 15) + (0.25 × 10)
Cov(RFI,RDI) = ∑
∑ P(RFI,i )(RFI,i
, RDI,j )(RDI,j
− E RFI )
− E RDI
i j
LEARNING MODULE
6
Simulation Methods
by Kobor Adam, PhD, CFA.
Adam Kobor, PhD, CFA, at New York University Investment Office (USA)
LEARNING OUTCOMES
Mastery The candidate should be able to:
INTRODUCTION
The understanding and application of probability distributions is a critical component
1
of forecasting financial variables and asset prices. This learning module provides a
foundation for understanding important concepts related to probability distributions.
Regarding the application of probability distributions, this learning module explains
how to construct and interpret a Monte Carlo simulation analysis. Bootstrapping,
with some similarities to Monte Carlo simulations, is also demonstrated to illustrate
the use and application of this statistical sampling approach.
120
100
80
60
40
20
0
–28.76 –18.58 –8.41 1.76 11.93 22.1 32.27 42.45
Yearly Returns (%)
Histogram Normal Fit
B. Lognormal PDF
120
100
80
60
40
20
0
0.75 0.86 0.98 1.09 1.21 1.32 1.44 1.55
Asset Values 1 Year Later (USD 1 Initial Investment)
Histogram Lognormal Fit
The expressions for the mean and variance of the lognormal variable are challenging.
Suppose a normal random variable X has expected value μ and variance σ2. Define Y
= exp(X). Remember that the operation indicated by exp(X) or eX (where e ≈ 2.7183)
is the opposite operation from taking logs. Because ln Y = ln [exp(X)] = X is normal
(we assume X is normal), Y is lognormal. What is the expected value of Y = exp(X)?
A guess might be that the expected value of Y is exp(μ). The expected value is actually
exp(μ + 0.50σ2), which is larger than exp(μ) by a factor of exp(0.50 σ2) > 1. To get some
insight into this concept, think of what happens if we increase σ2. The distribution
spreads out; it can spread upward, but it cannot spread downward past 0. As a result,
the center of its distribution is pushed to the right: The distribution’s mean increases.
The expressions for the mean and variance of a lognormal variable are summarized
below, where μ and σ2 are the mean and variance of the associated normal distribution
(refer to these expressions as needed, rather than memorizing them):
■ Mean (μL) of a lognormal random variable = exp(μ + 0.50σ2).
© CFA Institute. For candidate use only. Not for distribution.
Lognormal Distribution and Continuous Compounding 181
EXAMPLE 1
Closing Price
Day (Indonesian rupiah, IDR)
Monday 6,950
Tuesday 7,000
Wednesday 6,850
Thursday 6,600
Friday 6,350
ln(7,000/6,950) = 0.007168.
ln(6,850/7,000) = −0.021661.
ln(6,600/6,850) = −0.037179.
ln(6,350/6,600) = −0.038615.
Sum = −0.090287.
Mean = −0.022572.
Variance = 0.000452.
3. Discuss why it may not be prudent to use the sample mean daily return to
estimate the expected continuously compounded annual return for Astra.
Solution:
Four daily return observations are far too few to estimate expected returns.
Further, the variability in the daily returns overwhelms any information
about expected return in a series this short.
We have shown that the distribution of stock price is lognormal, given certain
assumptions. Earlier we gave bullet-point expressions for the mean and variance of
a lognormal random variable. In the context of a stock price, the μ ˆ and ˆ
σ 2 in these
expressions would refer to the mean and variance of the T horizon, not the one-period,
continuously compounded returns compatible with the horizon of PT.
final and average stock prices. Note that the simulated final price distribution is wider
than the simulated average price distribution. Also, note that the contingent claim’s
value depends on the difference between the final and average stock prices, which
cannot be directly inferred from these histograms.
200
150
100
50
0
16.0 20.7 25.5 30.2 34.9 39.7 44.4
Stock Price (USD)
Average Stock Price Final Stock Price
Finally, Panel C shows the histogram of the contingent claim’s simulated payoffs. In
654 of 1,000 total trials, the final stock price was less than or equal to the average price,
so in 65.4 percent of the trials the contingent claim paid off zero. In the remaining
34.6 percent of the trials, however, the claim paid the positive difference between the
final and average prices, with the maximum payoff being USD 11.
The process flowchart in Exhibit 5 shows the steps for implementing the Monte
Carlo simulation for valuing this contingent claim. Steps 1 through 3 of the process
describe specifying the simulation; Steps 4 through 6 describe running the simulation.
The mechanics of implementing the Monte Carlo simulation for valuing the contingent
claim using the six-step process are described as follows:
1. Specify the quantity of interest in terms of underlying variables. The quan-
tity of interest is the contingent claim value, and the underlying variable
is the stock price. Then, specify the starting value(s) of the underlying
variable(s).
We use CiT to represent the value of the claim at maturity, T. The subscript
i in CiT indicates that CiT is a value resulting from the ith simulation trial,
each simulation trial involving a drawing of random values (an iteration of
Step 4).
2. Specify a time grid. Take the horizon in terms of calendar time and split it
into a number of subperiods—say, K in total. Calendar time divided by the
number of subperiods, K, is the time increment, Δt. In our example, calen-
dar time is one year and K is 12, so Δt equals one month.
3. Specify the method for generating the data used in the simulation. This step
will require that distributional assumptions be made for the key risk factors
that drive the underlying variables. For example, stock price is the under-
lying variable for the contingent claim, so we need a model for stock price
movement, effectively a period return. We choose the following model for
changes in stock price, where Zk stands for the standard normal random
variable:
ΔStock price = (μ × Prior stock price × Δt) + (σ × Prior stock price × Zk).