Professional Documents
Culture Documents
The exercises marked with ∗ are not part of the curriculum, they form sup-
plementary material.
1. Let U be uniformly distributed on the interval [8, 12]. Write down its
density function, calculate its expectation and variance.
2. If U1 , . . . , UN are i.i.d. uniformly distributed on [0, 1] then how can you
transform them into i.i.d. uniformly distributed random variables on
[a, b] ?
3. Consider f (x) = xex . The numerical integrals [0,1] f (x)dx and [2,3] f (x)dx
R R
M (θ) := EeλX , θ ∈ R,
1
9. ∗ This is a supplementary exercise, for those interested in program-
ming. Test the Box-Muller method: generate standard Gaussian ran-
dom variables G1 , . . . , G10000 using this method (and a computer). Then
draw a histogram: take each interval [k/100, (k + 1)/100), for k ∈
{−300, −299, . . . , 298, 299}, and draw a rectangle over it which has an
area of
number of i such that Gi ∈ [k/100, (k + 1)/100)
.
10000
The histogram should have a shape that is similar to the standard
Gaussian density for x ∈ [−3, 3), i.e. similar to
1 2
φ(x) = √ e−x /2 .
2π
Try to check this.
10. We possess a device which, based on principles of physics, is able to
produce random variables Z1 , . . . , ZN that are independent and have
exponential distribution with parameter 2.
We need independent and identically distributed random variables
Y1 , . . . , YN such that their common law has density
y2
γ(y) = , y ∈ [0, 3], γ(y) = 0, y ∈
/ [0, 3].
9