Chapter 7

Distribution of Functions of Random Variables

[35/97%]
Show
LaTeX
Problem 216

The radius of a circle is approximately measured so that it has the uniform distribution in the interval (a,b)(a, b). Find the distribution:

?
(a)

of the length of the circumference of the circle;

(b)

of the area of the circle.

Problem 217

Suppose that XX and YY are independent random variables with the same exponential density

f(x)=θe−θx,x>0. f(x) = \theta e^{-\theta x}, \qquad x > 0.

Show that the sum X+YX + Y and the ratio X/YX/Y are independent.

?
Problem 218

Suppose that XX and YY are independent uniform variables in (0,1)(0, 1). Find the probability that the roots of λ2+2Xλ+Y=0\lambda^{2} + 2X\lambda + Y = 0 are real.

?
Problem 219

The angle φ\varphi at which a projectile is fired with initial velocity vv follows the uniform distribution in the interval (0,π/2)(0, \pi /2). Find the distribution of the horizontal distance dd between the firing point and the point at which the projectile falls.

?
Problem 220

Suppose that XX and YY are normal variables with mean 00, variance σ2\sigma^{2}, and correlation coefficient ρ\rho.

?
(a)

Find the distribution of X/YX/Y.

(b)

Using the above result prove that

P(X<0,Y>0)=12P(XY<0)=14−arcsin⁡ρ2π. \mathbb {P}\left(X < 0, Y > 0\right) = \frac{1}{2} \mathbb {P}\left(XY < 0\right) = \frac{1}{4} - \frac{\arcsin \rho }{2\pi }.

Verify this by integrating the density of (X,Y)(X, Y).

Problem 221

Let A=(X,Y)A = (X, Y) be the point of impact of a shot on a vertical target with center at origin OO and suppose the distribution of AA is that of Exercise 220 with ρ=0\rho = 0 (called circular normal). Show that the distance R=(OA)R = (OA) between the point of impact and the centre of the target and the angle of OAOA with the horizontal axis (i.e., the polar coordinates of AA) are independent variables. Find the distribution of R2R^{2}.

?
Problem 222

If XX has the uniform distribution on the interval (0,1)(0, 1), then:

?
(a)

Prove that Y=aX+bY = aX + b is also uniformly distributed (aa and bb constants).

(b)

Find the distribution of Y=AX2+BX+CY = AX^{2} + BX + C (A,B,CA, B, C constants).

Problem 223

If X1,X2X_{1}, X_{2} are independent and uniform on the interval (0,1)(0, 1), find the densities of:

?
(a)

X1+X2X_{1} + X_{2};

(b)

X1−X2X_{1} - X_{2};

(c)

∣X1−X2∣\left|X_{1} - X_{2}\right|;

(d)

X1/X2X_{1}/X_{2}.

Problem 224

Two friends AA and BB agree to meet between 12 (noon) and 1 p.m. at a restaurant. Supposing that they arrive at random between 12 and 1 p.m. independently of each other and the lunch lasts 30 minutes, what is the probability that they meet in the restaurant? Let TT be the instant of their meeting. What is the conditional distribution of TT,

?
(a)

given that they meet;

(b)

given that they meet and AA arrives first?

Problem 225

Let XX and YY be independent with densities

fX(x)=1π11−x2,∣x∣<1,fY(y)=yσ2e−y/2σ2. f_{X}(x) = \frac{1}{\pi } \frac{1}{\sqrt{1 - x^{2}}}, \qquad \left|x\right| < 1, \qquad f_{Y}(y) = \frac{y}{\sigma ^{2}} e^{-y/2\sigma ^{2}}.

Show that XYXY is N(0,σ2)\mathscr {N}\left(0, \sigma^{2}\right).

?
Problem 226

Given nn independent random numbers X1,X2,…,XnX_{1}, X_{2}, \ldots , X_{n} from (0,1)(0, 1), called pseudorandom numbers, show that:

?
(a)

Y=−∑i=1n2log⁡X1Y = -\sum_{i=1}^{n} 2 \log X_{1} has the χ2\chi^{2} distribution with 2n2n degrees of freedom;

(b)

the variables

ξ=−−2log⁡X1cos⁡(2πX2),η=−2log⁡X1sin⁡(2πX2), \xi = -\sqrt{-2 \log X_{1}} \cos (2\pi X_{2}), \qquad \eta = \sqrt{-2 \log X_{1}} \sin (2\pi X_{2}),

are independent N(0,1)\mathscr {N}\left(0, 1\right).

Thus (a) generates samples of χ2\chi^{2} distributions with an even number of degrees of freedom, while (b) generates a pair of independent normal variables.

Problem 227

Let XX be a continuous random variable XX with distribution function F(⋅)F(\cdot ); consider the random variable

Y=F(X)=∫−∞Xf(u) du. Y = F(X) = \int _{-\infty }^{X} f(u) \, du.

This transformation is called the probability integral transformation.

Show that the distribution of YY is uniform in the interval (0,1)(0, 1), that is,

FY(y)=y,0<y<1. F_{Y}(y) = y, \qquad 0 < y < 1.

Given a random sample X1,X2,…,XnX_{1}, X_{2}, \ldots , X_{n} from the uniform distribution, show that the solutions y1,y2,…,yny_{1}, y_{2}, \ldots , y_{n} of y1=F−1(x1),y2=F−1(x2),…,yn=F−1(xn)y_{1} = F^{-1}(x_{1}), y_{2} = F^{-1}(x_{2}), \ldots , y_{n} = F^{-1}(x_{n}) form a random sample from the FF distribution.

?
Problem 228

(Continuation of Problem 227.) Suppose the height XX of men has the normal distribution N(167 cm,9 cm2)\mathscr {N}\left(167 \text{ cm}, 9 \text{ cm}^{2}\right) and a random sample of 10 men is taken with heights X1,X2,…,X10X_{1}, X_{2}, \ldots , X_{10}. What is probability that the (random) interval δ=[min⁡(X1,…,X10),max⁡(X1,…,X10)]\delta = [\min (X_{1}, \ldots , X_{10}), \max (X_{1}, \ldots , X_{10})] covers at least 95 of the population of heights? That is, the P(P(X∈δ)≥0.95)\mathbb {P}\left(\mathbb {P}\left(X \in \delta \right) \geq 0.95\right) is to be calculated; note that the P(X∈δ)\mathbb {P}\left(X \in \delta \right), depending on the random interval δ\delta, is a random variable.

?
Problem 229

XX is called a lognormal variable, if the log⁡X=Y\log X = Y has a normal distribution N(μ,σ2)\mathscr {N}\left(\mu , \sigma^{2}\right).

?
(a)

Find the density of XX.

(b)

Find E(X)E(X) and Var⁡[X]\operatorname {Var}\left[X\right].

(c)

If the XiX_{i} are independent lognormal random variables, their product X1X2…XnX_{1} X_{2} \ldots X_{n} is also lognormal.

Problem 230

Show that if F(x,y)F(x, y) is the distribution function of XX and YY and

Z=max⁡(X,Y),W=min⁡(X,Y), Z = \max (X, Y), \qquad W = \min (X, Y),

then

FZ(z)=F(z,z),FW(w)=FX(w)+FY(w)−F(w,w). F_{Z}(z) = F(z, z), \qquad F_{W}(w) = F_{X}(w) + F_{Y}(w) - F(w, w).

If F(x,y)F(x, y) is continuous find the densities of ZZ and WW.

?
Problem 231

(Continuation of Problem 230.) If XX and YY are independent N(0,1)\mathscr {N}\left(0, 1\right), show that

E{max⁡(X,Y)}=1π. E\{ \max (X, Y)\} = \frac{1}{\sqrt{\pi }}.
?
Problem 232

Let X=(X1,X2,…,Xk)X = (X_{1}, X_{2}, \ldots , X_{k}) have the Dirichlet distribution. Find the distribution,

?
(a)

of Yk=X1+X2+⋯+XkY_{k} = X_{1} + X_{2} + \cdots + X_{k}, and

(b)

of Yi=X1+X2+⋯+XiY_{i} = X_{1} + X_{2} + \cdots + X_{i} (i=1,2,…,k)(i = 1, 2, \ldots , k).

Problem 233

(Continuation of Problem 232.) If XiX_{i} (i=1,2,…,k+1)(i = 1, 2, \ldots , k+1) are independent Gamma variables with parameters n1,…,nk+1n_{1}, \ldots , n_{k+1} and λ\lambda, respectively, show that the

Yi=XiX1+⋯+Xk+1,i=1,2,…,k, Y_{i} = \frac{X_{i}}{X_{1} + \cdots + X_{k+1}}, \qquad i = 1, 2, \ldots , k,

have the kk-dimensional Dirichlet distribution (5.11).

?
Problem 234

Let XX and YY be independent Poisson variables with parameters λ\lambda and μ\mu. Show that:

?
(a)

the sum X+YX + Y is also Poisson (use the convolution formula, cf. (7.3));

(b)

the conditional distribution of XX given that X+YX + Y is binomial.

Problem 235

Let XX and YY be independent binomial with parameters N,pN, p and M,pM, p, respectively. Show that:

?
(a)

the sum of X+YX + Y is binomial (use the convolution formula);

(b)

the conditional distribution of XX given X+YX + Y is hypergeometric, independent of pp.

Problem 236

Show that the mean

X‾=1n∑i=1nXi \overline{X} = \frac{1}{n} \sum _{i=1}^{n} X_{i}

and the variance

s2=1n−1∑i=1n(Xi−X‾)2 s^{2} = \frac{1}{n-1} \sum _{i=1}^{n} (X_{i} - \overline{X})^{2}

of the random sample X1,X2,…,XnX_{1}, X_{2}, \ldots , X_{n} from N(μ,σ2)\mathscr {N}\left(\mu , \sigma^{2}\right) are independent. Hence deduce the distribution of (n−1)s2(n-1)s^{2}.

Hint:

?
(a)

Use any orthogonal transformation Y→=HX→\overrightarrow {Y} = H\overrightarrow {X} such that

Yn=nX‾,Y→=(Y1,…,Yn)′,X→=(X1,…,Xn)′. Y_{n} = \sqrt{n}\overline{X}, \qquad \overrightarrow {Y} = (Y_{1}, \ldots , Y_{n})', \qquad \overrightarrow {X} = (X_{1}, \ldots , X_{n})'.
(b)

Cov⁡[X‾,Xi−X‾]=0\operatorname {Cov}\left[ \overline{X}, X_{i} - \overline{X} \right] = 0.

Show that Cov⁡[X‾,s2]=μ3/n\operatorname {Cov}\left[ \overline{X}, s^{2} \right] = \mu_{3}/n for samples from nonnormal populations, where μ3\mu_{3} is the population central moment of order 3.

Problem 237

Test for the Behrens–Fisher problem. To test whether two heteroscedastic normal populations have the same means one uses the statistic

t=[m(m−1)]1/2(x‾−y‾)/[∑j=1m(uj−u‾)2]1/2, t = [m(m-1)]^{1/2} (\overline{x} - \overline{y}) \Big/ \left[\sum _{j=1}^{m} (u_{j} - \overline{u})^{2}\right]^{1/2},

where x‾,y‾\overline{x}, \overline{y} are the sample means of the independent samples from N(μ1,σ12)\mathscr {N}\left(\mu_{1}, \sigma_{1}^{2}\right) and from N(μ2,σ22)\mathscr {N}\left(\mu_{2}, \sigma_{2}^{2}\right), respectively, m≤nm \leq n and uj=xj−(m/n)yju_{j} = x_{j} - (\sqrt{m/n}) y_{j} (j=1,2,…,m)(j = 1, 2, \ldots , m). Show that tt has Student's distribution with m−1m-1 degrees of freedom when μ1=μ2=μ\mu_{1} = \mu_{2} = \mu.

?
Problem 238

Find the joint density of the ordered statistics X(1)<X(2)<⋯<X(n)X_{(1)} < X_{(2)} < \cdots < X_{(n)} from a distribution of the continuous type.

?
Problem 239

If X1,X2,…,XnX_{1}, X_{2}, \ldots , X_{n} is a random sample from the continuous distribution FF. Find:

?
(a)

the joint density function of the random variables

Y=F(min⁡1≤i≤nXi),Z=F(max⁡1≤i≤nXi); Y = F\left(\min _{1 \leq i \leq n} X_{i}\right), \qquad Z = F\left(\max _{1 \leq i \leq n} X_{i}\right);
(b)

E(R)=E(Z−Y)E(R) = E(Z - Y) where RR is the range of the sample.

Problem 240

Let X(1)<X(2)<⋯<X(n)X_{(1)} < X_{(2)} < \cdots < X_{(n)} be the ordered sample from a continuous distribution F(x)F(x). Show that

E[X(k+1)−X(k)]=(nk)∫−∞+∞Fn−k(x)[1−F(x)]k dx. E[X_{(k+1)} - X_{(k)}] = \binom {n}{k} \int _{-\infty }^{+\infty } F^{n-k}(x) [1 - F(x)]^{k} \, dx.

Hint: Use the joint density of X(k),X(k+1)X_{(k)}, X_{(k+1)}.

?
Problem 241

A random sample of size nn is taken from a uniform distribution in the interval (0,1)(0, 1). Find,

?
(a)

the mean E[X(k)]E[X_{(k)}],

(b)

the distribution of R=X(n)−X(1)R = X_{(n)} - X_{(1)}.

Problem 242

If y1<y2<y3y_{1} < y_{2} < y_{3} are the ordered observations of a random sample of size 3 from a distribution with density

f(x)={1,θ−12<x<θ+12,0,elsewhere. f(x) = \begin{cases} 1, & \theta - \frac{1}{2} < x < \theta + \frac{1}{2}, \\ 0, & \text{elsewhere.} \end{cases}

For α=β=0.4\alpha = \beta = 0.4 show that P(θ−α<y2<θ+β)=0.944\mathbb {P}\left(\theta - \alpha < y_{2} < \theta + \beta \right) = 0.944.

?
Problem 243

Let Y1<Y2<Y3Y_{1} < Y_{2} < Y_{3} be ordered observations of a random sample of size 3 from a distribution with density

f(x)={2x;0<x<1,0,elsewhere. f(x) = \begin{cases} 2x; & 0 < x < 1, \\ 0, & \text{elsewhere.} \end{cases}

Show that Z1=Y1/Y2,Z2=Y2/Y3Z_{1} = Y_{1}/Y_{2}, Z_{2} = Y_{2}/Y_{3}, and Z3=Y3Z_{3} = Y_{3} are completely independent.

?
Problem 244

If X1,X2X_{1}, X_{2} are independent β\beta variables with densities β(n1,n2)\beta (n_{1}, n_{2}) and β(n1+1/2,n2)\beta (n_{1}+1/2, n_{2}), respectively, where for n1>0,n2>0n_{1} > 0, n_{2} > 0,

β(m,n)=1B(m,n)xm−1(1−x)n−1,0<x<1. \beta (m, n) = \frac{1}{B(m,n)} x^{m-1} (1-x)^{n-1}, \qquad 0 < x < 1.

Show that Y=X1X2Y = \sqrt{X_{1} X_{2}} has also the β\beta distribution β(2n1,2n2)\beta (2n_{1}, 2n_{2}).

?
Problem 245

The random pair (X,Y)(X, Y) has density

f(x,y)=1Γ(m)Γ(n)xm−1(y−x)n−1e−y,0<x<y<∞. f(x,y) = \frac{1}{\Gamma (m)\Gamma (n)} x^{m-1} (y-x)^{n-1} e^{-y}, \qquad 0 < x < y < \infty .

Find the distribution of Z=Y−XZ = Y - X. Are ZZ and XX independent? (cf. Exercise 174).

?
Problem 246

Show that Z=2XYZ = 2\sqrt{XY}, where XX and YY are two independent Γ\Gamma variables with parameters (λ1,n)(\lambda_{1}, n) and (λ2,n+1/2)(\lambda_{2}, n+1/2), respectively, has the Γ\Gamma distribution with parameters (λ,2n)(\lambda , 2n) where λ=λ1λ2\lambda = \sqrt{\lambda_{1}\lambda_{2}}.

?
Problem 247

For the pair (X,Y)(X, Y) of Exercise 245 show that W=X/YW = X/Y has the density β(m,n)\beta (m, n) of Exercise 244.

?
Problem 248

If XX and YY are independent N(0,σ2)\mathscr {N}\left(0, \sigma^{2}\right), show that

Z=XYX2+Y2,W=X2−Y2X2+Y2, Z = \frac{XY}{\sqrt{X^{2}+Y^{2}}}, \qquad W = \frac{X^{2}-Y^{2}}{\sqrt{X^{2}+Y^{2}}},

are also independent normal.

?
Problem 249

Let XX have an nn-variate normal distribution N(μ,Σ)\mathscr {N}\left(\mu , \Sigma \right). Find the density of Y=AXY = AX where AA is a nonsingular matrix.

?
Problem 250

The points of impact of two players A1,A2A_{1}, A_{2} on a vertical target follow the circular normal distribution with mean the center of the target and variances σ12\sigma_{1}^{2} and σ22\sigma_{2}^{2}, respectively. Find the probability that the impact point of A1A_{1} is closer to the center than that of A2A_{2}.

?