Theory Assignment 04
Theory Assignment 04
Theory Assignment 04
1. Let X and Y be two independent standard normal random variables, and let Z = 2X − Y and W = −X + Y . Find the
Jacobian J.
X
2. Suppose X and Y are independent exponential random variables with parameter λ. Find the joint density of V = Y and
W = X + Y . Use the joint density to find the marginal distributions.
3. Let X and Y have joint density f (x, y). Let (R, θ) be the polar coordinates of (X, Y ).
(a) Give a general expression for the joint density of R and θ.
(b) Suppose X and Y are independent with f (x) = 2x for 0 < x < 1 and f (y) = 2y for 0 < y < 1. Use the result from
part a to find the probability that (X, Y ) lies inside the circle of radius 1 centered at the origin.
4. Let X and Y be independent random variables, each having probability density function
(
λe−λx x > 0
f (x) =
0 otherwise
8. Derive the formula for the KL divergence KL(p(x)||q(x)) between two univariate Gaussians distributions:
For fixed µ2 and σ, what value of µ1 minimizes KL(p(x)||q(x))? At the minimum, what is the value of KL(p(x)||q(x))?
(Hint: Your answers should depend only on µ2 and/or σ).
1
9. Use the inverse transform method to generate a sample from the distribution with probability densiy function:
( 3
2
x x>2
fX (x) =
0 otherwise.
10. Devise an algorithm to simulate a random number from Truncated Normal distribution. Using this algorithm, generate a
sample of 5 random numbers.