Professional Documents
Culture Documents
1 Coin Problem
There are exactly 64350 gold coins in a chest. One of them is drawn randomly and tossed 5 times. Each
time the outcome is ”heads”.
Answer
1. For each tossing the probability of the outcome “heads” is P (”heads”) = 12 . Outcomes of consecutive
tossings are independent events =⇒ probability of 5 consecutive outcomes “heads” is P (5 ”heads”) =
1
25 .
1 1
P (counterf eit) = =
N 64350
P (5 ”heads” | counterf eit) = 1.(Obviously)
1
64350 ·1 1 1
Therefore, P = = 2011.9 ≈ 2012 .
1
(
64350 ·1+ 1− 64350
1
)· 215
3. Bayes’s formula adjusted for part (c) is as follows:
1
′
64350 1
P = 1 29 30
1 = .
64350 ·1+ 64350 ·0+ 1− 64350 · 25
2011
1
2 Probability events
For events A, B, C, C1 , C2 such that 0 < P (C) < 1 which of the following statements are true?
Answer:
3 Random Variable
Let’s assume the random variable Xt to be distributed as follows ∀t = 1...T :
1
2 if x = 1,
P[Xt = x] = 1
2 if x = −1.
Then we rewrite the sum of those independent random variables as:
t
X
Wt = Xi .
i=1
Answer:
E[Xt ] = 21 × 1 + 21 × (−1) = 0
V[Xt ] = E[Xt2 ] − E[Xt ]2
E[Xt2 ] = 12 × 12 + 21 × (−1)2 = 1, ⇒
V[Xt ] = 1 − 02 = 1
With this, we can compute the expectation and the variance of Wt .
Pt
E[Wt ] = E[ i=1 Xi ]
Pt
= i=1 E[Xi ] = 0
| {z }
Pt =0
V[Wt ] = V[ i=1 Xi ]
Pt
= i=1 V[Xi ] = t
| {z }
=1
2
4 Application
Assume a one-year Treasury bond offers a safe annual rate of return of 10%. You are about to lend $1 million
to a risky company. The loan maturity is one year. Answer:
ExpectedPayment = PaymentIfDefault*P(Default)+PaymentIfSolvent*P(Solvent)
= 750, 000 ∗ 0.5 + 1, 100, 000 ∗ 0.5
= 925, 000
925, 000
ExpectedRateOfReturn = − 1 = −7, 5%
1, 000, 000
2.
The interest rate asked is then 45% (30% default premium, 10% time premium).
1. What is your expected rate of return if you decide to charge 10%, but the company pays $750.000 in
case of default (fails to pay all that it has promised), which happens with probability of 50%, otherwise
the company is solvent (pays back the principal plus interest).
2. What is the interest rate you need to charge to break even.
Answer:
1.
+∞
Z +∞
Z
1 (x−µ)2 1 x2 +µ2 −2xµ−2σ 2 ux
ΦX (u) = E(e uX
)= √ eux e− 2σ2 dx = √ e− 2σ 2 dx
2πσ 2πσ
−∞ −∞
+∞ 2 2 +∞ 2
1
Z ( ) (
x2 −2x µ+σ 2 u + µ+σ 2 u ) (
− µ+σ 2 u +µ2 ) 1
Z
−
(x−(µ+σ2 u)) 2 2
+ µu+ σ 2u
−
=√ e 2σ 2 dx = √ e 2σ 2 dx
2πσ 2πσ
−∞ −∞
+∞ 2
σ 2 u2 1
Z (x−(µ+σ2 u)) σ 2 u2
= eµu+ 2 √ e− 2σ 2 dx = eµu+ 2 .
2πσ
−∞
| {z }
=1(integral of pdf N (µ+σ 2 u,σ 2 ))
∂Φu (x)
2. EX = ∂u |u=0 = Φx (u) × (µ + σ 2 u)|u=0 = Φx (0) ×µ = µ
| {z }
=1
3
V X = E(X 2 ) − (EX)2 . (EX)2 = µ2 . We need to compute E(X 2 ).
∂ 2 Φu (x)
E(X 2 ) = |u=0 = µ × Φx (u) × (µ + σ 2 u) + σ 2 × u × Φx (u) × (µ + σ 2 u) + σ 2 × Φx (u)|u=0
∂u2
= µ × Φx (0) × µ + σ 2 × Φx (0) = µ2 + σ 2
V X = µ2 + σ 2 − µ2 = σ 2