Exercises
Exercises
Probabilities
What is the probability that a person picked at random speaks english, given that the same
person also speaks german ?
We assume that no-one has the double nationality. We also know that
If a person picked at random can play chess, what is the probability that this person has the
german nationality ?
1
1.4 Expectation and variance of discrete r.v.s
A player has the choice between two strategies:
1. two independent dice rolls, each with equally likely outcomes in {1, 2, 3, 4, 5, 6}
2. a single dice roll, with equally likely outcomes in {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}.
2
1.9 Central limit theorem
In the game defined in Exercise 1.4,
Using an approximation based on the central limit theorem, show that after n > 30 independent
games, the probability that the number of points collected by player 1 is larger than the number
of points collected by player 2, exceeds 50%.
1.10 Polling
At an election
We choose a sample of size n from the total population. Define the r.v.
(
1, if the i-th person in the sample is in favor of candidate A
Xi =
0, otherwise.
Assuming that the sample is chosen uniformly at random in the total population, the r.v.
Sn = X1 + · · · + Xn ∼ B(n, p). Let us define the empirical estimator of p as the r.v. Pn = Snn .
a) Assuming n > 30, np > 5 and n(1−p) > 5, use a Gaussian approximation of the binomial
distribution to show that
r !
p(1 − p)
P |Pn − p| ≤ t = 2Φ(t) − 1.
n
b) Three days before the election, the pollster obtains for n = 2500 an observed value for Pn
equal to p2500 = 0.48. Give a 95% confidence interval for the unknown value of p. Indication:
Φ(2) ≈ 0.9772. Can candidate A still reasonably hope to get elected ?
3
4
Chapter 2
Random processes
1-b s1 s2 1-r
r
whith parameters b = 0.1 and r = 0.4.
a) Build the transition probability matrix P and show that the Markov chain is regular.
b) Find the steady-state probability vector, π.
5
2.4 Queueing
Packets arrive at a telecommunication network, where they are stored in a buffer and then
transmitted. The storage capacity of the buffer is m packets:
• if m packets are already present, any newly arriving packets are discarded
a) Show that the number of packets in the buffer can be modeled by a birth-death process,
having the following state transition diagram. Is the corresponding Markov process regular ?
0 1 … m-1 m
d d d d
b) Find the steady-state probabilities of the number of packets in the buffer, π = [π0 , π1 , . . . , πm ],
as a function of ρ = db .
6
Chapter 3
Estimation theory
and the corresponding observation set is x = (x1 , x2 , . . . , xN )T . We are interested in the natural
estimators of the mean and variance
N
X
M̂ = Xi /N
i=1
N
X
(Xi − M̂ )2 /N.
V̂ =
i=1
N
X
P̂ = Xi /N.
i=1
7
3.3 MVUE for the mean of Gaussian r.v.s
Consider a random process formed by a collection of i.i.d. random variables X = (X1 , X2 , . . . , XN )T ,
such that Xi ∼ N (m, σ 2 ), ∀i, and the corresponding observation set is x = (x1 , x2 , . . . , xN )T .
a) Assuming m is an unknown but deterministic constant, find the joint p.d.f. of X param-
eterized by m, denoted by fX (x; m). Show that fX (x; m) satisfies the regularity condition and
calculate the CRLB.
b) Use the second part of the CRLB theorem to find the MVUE for m.
c) Show that the maximum-likelihood estimate of m, m̂ML , coincides with the estimate
provided by the MVUE.
X = ms + W,
for some λ ≥ 0.
a) Find the MAP estimate of θ, θ̂MAP .
b) Let θ̂ML be the maximum-likelihood estimate of θ. Show that as λ → 0, θ̂MAP → θ̂ML .
Give a theoretical interpretation.
8
b) Find the MMSE estimate of m, m̂MMSE .
c) What is the value of m̂MAP , when σ02 → 0. Give an interpretation.
d) What is the value of m̂MAP , when σ02 → +∞. Give a theoretical interpretation.