













Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!














We deal with three main function:
o Tells us the probability of observing a value 𝑥
o Tells us the probability of observing the values lower than 𝑥
o Tells us the quantile associated with a given probability
Distribution 𝜙 – PDF – 𝑃(𝑋 = 𝑥) Φ – CDF – 𝑃(𝑋 ≤ 𝑥)
Normal
𝑋~𝑁(𝜇, 𝜎
2
)
𝑓(𝑥) =
1
√
2 𝜋𝜎
𝑒
−
1
2
(
𝑥−𝜇
𝜎
)
2
𝐹
( 𝑋
) = ∫
1
√
2 𝜋𝜎
𝑒
−
1
2
(
𝑥−𝜇
𝜎
)
2
𝑑𝑡
𝑥
−∞
Uniform
𝑋 ~ 𝑈(𝑎, 𝑏)
𝑓
( 𝑥
) = {
1
𝑏 − 𝑎
𝑎 ≤ 𝑥 ≤ 𝑏
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
𝐹(𝑋) = {
0 𝑥 < 𝑎
𝑥 − 𝑎
𝑏 − 𝑎
𝑎 ≤ 𝑥 ≤ 𝑏
1 𝑥 > 𝑏
Binomial
𝑋
𝑖
~ 𝐵 (𝑝)
𝑃(𝑌 = 𝑘) = ( 1 − 𝑝)
𝑘− 1
∙ 𝑝
Lognormal
𝑌 ~ 𝐿𝑜𝑔𝑛(𝜇, 𝜎
2
)
𝑓
𝑌
(𝑦) =
1
√
2 𝜋𝑦𝜎
𝑒
−
1
2
(
ln 𝑦−𝜇
𝜎
)
2
𝐹
𝑌
(𝑦) = ∫ 𝑓
𝑌
𝑦
−∞
(𝑡)𝑑𝑡
Trunc Normal 𝑓
𝑌
(𝑦) =
{
0 𝑦 < 𝑎
𝜙(𝑦; 𝜇, 𝜎
2
)
Φ
( 𝑏; 𝜇, 𝜎
2
) − Φ
( 𝑎; 𝜇, 𝜎
2
)
𝑎 ≤ 𝑦 ≤ 𝑏
0 𝑦 > 𝑏
Beta
𝑌 ~ 𝐵𝑒𝑡𝑎(𝛼, 𝛽)
𝑓(𝑦) =
1
𝐵(𝛼, 𝛽)
𝑦
𝛼− 1
( 1 − 𝑦)
𝛽− 1
𝐵
( 𝛼, 𝛽
) = ∫ 𝑦
𝛼− 1
( 1 − 𝑦)
𝛽− 1
𝑑𝑦
1
0
Trunc Beta 𝑓
𝑌
(𝑦) =
{
0 𝑦 < 𝑎
𝑓
( 𝑦; 𝛼, 𝛽
)
F(𝑏; 𝛼, 𝛽) − F(𝑎; 𝛼, 𝛽)
𝑎 ≤ 𝑦 ≤ 𝑏
0 𝑦 > 𝑏
Pareto 𝑓(𝑥; 𝑥
𝑚𝑖𝑛
, 𝛼) =
𝛼𝑥
𝑚𝑖𝑛
𝛼
𝑥
𝛼+ 1
𝐹
( 𝑥; 𝑥
𝑚𝑖𝑛
, 𝛼
) = 1 − (
𝑥
𝑚𝑖𝑛
𝑥
)
𝛼
Generalized
Pareto
𝑔
( 𝑥; 𝜉, 𝜎, 𝑥
𝑚𝑖𝑛
1
𝜎
( 1 +
𝜉(𝑥 − 𝑥
𝑚𝑖𝑛
)
𝜎
)
−
1
𝜉
− 1
𝕀
{𝑥≥𝑥
𝑚𝑖𝑛
}
𝐺(𝑥; 𝜉, 𝜎, 𝑥
𝑚𝑖𝑛
)
=
{
1 − ( 1 +
𝜉(𝑥 − 𝑥
𝑚𝑖𝑛
)
𝜎
)
−
1
𝜉
𝑖𝑓 𝜉 ≠ 0
1 − 𝑒
−
𝑥−𝑥
𝑚𝑖𝑛
𝜎 𝑖𝑓 𝜉 = 0
o The skewness gives us information about the symmetry of a distribution. If the
distribution is symmetric, all the odd moments of the distribution are nil.
Analytically, the third moments is:
𝑋 – 𝜇
𝜎
3
1
𝑛
𝑥
𝑖
𝜎
̂
3
𝑛
𝑖= 1
o The fourth moment gives us information about the heaviness of the tails of a
distribution. The higher the kurtosis is, the heavier are the tails. The kurtosis of a
normal random variable is always 3, regardless of the value of means and
variance. When the kurtosis is grater that 3, the distribution is said to be
leptokurtic. Analytically:
𝑋 – 𝜇
𝜎
4
1
𝑛
𝑥
𝑖
𝜎̂
4
𝑛
𝑖= 1
3. Monte Carlo Estimator Properties: Consistency
The estimator 𝐼
𝑛
is also consistent, which means that it tends to a finite value as the
sample size increases. Formally, an estimator is consistent if:
lim
𝑛→∞
𝑛
The consistency of 𝐼
𝑛
follows directly from the law of large number, which is applicable
here because we are dealing with a random variable. We know that:
And that:
𝑛
𝑖
𝑛
𝑖= 1
Which is the sample mean of 𝑛 i.i.d. random variables. Thus, for 𝑛 that tends towards
infinity, the variance tends to zero and 𝐼
𝑛
4. Monte Carlo Estimator Properties: Asymptotic Normality
The theorem that ensures the estimator 𝐼
𝑛
is asymptotically normal is the central limit
theorem. Which means that:
𝑛
𝑛
𝑛
𝑛
𝑛
𝑛
𝑛
𝑛→∞
Because the variance of ℎ(𝑥) is unknown, we need to estimate it. For this purpose:
2
2
𝑛
𝑖= 1
Where: ℎ
1
𝑛
𝑖
𝑛
𝑖= 1
The desirable result from this asymptotic property is the possibility of having a
confidence interval for the real value 𝐼:
𝑛
1 −
𝛼
2
𝑛
1 −
𝛼
2
5. How to Select the Auxiliary Distribution
The choice of the auxiliary distribution is quite a complex matter and a lot of literature
have been produced regarding this problem. We will here report an intuitive dissertation
on how to select an appropriate g function. Let us recall the variance formula:
𝑔
𝑛
𝑔
The idea, therefore, is that 𝑔 should be as similar as possible to 𝑓. In general, then, the
rule is to choose an auxiliary function which is very similar, on the support, to the initial
function f for which we want to determine the integral.
6. How to Decide the Sample Size
We want the estimator to be as precise as possible, i.e. we want its variance to be as smallest
as possible. If we define an upper bound 𝑑 to our estimator standard deviation, we can
derive the associated sample dimension 𝑛, that will ensure this level of precision.
We will choose the sample size ensuring:
𝜎
2
𝑛
2
𝜎
𝑑
2
7. Warnings on Monte Carlo Estimator - Monte Carlo estimator provides an unbiased estimate for the integral, if the integral exists.
The unbiased property might not be evident in case of particularly skewed distribution. Let
us recall that the skewness is the third moment of the distribution. In case of distributions
markedly skewed, the sample size required to appreciate the unbiasedness of Monte Carlo
estimator can be dramatically large.
Monte Carlo estimator is not precise. This could happen when the parameters of the
distribution are large, and thus the integral is very large.
means of Monte Carlo simulation exists. If not, we end up with a result that makes no
sense, because we obtain something that simply does not exist.
8. Importance of sampling
Sampling is a crucial phase in the Monte Carlo method, as the effectiveness of the
estimates obtained depends directly on the quality of the generated samples. In
particular, when we want to:
we can resort to a technique called Importance Sampling.
Importance Sampling consists of modifying the distribution from which samples are
drawn, by choosing one that:
the areas where the function contributes most to the expected value).
In practice, instead of sampling from the original distribution 𝑓(𝑥), we sample from an
alternative distribution 𝑔(𝑥) (called the importance distribution) and correct the
estimate by applying a weight 𝑓(𝑥)/𝑔(𝑥) to each sample.
This method can be used also in option pricing. For example, when comes to estimate
the current value of a call option, MC estimator would provide the simulation of 𝑁
possible path for the underlying price, and then determining the option price as the
discounted mean payoff. Considering a call option, the payoff is determined as:
𝑇
Where 𝑆
𝑇
is the final simulated value for the underlying and 𝐾 is the strike. Importance
sampling allows to have a higher number of observation greater than 𝑆
𝑇
at maturity,
increasing the precision of the estimates.
11. The Congruential Generator
Congruential generating method produces a series of pseudo-random uniform random
variable by means of the following system:
𝑛
𝑛− 1
𝑛
𝑛− 1
𝑛− 1
The variable 𝑚 is called the modulus, 𝑎 the multiplier and 𝑐 is the increment, while 𝑥
0
is the seed (starting value). The sequence of 𝑛 value obtained are lower or equal to 𝑚
thus, by dividing them by the period we obtained a sequence constrained between 0- 1.
12. Discrete Random Variables: Inverse Distribution Function
To generate 𝑋, we generate a uniform random number 𝑈 from the (0, 1) uniform
distribution, then we look where this random number is with respect to the probability
coefficient of the discrete random variable that we want to simulate. Thus, we set:
Thus, we have:
𝑗
𝑗
𝑗− 1
𝑗
𝑖
𝑗− 1
𝑖= 0
𝑖
𝑗
𝑖= 0
𝑖
𝑗
𝑖= 0
𝑖
𝑗− 1
𝑖= 0
𝑗
Therefore: 𝑋 = 𝑥
𝑗
𝑗− 1
𝑗
), and applying the inverse: 𝑥
𝑗− 1
− 1
𝑗
13. Discrete Random Variables: Acceptance-Rejection Method
Suppose that we are interested in estimating a distribution 𝑋 having a probability mass
function {𝑝
𝑗
, 𝑗 ≥ 0 }, and that we have an efficient algorithm to simulate a random variable
𝑌 having a probability mass function of {𝑞
𝑗
, 𝑗 ≥ 0 }. Let set 𝑐 such:
𝑗
𝑗
𝑗
𝑗
𝑗
We can simulate the values of 𝑋 having a probability mass function 𝑝
𝑗
= 𝑃(𝑋 = 𝑗) by
means of the following passages:
𝑗
𝑝 𝑌
𝑐𝑞
𝑌
, set 𝑋 = 𝑌, otherwise start again from point 1.
14. Continuous Random Variables: Inverse Distribution Method
We are interested in simulating a random variable 𝑋 whose Cumulative Distribution
Function 𝐹 is known. In this case, by means of the uniform random variable 𝑈 ~ 𝑈( 0 , 1 ),
we define 𝑋 as follows: 𝑋 = 𝐹
− 1
Let 𝐹
𝑋
(𝑥) indicates the distribution 𝑋 = 𝐹
− 1
(𝑈), we need to prove that 𝐹
𝑋
Let us follow these passages:
𝑋
− 1
Where the second passage exploits the fact that the Cumulative Distribution Function
is a monotonically increasing function and the last one exploits the fact that the
cumulative probability of a uniform distribution is equal to the argument.
15. Continuous Random Variables: Acceptance-Rejection Method
Even for this method the difference between discrete and continuous world is very
small. Suppose that we dispose of a Probability Density Function 𝑔(𝑥) form which we
can easily sample from. We can use this as basis for generating a random variable from
a density 𝑓(𝑥). The idea is always the same: generating 𝑌 from 𝑔 and then accepting the
value with a probability proportional to 𝑓(𝑌)/𝑔(𝑌). Let us set c as:
The algorithm follows these steps:
𝑓(𝑦)
𝑐𝑔(𝑦)
, otherwise repeat from 1.
16. The Multivariate Normal Distribution: Definition and Properties
The multivariate normal density function in ℝ
𝑑
, 𝑑 > 1 , is the density of a random vector
𝐗 following a d-dimension multivariate normal distribution with an expected value
𝐸(𝐗) = 𝛍 and a covariance matrix 𝑐𝑜𝑣(𝐗) = 𝚺. The notation is 𝐗 ~ 𝑁(𝛍, 𝚺). The density
has the following form:
𝑑
2
⁄
det (𝚺)
1
2
⁄
−
1
2
( 𝐱−𝛍
)
′
𝚺
− 1
(𝐱−𝛍)
𝑑
𝑑
The condition of positiveness on the covariance matrix highlights the fact that it must be
positive definite, which means that the condition 𝐱
′
𝚺𝐱 > 0 holds true for every 𝐱 ∈ ℝ
𝑑
This can be interpreted as the multivariate analogous of the non-negativity requirement
of the variance in the univariate world.
Multivariate normal distribution has the following three interesting and important
properties:
distribution, i.e. for each vector 𝐰 ∈ ℝ
𝑑
, it holds that:
′
𝑖
𝑑
𝑖= 1
𝑖
′
′
19. Describe the inverse cumulative distribution function method for the simulation of
a random variable.
Discrete Random Variables
To generate 𝑋, we generate a uniform random number 𝑈 from the (0, 1) uniform
distribution, then we look where this random number is with respect to the probability
coefficient of the discrete random variable that we want to simulate. Thus, we set:
Thus, we have:
𝑗
𝑗
𝑗− 1
𝑗
𝑖
𝑗− 1
𝑖= 0
𝑖
𝑗
𝑖= 0
𝑖
𝑗
𝑖= 0
𝑖
𝑗− 1
𝑖= 0
𝑗
Therefore: 𝑋 = 𝑥
𝑗
𝑗− 1
𝑗
), and applying the inverse: 𝑥
𝑗− 1
− 1
𝑗
Continuous Random Variables
We are interested in simulating a random variable 𝑋 whose Cumulative Distribution
Function 𝐹 is known. In this case, by means of the uniform random variable 𝑈 ~ 𝑈( 0 , 1 ),
we define 𝑋 as follows: 𝑋 = 𝐹
− 1
Let 𝐹
𝑋
(𝑥) indicates the distribution 𝑋 = 𝐹
− 1
(𝑈), we need to prove that 𝐹
𝑋
Let us follow these passages:
𝑋
− 1
Where the second passage exploits the fact that the Cumulative Distribution Function
is a monotonically increasing function and the last one exploits the fact that the
cumulative probability of a uniform distribution is equal to the argument.
1. From Random Walk to Standard BM
Random walk is one of the easiest stochastic processes. In its basic formulation, it has
the following analytical form:
𝑛
𝑛− 1
𝑛
𝑛
The term 𝑧
𝑛
is called white noise, which indicates a sequence of iid random variable.
We analyze now the property of random walk. Noticing that we can substituting for 𝑦
𝑛− 1
we can express (assuming that the starting point is zero) as:
𝑛
𝑖
𝑛
𝑖= 1
A standard Brownian motion is the basic version of these family of processes and it is
what you get when simulate a random walk on shorter and shorter interval of times. A
Wiener process is denoted by 𝑊,
𝑡
We can see that the standard Brownian motion is a limit of the random walk. Consider
partitioning the interval [ 0 , 1 ] in 𝑛 subintervals each long 1 /𝑛. Note that each number 𝑡
in the interval is 0 ≤ 𝑡 ≤ 1. Analytically, for each 𝑡 ∈ [ 0 , 1 ] we have:
⌊𝑛𝑡⌋
𝑖
⌊ 𝑛𝑡
⌋
𝑖= 1
2. How to simulate a Wiener process
To simulate a Wiener process, we exploit the following formulation, which is very similar
to a random walk: 𝑊(𝑡
𝑘+ 1
𝑘
𝑡
𝑘
Where 𝑘 = 0 , 1 , … , 𝑁 and 𝑡
0
= 0 and 𝛥𝑡 = 𝑡
𝑘+ 1
𝑘
and 𝜀
𝑡
𝑘
~ 𝑁( 0 , 1 ) and 𝑊
0
3. From Standard BM to Generalized BM
Going from the standard Brownian motion to its generalized form is conceptually the
same that going from the standard normal to the normal. This means that the
parameters of the generalized Brownian motion, i.e. mean and variance, are no longer 0
and 1 respectively. We can add a mean and have a variance different from zero.
Consider:
Where 𝑊(𝑡) is a standard Brownian motion (also called Wiener process). If we integrate
over [ 0 , 𝑡], we get the solution for the generalized Brownian motion stochastic equation:
For simulation purposes, it is convenient to simulate directly the differential equation,
obviously accounting for the necessary discretization. Considered the extended
formulation, i.e. expressing the Wiener process too, we get:
𝑡
Thus, it is sufficient to simulate a normal random variables and then applying the
transformation, given that we know both 𝜇 and 𝜎.
20. Explain longstaff-schwarz method to price an American put
The Longstaff-Schwartz method for pricing an American put option:
Brownian Motion (GBM), using a lognormal distribution.
beginning:
a. At each time step, the simulated prices are reconstructed.
b. Only the in-the-money paths are selected, and for these, the discounted value of
the future payoff is computed.
c. A linear regression is performed between the prices and the discounted payoffs,
using k basis functions, to estimate the expected continuation value.
d. The expected continuation value is compared with the immediate exercise value:
o If it is more convenient to exercise, the payoff is updated with the immediate
exercise value;
o Otherwise, the discounted future payoff is retained.
average of these discounted payoffs represents the estimated value of the American
option.
21. Explain longstaff-schwarz method to price a Bermudan put option
The Longstaff-Schwartz method for pricing a Bermudan put option:
(GBM) process for the underlying asset price, and for each path, the final price at
maturity is recorded.
backward in time at predefined intervals (the exercise dates). At each of these dates:
a. Only the in-the-money paths are selected, and the present value of the
discounted future payoff is computed.
b. A linear regression is performed to estimate the expected value of continuing
to hold the option.
c. The immediate exercise value is compared with the estimated continuation
value to decide whether to exercise the option or to hold it.
back to the present time.
22. Explain lookback options
There are two type of lookback option: floating strike and fixed strike. The payoff of a lookback
option depends on the maximum or the minimum stock price during the life of the option. The
formulas for the payoffs are:
𝑇
𝐹𝐿𝑂𝐴𝑇𝐼𝑁𝐺
𝑇
𝑚𝑖𝑛
𝑇
𝐹𝐿𝑂𝐴𝑇𝐼𝑁𝐺
𝑚𝑎𝑥
𝑇
𝑇
𝐹𝐼𝑋𝐸𝐷
𝑚𝑎𝑥
𝑇
𝐹𝐼𝑋𝐸𝐷
𝑚𝑖𝑛
We will focus only on floating lookback option. To price this type of option we need to simulate
the entire path for the underlying, because we need a minimum and a maximum. The MC
estimator therefore is:
𝑡
−𝑟(𝑇−𝑡)
𝑇
𝑚𝑖𝑛
(𝑖)
𝐵
𝑖= 1
𝑡
−𝑟(𝑇−𝑡)
𝑚𝑎𝑥
(𝑖)
𝑇
𝐵
𝑖= 1
23. Explain Monte Carlo method to price a lookback (call and put) option 1. A number of asset price paths are simulated according to a Geometric Brownian
Motion (GBM), and for each path, the minimum and maximum values reached, as
well as the final price at the end of the time period, are recorded.
differences between the final price and the minimum (for the call), and between the
maximum and the final price (for the put).
prices of the lookback call and put options.
24. How is it possible to price a path-dependent option by means of Monte Carlo
simulation?
There are two type of lookback option: floating strike and fixed strike. The payoff of a lookback
option depends on the maximum or the minimum stock price during the life of the option. The
formulas for the payoffs are:
𝑇
𝐹𝐿𝑂𝐴𝑇𝐼𝑁𝐺
𝑇
𝑚𝑖𝑛
𝑇
𝐹𝐿𝑂𝐴𝑇𝐼𝑁𝐺
𝑚𝑎𝑥
𝑇
𝑇
𝐹𝐼𝑋𝐸𝐷
𝑚𝑎𝑥
𝑇
𝐹𝐼𝑋𝐸𝐷
𝑚𝑖𝑛
We will focus only on floating lookback option. To price this type of option we need to simulate
the entire path for the underlying, because we need a minimum and a maximum. The MC
estimator therefore is:
𝑡
−𝑟(𝑇−𝑡)
𝑇
𝑚𝑖𝑛
(𝑖)
𝐵
𝑖= 1
𝑡
−𝑟(𝑇−𝑡)
𝑚𝑎𝑥
(𝑖)
𝑇
𝐵
𝑖= 1
6. Describe Var & Expected Shortfall
Value at Risk: VaR is the estimate for the maximum loss in a certain time horizon ad a certain
confidence level. Analytically: 𝑃(𝐿
𝑡
1 −𝛼
) = 𝛼 or 𝑃(𝑅
𝑡
1 −𝛼
In order to determine the VaR we therefore need the distribution of the returns. The first
example considers a simplified framework in which we assume that the returns are i.i.d. and
normally distributed. In this case it is very easy to determine the VaR: 𝑉𝑎𝑅 = 𝜇 + 𝜎𝑍 𝛼
In this simple case we would not need a simulation approach as we can easily compute the value
in a closed form. Nevertheless, for explanatory purposes, the Monte Carlo method to determine
the VaR follow these steps:
𝑗
2
𝑛
} in ascending order {𝑅
1
∗
2
∗
𝑛
∗
} (from the smallest to the greatest);
𝑘
∗
, where 𝑘 = ⌊𝛼 × 𝑛⌋.
If we suppose that the sample returns follow a t-Student distribution, we would have: 𝑅
𝑡
𝑣
where 𝑣 are the degrees of freedom, the VaR is: 𝑉𝑎𝑅 = 𝜇 + 𝜎√
𝑣− 2
𝑣
Expected Shortfall:
It is defined as the expected value of the return distribution given that the return has overcame
the VaR. Analytically: 𝐸𝑆 𝛼
𝑡
𝑡
1 −𝛼
) or 𝐸𝑆
𝛼
𝑡
𝑡
1 −𝛼
In many cases is possible to determine analytically the ES but it is quite convenient also by means
of Monte Carlo simulation. ES is much more informative about the risk than the VaR.
In case of normal distribution, the formula is:
𝛼
− 1
While for the t-Student is:
𝛼
𝑣
𝑣
− 1
𝑣
− 1
2
Where 𝑔
𝑣
and 𝑡
𝑣
are the Probability Density Function and the Cumulative Distribution Function
respectively, of the t-Student.
1. Why is the generalized Pareto distribution important in Extreme Value Theory?
Given 𝑛 iid random variables 𝑋
1
𝑛
, let 𝑀
𝑛
𝑖= 1 ,..,𝑛
𝑖
The distribution of the random variable 𝑀
𝑛
comes from Extreme Value Theory (EVT).
In other words, EVT studies the fluctuation of maxima. Under EVT, there are the GPD.
The Generalized Pareto Distribution (GPD) is important in EVT because it models the
distribution of exceedances over a high threshold—that is, the values that exceed a
given extreme level. According to the Pickands–Balkema–de Haan theorem, the
distribution of exceedances converges to a GPD as the threshold increases. This makes
the GPD a fundamental tool for modeling tail risk and rare extreme events.
𝜉,𝛽,𝜃
−
1
𝜉
1 − exp
Parameters: 𝜉 (shape), 𝛽 (scale), 𝜃 (location)
a. Model the excesses as 𝑦
𝑖
𝑖
b. Estimate the GPD parameters (𝜉 and 𝛽) using Maximum Likelihood
Estimation.
1 −𝑝
𝑢
−𝜉
̂
Since the MEF of the GPD is linear, the optimal threshold is the smallest value where
the empirical function becomes approximately linear.
1. Portfolio credit risk
We will analyze the credit risk of a pool of expositions, i.e. the portfolio credit risk. We have that:
𝑖
𝑡ℎ
So that the overall default is: 𝐷 =
𝑖
𝑛
𝑖= 1
We need a probabilistic model to describe such situation. A first simplified approach is
to assume i.i.d. observation each of one distributed according to a Bernoulli: 𝐷
𝑖
In this case we have that the overall default is distributed as a Binominal:
It is easy to determine the probability of having 𝑘 default: 𝑃(𝐷 = 𝑘) = (
𝑘
𝑛
𝑘
𝑛−𝑘
We can relax the assumption of identical distribution, assuming that each observation
has its own probability of default, analytically: 𝐷
𝑖
𝑖
). In this case we have that:
𝑖
𝑛
𝑖= 1
𝑖
𝑛
𝑖= 1
𝑖
𝑖
𝑛
𝑖= 1
In this case it is still possible to produce a close form formulation but is more complex.
Removing the assumption of identical distribution is not enough, it usually necessary to
remove also the assumption of independence. This implies that we need a way to model
the dependence between observation. A way to do so is the one provided by Merton’s
model. The idea is that a client experiences a default whenever its asset value goes
below a certain threshold (in terms of log return): 𝐷
𝑖
𝑖
𝑖
𝑇
Thus, if the logs are normal:
𝑖
𝑗
2
1
2
1
2
𝑓
𝑗
−∞
𝑓
𝑖
−∞
That is, the probability can be modeled by means of a bivariate normal distribution
evaluated at (𝑓
𝑖
𝑇
𝑗
𝑇
) having a correlation matrix 𝑅. In general, when we ward off the i.i.d.
assumption, adopting a Monte Carlo simulation is mandatory if we want to obtain
coherent result.
25. Describe the algorithms for the simulation of the Poisson and compound Poisson
processes.
Poisson process:
A Poisson random variable 𝑋 with a parameter 𝜆 is a discrete random variable with the following
probability mass function:
−𝜆
𝑘
A counting process 𝑁(𝑡) is a stochastic process defined by the number of occurrences of a
random event up to time 𝑡 (including 𝑡).
A homogeneous Poisson process with parameter 𝜆 is a counting process satisfying the conditions
1
2
1
2
, random variables 𝑁(𝑡 2 ) − 𝑁(𝑡 1 ) and 𝑁(𝑠 2 ) − 𝑁(𝑠 1 ) are indep;
parameter 𝜆𝑡. This condition implies that: 𝐸(𝑁(𝑡)) = 𝜆𝑡
The simulation of a Poisson process does not require to simulate a Poisson random variable but
exploits the waiting time of adjacent events, relying on the following theorem.
Theorem: the waiting time between two events occurring in a homogeneous Poisson process
with parameter 𝜆 is an exponential random variable with parameter 𝜆.
Based on the theorem above, the simulation of a Poisson process in the interval [ 0 , 𝑇] can be
simulated implementing the following steps:
1
2
2
𝑌( 2 ) + 𝑌( 3 ), ….i.e. 𝑌(𝑖) is the time between the occurrence of events 𝑖 − 1 and 𝑖;
𝑖
𝑖
𝑗= 1
𝑖
𝑖
≤ 𝑡}, which loosely speaking,
means that equals the number of jumps (# denote the cardinality of the subset 𝑡
𝑖
Condition 4 implies that: 𝑁(𝑡
𝑖+ 1
𝑖
Which means that the magnitude of each jump is equal to 1.
The exponential distribution can be defined as:
−𝜆𝑥
Or:
−
1
𝜆
𝑥