Statistics and Econometrics II Problem Set 1: Exercise 1 Law of Iterated Expectations
Statistics and Econometrics II Problem Set 1: Exercise 1 Law of Iterated Expectations
Therefore:
Z Z Z Z Z
E(U ) = ufU (u)du = ufU W (u, w)dwdu = ufU |W (u, w)fW (w)dwdu
Z Z
= ufU |W (u, w)du fW (w)dw = E (E[U |W ]) .
| {z }
E[U |W =w]
(ii) We have:
E(U W ) = E(E(U W |W )) = E(W E(U |W )).
Hence if E(U |W ) = 0 then E(U W ) = 0.
1
(a) How to deduce f from F ?
(b) What is the c.d.f. of X conditional on X > qα ? [Express it using F . Let’s denote by
Fα this conditional c.d.f.]
(a) We have f = F 0 .
We have:
P(X < x; X > qα )
Fα (x) = P(X < x|X > qα ) =
P(X > qα )
P(qα < X < x) F (x) − F (qα )
= = I{qα ≤x} .
P(X > qα ) 1 − F (qα )
(c) This p.d.f. is the first derivative (w.r.t. x) of the c.d.f. computed in the previous
function. Let us denote by fα this p.d.f.; we have:
f (x)
fα (x) = Fα0 (x) = I{qα ≤x} .
1 − F (qα )
R
(It is easily checked that fα (x)dx = 1.)
(b) In the general case (that is when E(θ̂) 6= θ), give the relationship between the expected
squared error E((θ̂ − θ)2 ), the variance of θ̂ and the expected estimator bias.
(c) If the variance of θ̂ is small, does it necessarily mean that θ̂ is a “precise” estimator of
θ?
2
(b) Dans le cas général, (c’est-à-dire quand E(θ̂) 6= θ), quelle est la relation existant entre
l’espérance de l’erreur au carré E((θ̂ − θ)2 ), la variance de θ̂ et l’espérance du biais?
(c) Si la variance de θ̂ est petite, est-il nécessairement vrai que θ̂ est un estimateur "précis"
de θ?
(a) Unbiased
(b)
Alternative method:
Because θ is not random, we have Var(θ̂) = Var(θ̂ − θ). Using the definition of
Var(θ̂ − θ), we have:
(c) No. "Precision" is driven by both the variance of the estimator and it’s expected bias.
Hence, even if the variance is low, the estimator can still be imprecise due to a strong
expected bias.
We consider an investor that buys this asset at date 0 and that keepsPit until date n. We
denote by s̄n the average of si between periods 0 and n, that is s̄n = n1 ni=1 si .
3
ν
We recall that if Z ∼ t(ν), then E(Z) = 0 and Var(Z) = for ν > 2.
ν−2
(a) How to interpret si ?
(b) Express Sn as a function of s̄n and of S0 .
√
(c) Assuming that n is large, give an approximation of the distribution of ns̄n .
√
(d) Show that P(Sn < S0 ) = P( ns̄n < 0).
(e) Propose an approximation of the probability that the investor loses money by holding
the asset between dates 0 and n (if n is large).
Nous considérons un investisseur qui achète cet actif à la date 0 et qui le garde jusqu’à
n. Nous notons s̄n la moyenne des si entre la période 0 et la période n, c’est-à-dire
la date P
s̄n = n ni=1 si .
1
ν
On rappelle que si Z ∼ t(ν), alors E(Z) = 0 et Var(Z) = ν−2
for ν > 2.
(a) Comment interpréter si ?
(b) Exprimer Sn en fonction de s̄n et de S0 .
√
(c) En supposant que n est grand, donner une approximation de la distribution de ns̄n .
√
(d) Montrer que P(Sn < S0 ) = P( ns̄n < 0).
(e) Donner une valeur approchée de la probabilité que l’investisseur perde de l’argent en
portant cet actif entre les dates 0 et n (en supposant que n est grand).
Sn Sn Sn−1 Sn−2 S1
= ...
S0 Sn−1 Sn−2 Sn−3 S0
Sn Sn Sn−1 S1
log = log + log + ... + log
S0 Sn−1 Sn−2 S0
logSn = logS0 + sn + sn−1 + ... + s1
logSn = logS0 + ns̄n
Sn = elogS0 +ns̄n
= S0 × ens̄n
4
√
(c) by CLT: n(s̄n − E(si )) ∼ N (0, Var(si ))
√ ν
⇒ n(s̄n − µ) ∼ N (0, σ 2
)
ν−2
√ √ ν
⇒ ns̄n ∼ N ( nµ, σ 2 )
ν−2
(d)
(e)
√ √ ν
ns̄n ∼ N ( nµ, σ 2 )
√ √ ν − 2
ns̄n − nµ
r ∼ N (0, 1)
2
ν
σ
ν−2
We are interested in
√
P( ns̄n < 0)
√ √
=P( n(s̄n − µ) < − nµ)
√ √ ! √ !
n(s̄ − µ) − nµ − nµ
=P q n <q =Φ q
ν ν ν
σ 2 ν−2 σ 2 ν−2 σ 2 ν−2
| {z }
has a standard
normal distribution
5
pocket i, i ∈ {0, 1, . . . , 36} is 1/37. Each player chooses one color (black or red) and gives 1$
to the Casino. If the ball lands in a compartment whose color is as bet by the player, then
the player earns 2$. Otherwise, she gets 0.
(a) Determine the payoffs of the Casino when there is only one player that plays once.
(b) One player plays three times. Compute the probability that the Casino loses money.
(c) There are 100 players. Each of them plays 100 times. The 10.000 resulting games are
supposed to be independent. Propose an approximation of the Casino’s payoffs.
(d) Propose an analytical approximation of the probability that the casino loses money
after n games, where n is a large number.
(b) The probability that the casino loses money is equal to the probability that the casino
loses three or two times out of the three. We have:
Hence, the casino loses money with a probability equal to C32 (1 − θ)2 θ + (1 − θ)3 .
6
where X ∼ N (0, 1) (by the CLT, we have that √P −n(2θ−1) 2 converges to N (0, 1)).
n(1−(2θ−1) )
Hence: !
√ (2θ − 1)
P(P < 0) ≈ Φ − n p ,
1 − (2θ − 1)2
where Φ denotes the c.d.f. of the standard normal distribution.
For n = 10.000, this probability is of 0.35%.