Section 4.5

Dependence

[20/100%]
Show
LaTeX
Problem 4.5.1

Let

f(x,y)=∣x∣8πexp⁡(−∣x∣−12x2y2),x,y∈R f(x, y) = \frac{\left|x\right|}{\sqrt{8 \pi }} \exp \left(-\left|x\right|-\frac{1}{2} x^{2} y^{2}\right), \quad x, y \in \mathbb {R}

Show that ff is a continuous joint density function, but that the (first) marginal density function g(x)=∫−∞∞f(x,y)dyg(x) = \int_{-\infty }^{\infty } f(x, y) d y is not continuous.

Let Q={qn:n≥1}Q = \left\{ q_{n}: n \geq 1\right\} be a set of real numbers, and define

fQ(x,y)=∑n=1∞(12)nf(x−qn,y) f_{Q}(x, y) = \sum _{n = 1}^{\infty }\left(\frac{1}{2}\right)^{n} f\left(x-q_{n}, y\right)

Show that fQf_{Q} is a continuous joint density function whose first marginal density function is discontinuous at the points in QQ. Can you construct a continuous joint density function whose first marginal density function is continuous nowhere?

?
Problem 4.5.2

Two grids of parallel lines are superimposed: the first grid contains lines distance aa apart, and the second contains lines distance bb apart which are perpendicular to those of the first set. A needle of length r(<min⁡{a,b})r( < \min \left\{ a, b\right\} ) is dropped at random. Show that the probability it intersects a line equals r(2a+2b−r)/(πab)r(2 a+2 b-r) /(\pi a b).

?
Problem 4.5.3

The plane is ruled by the lines y=ny = n, for n=0,±1,…n = 0, \pm 1, \ldots, and onto this plane we drop a cross formed by welding together two unit needles perpendicularly at their midpoints.

?
(a)

Let ZZ be the number of intersections of the cross with the grid of parallel lines. Show that E[Z/2]=2/π\mathbb {E}\left[Z / 2\right] = 2 / \pi and that

Var⁡[Z/2]=3−2π−4π2 \operatorname {Var}\left[Z / 2\right] = \frac{3-\sqrt{2}}{\pi }-\frac{4}{\pi ^{2}}
(b)

If you had the choice of using either a needle of unit length, or the cross, in estimating 2/π2 / \pi, which would you use?

(c)

Would it be preferable to use a unit needle on the grid of Exercise (4.5.2) with a=b=1a = b = 1?

Problem 4.5.4

Let XX and YY be independent random variables each having the uniform distribution on [0,1][0,1]. Let U=min⁡{X,Y}U = \min \left\{ X, Y\right\} and V=max⁡{X,Y}V = \max \left\{ X, Y\right\}. Find E[U]\mathbb {E}\left[U\right], and hence calculate Cov⁡[U,V]\operatorname {Cov}\left[U, V\right].

?
Problem 4.5.5
?
(a)

Let XX and YY be independent continuous random variables. Show that

E[g(X)h(Y)]=E[g(X)]E[h(Y)], \mathbb {E}\left[g(X) h(Y)\right] = \mathbb {E}\left[g(X)\right] \mathbb {E}\left[h(Y)\right],

whenever these expectations exist. If XX and YY have the exponential distribution with parameter 1, find

E[exp⁡(12(X+Y))] \mathbb {E}\left[\exp \left(\frac{1}{2}(X+Y)\right)\right]
(b)

Let XX have finite variance. Show that 2Var⁡[X]=E[(X−Y)2]2 \operatorname {Var}\left[X\right] = \mathbb {E}\left[(X-Y)^{2}\right] where YY is independent and distributed as XX.

Problem 4.5.6

Three points A, B, C are chosen independently at random on the circumference of a circle. Let b(x)b(x) be the probability that at least one of the angles of the triangle ABC exceeds xπx \pi. Show that

b(x)={1−(3x−1)2 if 13≤x≤123(1−x)2 if 12≤x≤1 b(x) = \begin{cases} 1-(3 x-1)^{2} & \text{ if } \frac{1}{3} \leq x \leq \frac{1}{2} \\ 3(1-x)^{2} & \text{ if } \frac{1}{2} \leq x \leq 1\end{cases}

Hence find the density and expectation of the largest angle in the triangle.

?
Problem 4.5.7

Let {Xr:1≤r≤n}\left\{ X_{r}: 1 \leq r \leq n\right\} be independent and identically distributed with finite variance, and define Xˉ=n−1∑r=1nXr\bar{X} = n^{-1} \sum_{r = 1}^{n} X_{r}. Show that Cov⁡[Xˉ,Xr−Xˉ]=0\operatorname {Cov}\left[\bar{X}, X_{r}-\bar{X}\right] = 0.

?
Problem 4.5.8

Let XX and YY be independent random variables with finite variances, and let U=X+YU = X+Y and V=XYV = X Y. Under what condition are UU and VV uncorrelated?

?
Problem 4.5.9

Let XX and YY be independent continuous random variables, and let UU be independent of XX and YY taking the values ±1\pm 1 with probability 12\frac{1}{2}. Define S=UXS = U X and T=UYT = U Y. Show that SS and TT are in general dependent, but S2S^{2} and T2T^{2} are independent.

?
Problem 4.5.10

Let X,Y,ZX, Y, Z be independent and identically distributed continuous random variables. Show that P(X>Y)=P(Z>Y)=12\mathbb {P}\left(X > Y\right) = \mathbb {P}\left(Z > Y\right) = \frac{1}{2}. What is P(Z>Y∣X>Y)\mathbb {P}\left(Z > Y \mid X > Y\right)?

?
Problem 4.5.11

Let (X,Y)(X, Y) and (U,V)(U, V) be independent random vectors with common distribution function F(x,y)F(x, y) and marginal distribution functions FX(x)F_{X}(x) and FY(y)F_{Y}(y). Show that, when ∣Cov⁡[X,Y]∣<∞\left|\operatorname {Cov}\left[X, Y\right]\right| < \infty, we have that E[(X−U)(Y−V)]=2Cov⁡[X,Y]\mathbb {E}\left[(X-U)(Y-V)\right] = 2 \operatorname {Cov}\left[X, Y\right] and

Cov⁡[X,Y]=∬R2[F(x,y)−FX(x)FY(y)]dxdy \operatorname {Cov}\left[X, Y\right] = \iint _{\mathbb {R}^{2}}\left[F(x, y)-F_{X}(x) F_{Y}(y)\right] d x d y
?
Problem 4.5.12

Let the pair X,YX, Y have the bivariate normal distribution with means 00, variances 11, and correlation ρ\rho. Show that

E[max⁡{X,Y}]=1−ρπ \mathbb {E}\left[\max \left\{ X, Y\right\} \right] = \sqrt{\frac{1-\rho }{\pi }}
?
Problem 4.5.13

Let XX be exponentially distributed with parameter λ\lambda. Let NN be the greatest integer not greater than XX, and set M=X−NM = X-N. Show that MM and NN are independent. Find the density function of MM and the distribution of NN.

?
Problem 4.5.14

Let XX and YY be independent N(0,1)N(0,1) random variables. Show, if 2a<1,2b<12 a < 1,2 b < 1, and 4b2<(1−2a)(1−2c)4 b^{2} < (1-2 a)(1-2 c), that

E[exp⁡{aX2+2bXY+cY2}]=1(1−2a)(1−2c)−4b2 \mathbb {E}\left[\exp \left\{ a X^{2}+2 b X Y+c Y^{2}\right\} \right] = \frac{1}{\sqrt{(1-2 a)(1-2 c)-4 b^{2}}}
?
Problem 4.5.15

Let X,YX, Y be random variables with joint density function f(x,y)f(x, y) and marginal densities g,hg, h. Their contingency coefficient is given as

ϕ2:=E[f(X,Y)g(X)h(Y)]−1 \phi ^{2}: = \mathbb {E}\left[\frac{f(X, Y)}{g(X) h(Y)}\right]-1

If X,YX, Y are bivariate normal with correlation ρ∈(−1,1)\rho \in (-1,1), show that 1+ϕ2=1/(1−ρ2)1+\phi^{2} = 1 /\left(1-\rho^{2}\right). Show in addition that their mutual information (see Exercise (3.6.5)) is I=−12log⁡(1−ρ2)I = -\frac{1}{2} \log \left(1-\rho^{2}\right).

?
Problem 4.5.16

Let XX be uniformly distributed on [−1,1][-1,1]. Are the random variables Zn=cos⁡(nπX),n=1,2,…Z_{n} = \cos (n \pi X), n = 1,2, \ldots, correlated? Are they independent? Explain your answers.

?
Problem 4.5.17

The mean absolute difference, or MAD, of two independent random variables X,YX, Y, with common distribution function FF, is given by MAD⁡=E[∣X−Y∣]\operatorname {MAD} = \mathbb {E}\left[\left|X-Y\right|\right]. Show that, for non-negative random variables X,YX, Y,

MAD⁡=2(E[X]−∫0∞(1−F(x))2dx) \operatorname {MAD} = 2\left(\mathbb {E}\left[X\right]-\int _{0}^{\infty }(1-F(x))^{2} d x\right)

More generally, for XX and YY taking values in R\mathbb {R}, with a common continuous distribution function with unique inverse QQ, show that

MAD=∬(0,1)2∣Q(u)−Q(v)∣dudv \mathrm{MAD} = \iint _{(0,1)^{2}}\left|Q(u)-Q(v)\right| d u d v

Find MAD⁡\operatorname {MAD} for the following distributions:

?
(a)

uniform on [0,1][0,1],

(b)

exponential with parameter λ\lambda,

(c)

Pareto with F(x)=1−x−a,x>1F(x) = 1-x^{-a}, x > 1,

(d)

normal N(0,1)N(0,1).

Problem 4.5.18

Let X,YX, Y be independent N(0,1)N(0,1) random variables, and U=min⁡{∣X∣,∣Y∣}U = \min \left\{ \left|X\right|,\left|Y\right|\right\}, V=max⁡{∣X∣,∣Y∣}V = \max \left\{ \left|X\right|,\left|Y\right|\right\}. Show that E[U/V]=(4/π)log⁡2\mathbb {E}\left[U / V\right] = (4 / \pi ) \log \sqrt{2}.

?
Problem 4.5.19

A point P=(X,Y)P = (X, Y) is selected uniformly at random inside a triangle Δ\Delta with corners (1,0),(1,1),(0,1)(1,0),(1,1),(0,1). Show that a triangle ABC with BC=X,CA=Y,AB=2−X−Y\mathrm{BC} = X, \mathrm{CA} = Y, \mathrm{AB} = 2-X-Y can always be constructed, and prove that the angle ABC^\widehat{\mathrm{ABC}} is obtuse with probability 3−4log⁡23-4 \log 2.

?
Problem 4.5.20

Random variables X,YX, Y have joint density function f(x,y)=3((x+y)−(x2+y2))f(x, y) = 3\left((x+y)-\left(x^{2}+y^{2}\right)\right) for x,y∈[0,1]x, y \in [0,1]. Show that XX and YY are uncorrelated but dependent.

?