Section 4.7

Functions of random variables

[27/100%]
Show
LaTeX
Problem 4.7.1

Let X,YX, Y, and ZZ be independent and uniformly distributed on [0,1][0,1]. Find the joint density function of XYX Y and Z2Z^{2}, and show that P(XY<Z2)=59\mathbb {P}\left(X Y < Z^{2}\right) = \frac{5}{9}.

?
Problem 4.7.2

Let XX and YY be independent exponential random variables with parameter 1. Find the joint density function of U=X+YU = X+Y and V=X/(X+Y)V = X /(X+Y), and deduce that VV is uniformly distributed on [0,1][0,1].

?
Problem 4.7.3

Let XX be uniformly distributed on [0,12π]\left[0, \frac{1}{2} \pi \right]. Find the density function of Y=sin⁡XY = \sin X.

?
Problem 4.7.4

Find the density function of Y=sin⁡−1XY = \sin^{-1} X when:

?
(a)

XX is uniformly distributed on [0,1][0,1],

(b)

XX is uniformly distributed on [−1,1][-1,1].

Problem 4.7.5

Let XX and YY have the bivariate normal density function

f(x,y)=12π1−ρ2exp⁡{−12(1−ρ2)(x2−2ρxy+y2)} f(x, y) = \frac{1}{2 \pi \sqrt{1-\rho ^{2}}} \exp \left\{ -\frac{1}{2\left(1-\rho ^{2}\right)}\left(x^{2}-2 \rho x y+y^{2}\right)\right\}

Show that XX and Z=(Y−ρX)/1−ρ2Z = (Y-\rho X) / \sqrt{1-\rho^{2}} are independent N(0,1)N(0,1) variables, and deduce that

P(X>0,Y>0)=14+12πsin⁡−1ρ \mathbb {P}\left(X > 0, Y > 0\right) = \frac{1}{4}+\frac{1}{2 \pi } \sin ^{-1} \rho
?
Problem 4.7.6

Let XX and YY have the standard bivariate normal density function of Exercise (4.7.5), and define Z=max⁡{X,Y}Z = \max \left\{ X, Y\right\}. Show that E[Z]=(1−ρ)/π\mathbb {E}\left[Z\right] = \sqrt{(1-\rho ) / \pi }, and E[Z2]=1\mathbb {E}\left[Z^{2}\right] = 1.

?
Problem 4.7.7

Let XX and YY be independent exponential random variables with parameters λ\lambda and μ\mu. Show that Z=min⁡{X,Y}Z = \min \left\{ X, Y\right\} is independent of the event {X<Y}\left\{ X < Y\right\}. Find:

?
(a)

P(X=Z)\mathbb {P}\left(X = Z\right),

(b)

the distributions of U=max⁡{X−Y,0}U = \max \left\{ X-Y, 0\right\}, denoted (X−Y)+(X-Y)^{+}, and V=max⁡{X,Y}−min⁡{X,Y}V = \max \left\{ X, Y\right\} -\min \left\{ X, Y\right\},

(c)

P(X≤t<X+Y)\mathbb {P}\left(X \leq t < X+Y\right) where t>0t > 0.

Problem 4.7.8

A point (X,Y)(X, Y) is picked at random uniformly in the unit circle. Find the joint density of RR and XX, where R2=X2+Y2R^{2} = X^{2}+Y^{2}.

?
Problem 4.7.9

A point (X,Y,Z)(X, Y, Z) is picked uniformly at random inside the unit ball of R3\mathbb {R}^{3}. Find the joint density of ZZ and RR, where R2=X2+Y2+Z2R^{2} = X^{2}+Y^{2}+Z^{2}.

?
Problem 4.7.10

Let XX and YY be independent and exponentially distributed with parameters λ\lambda and μ\mu. Find the joint distribution of S=X+YS = X+Y and R=X/(X+Y)R = X /(X+Y). What is the density of RR?

?
Problem 4.7.11

Find the density of Y=a/(1+X2)Y = a /\left(1+X^{2}\right), where XX has the Cauchy distribution.

?
Problem 4.7.12

Let (X,Y)(X, Y) have the bivariate normal density of Exercise (4.7.5) with 0≤ρ<10 \leq \rho < 1. Show that

[1−Φ(a)][1−Φ(c)]≤P(X>a,Y>b)≤[1−Φ(a)][1−Φ(c)]+ρϕ(b)[1−Φ(d)]ϕ(a) [1-\Phi (a)][1-\Phi (c)] \leq \mathbb {P}\left(X > a, Y > b\right) \leq [1-\Phi (a)][1-\Phi (c)]+\frac{\rho \phi (b)[1-\Phi (d)]}{\phi (a)}

where c=(b−ρa)/1−ρ2,d=(a−ρb)/1−ρ2c = (b-\rho a) / \sqrt{1-\rho^{2}}, d = (a-\rho b) / \sqrt{1-\rho^{2}}, and ϕ\phi and Φ\Phi are the density and distribution function of the N(0,1)N(0,1) distribution.

?
Problem 4.7.13

Let XX have the Cauchy distribution. Show that Y=X−1Y = X^{-1} has the Cauchy distribution also. Find another non-trivial distribution with this property of invariance.

?
Problem 4.7.14

Let XX and YY be independent and gamma distributed as Γ(λ,α),Γ(λ,β)\Gamma (\lambda , \alpha ), \Gamma (\lambda , \beta ) respectively.

?
(a)

Show that W=X+YW = X+Y and Z=X/(X+Y)Z = X /(X+Y) are independent, and that ZZ has the beta distribution with parameters α,β\alpha , \beta.

(b)

Show that R=X/YR = X / Y has a beta distribution of the second kind (see Exercise (4.4.14)).

Problem 4.7.15

Let X,YX, Y be independent, positive, continuous random variables, such that 1−FY(y)=(1−FX(y))λ1-F_{Y}(y) = \left(1-F_{X}(y)\right)^{\lambda } for y>0y > 0. The positive parameter λ\lambda may be called the frailty or proportional hazard. In more general models, λ\lambda may itself be a random variable.

Show that

P(X>Y)=λP(Y>X)=λ1+λ \mathbb {P}\left(X > Y\right) = \lambda \mathbb {P}\left(Y > X\right) = \frac{\lambda }{1+\lambda }
?
Problem 4.7.16

Let XX and YY be independent random variables, where XX has an arc sine distribution and YY a Rayleigh distribution:

fX(x)=1π1−x2,∣x∣<1,fY(y)=ye−12y2,y>0 f_{X}(x) = \frac{1}{\pi \sqrt{1-x^{2}}}, \quad \left|x\right| < 1, \quad f_{Y}(y) = y e^{-\frac{1}{2} y^{2}}, \quad y > 0

Write down the joint density function of the pair (Y,XY)(Y, X Y), and deduce that XYX Y has the standard normal distribution.

?
Problem 4.7.17

Let UU be uniformly distributed on the interval (0,1)(0,1).

?
(a)

Let SS be a (measurable) subset of (0,1)(0,1) with strictly positive measure (length). Show that the conditional distribution of UU, given that U∈SU \in S, is uniform on SS.

(b)

Let V=UV = \sqrt{U}, and write the binary expansions of UU and VV as U=∑r=1∞Ur2−rU = \sum_{r = 1}^{\infty } U_{r} 2^{-r} and V=∑r=1∞Vr2−rV = \sum_{r = 1}^{\infty } V_{r} 2^{-r}. Show that UrU_{r} and UsU_{s} are independent for r≠sr \neq s, while Cov⁡[V1,V2]=−132\operatorname {Cov}\left[V_{1}, V_{2}\right] = -\frac{1}{32}. Prove that lim⁡n→∞P(Vr=1)=12\lim_{n \rightarrow \infty } \mathbb {P}\left(V_{r} = 1\right) = \frac{1}{2}.

Problem 4.7.18

Let (X,Y)(X, Y) have the standard bivariate normal distribution with correlation ρ\rho.

?
(a)

Let ρ=0\rho = 0. By changing from Cartesian to polar coordinates, or otherwise, show that Z=Y/XZ = Y / X has the Cauchy distribution.

(b)

Let ρ>0\rho > 0. Show that Z=Y/XZ = Y / X has density function

f(z)=1−ρ2π(1−2ρz+z2),z∈R f(z) = \frac{\sqrt{1-\rho ^{2}}}{\pi \left(1-2 \rho z+z^{2}\right)}, \quad z \in \mathbb {R}
Problem 4.7.19

Let (X,Y)(X, Y) have the standard bivariate normal distribution with correlation ρ\rho. Show that

E[Y∣X>x]=ρϕ(x)Φ(−x) \mathbb {E}\left[Y \mid X > x\right] = \rho \frac{\phi (x)}{\Phi (-x)}

where ϕ\phi and Φ\Phi are the N(0,1)N(0,1) density and distribution functions.

?
Problem 4.7.20

Let (X,Y)(X, Y) have the standard bivariate normal distribution with density function ff and correlation ρ\rho. Show that the probability that (X,Y)(X, Y) lies in the interior of the ellipse f(x,y)=kf(x, y) = k is 1−exp⁡{−A/(2π1−ρ2)}1-\exp \left\{ -A /\left(2 \pi \sqrt{1-\rho^{2}}\right)\right\}, where AA is the area of the ellipse.

?
Problem 4.7.21

Let R=X/YR = X / Y where X,YX, Y are independent and uniformly distributed on (0,1)(0,1). Find the probability that the integer closest to RR is odd.

?
Problem 4.7.22

Let (X,Y)(X, Y) have the standard bivariate normal distribution with correlation ρ\rho and density function ff. Show that f(X,Y)f(X, Y) is uniformly distributed on the interval (0,ζ)(0, \zeta ) where ζ=1/{2π1−ρ2}\zeta = 1 /\left\{ 2 \pi \sqrt{1-\rho^{2}}\right\}.

?
Problem 4.7.23

A number nn of friends each visit Old Slaughter's coffee house independently and uniformly at random during their lunch break from noon to 1 pm. Each leaves after δ\delta hours (or at 1 pm if that is sooner), where δ<1/(n−1)\delta < 1 /(n-1). Show that the probability that none of them meet inside is (1−(n−1)δ)n(1-(n-1) \delta )^{n}.

?
Problem 4.7.24

Let XX and YY be independent random variables with the uniform distribution on (0,1)(0,1). Find the joint density function of W=XYW = X Y and Z=Y/XZ = Y / X, and deduce their marginal density functions.

?
Problem 4.7.25
?
(a)

Let XX have the N(μ,σ2)N\left(\mu , \sigma^{2}\right) distribution with σ2>0\sigma^{2} > 0. Show that, for suitable g:R→Rg: \mathbb {R} \rightarrow \mathbb {R},

E[g(X)(X−E[X])]=Var⁡[X]E[g′(X)] \mathbb {E}\left[g(X)(X-\mathbb {E}\left[X\right])\right] = \operatorname {Var}\left[X\right] \mathbb {E}\left[g^{\prime }(X)\right]

when both sides exist.

(b)

More generally, if XX and YY have a bivariate normal distribution, show that

Cov⁡[g(X),Y]=E[g′(X)]Cov⁡[X,Y] \operatorname {Cov}\left[g(X), Y\right] = \mathbb {E}\left[g^{\prime }(X)\right] \operatorname {Cov}\left[X, Y\right]
(c)

Let XX be a random variable such that E[Xg(X)]=E[g′(X)]\mathbb {E}\left[X g(X)\right] = \mathbb {E}\left[g^{\prime }(X)\right] for all appropriate smooth functions gg satisfying g(x)e−12x2→0g(x) e^{-\frac{1}{2} x^{2}} \rightarrow 0 as x→−∞x \rightarrow -\infty. Show that XX has the N(0,1)N(0,1) distribution.

Problem 4.7.26

Let XX have the N(0,1)N(0,1) distribution, and let GG be a function with derivative gg. Show that

E[g(X)]2≤Var⁡[G(X)]≤E[g(X)2] \mathbb {E}\left[g(X)\right]^{2} \leq \operatorname {Var}\left[G(X)\right] \leq \mathbb {E}\left[g(X)^{2}\right]
?
Problem 4.7.27

The joint density function of the pair (X,Y)(X, Y) is

f(x,y)=23(x+y)e−x,x∈(0,∞),y∈(0,1) f(x, y) = \frac{2}{3}(x+y) e^{-x}, \quad x \in (0, \infty ), y \in (0,1)

Find the joint density function of the pair U=XU = X, and V=X+YV = X+Y, and deduce the density function of VV.

?