Section 33

Conditional Probability

[16/25%]
Show
LaTeX
Problem 33.1

20.27 ↑ Borel's paradox. Suppose that a random point on the sphere is specified by longitude Θ\Theta and latitude Φ\Phi, but restrict Θ\Theta by 0≤Θ<π0 \leq \Theta <\pi, so that Θ\Theta specifies the complete meridian circle (not semicircle) containing the point, and compensate by letting Φ\Phi range over ( −π,π-\pi , \pi ].

?
(a)

Show that for given Θ\Theta the conditional distribution of Φ\Phi has density 14∣cos⁡ϕ∣\frac{1}{4}\left|\cos \phi \right| over ( −π,+π]\left.-\pi ,+\pi \right]. If the point lies on, say, the meridian circle through Greenwich, it is therefore not uniformly distributed over that great circle.

(b)

Show that for given Φ\Phi the conditional distribution of Θ\Theta is uniform over (0,π)(0, \pi ). If the point lies on the equator ( Φ\Phi is 0 or π\pi ), it is therefore uniformly distributed over that great circle.

Since the point is uniformly distributed over the spherical surface and great circles are indistinguishable, (a) and (b) stand in apparent contradiction. This shows again the inadmissibility of conditioning with respect to an isolated event of probability 0. The relevant σ\sigma-field must not be lost sight of.

Problem 33.2

20.16↑20.16 \uparrow Let XX and YY be independent, each having the standard normal distribution, and let (R,Θ)(R, \Theta ) be the polar coordinates for (X,Y)(X, Y).

?
(a)

Show that X+YX+Y and X−YX-Y are independent and that R2=[(X+Y)2+(X−Y)2]/2R^{2}=\left[(X+Y)^{2}+(X-Y)^{2}\right] / 2, and conclude that the conditional distribution of R2R^{2} given X−YX-Y is the chi-squared distribution with one degree of freedom translated by (X−Y)2/2(X-Y)^{2} / 2.

(b)

Show that the conditional distribution of R2R^{2} given Θ\Theta is chi-squared with two degrees of freedom.

(c)

If X−Y=0X-Y=0, the conditional distribution of R2R^{2} is chi-squared with one degree of freedom. If Θ=π/4\Theta =\pi / 4 or Θ=5π/4\Theta =5 \pi / 4, the conditional distribution of R2R^{2} is chi-squared with two degrees of freedom. But the events [X−Y=0][X-Y=0] and [Θ=π/4]∪[Θ=5π/4][\Theta =\pi / 4] \cup [\Theta =5 \pi / 4] are the same. Resolve the apparent contradiction.

Problem 33.3

↑ Paradoxes of a somewhat similar kind arise in very simple cases.

?
(a)

Of three prisoners, call them 1,2, and 3, two have been chosen by lot for execution. Prisoner 3 says to the guard, "Which of 1 and 2 is to be executed? One of them will be, and you give me no information about myself in telling me which it is." The guard finds this reasonable and says, "Prisoner 1 is to be executed." And now 3 reasons, "I know that 1 is to be executed; the other will be either 2 or me, and so my chance of being executed is now only 12\frac{1}{2}, instead of the 23\frac{2}{3} it was before," Apparently, the guard has given him information.

If one looks for a σ\sigma-field, it must be the one describing the guard's answer, and it then becomes clear that the sample space is incompletely specified. Suppose that, if 1 and 2 are to be executed, the guard's response is " 1 " with probability pp and " 2 " with probability 1−p1-p; and, of course, suppose that, if 3 is to be executed, the guard names the other victim. Calculate the conditional probabilities.

(b)

Assume that among families with two children the four sex distributions are equally likely. You have been introduced to one of the two children in such a family, and he is a boy. What is the conditional probability that the other is a boy as well?

Problem 33.4
?
(a)

Consider probability spaces (Ω,F,P)(\Omega , \mathscr {F}, P) and (Ω′,F′,P′)\left(\Omega^{\prime }, \mathscr {F}^{\prime }, P^{\prime }\right); suppose that TT : Ω→Ω′\Omega \rightarrow \Omega^{\prime } is measurable F/F′\mathscr {F} / \mathscr {F}^{\prime } and P′=PT−1P^{\prime }=P T^{-1}. Let G′\mathscr {G}^{\prime } be a σ\sigma-field in F′\mathscr {F}^{\prime }, and take I\mathscr {I} to be the σ\sigma-field [T−1G′:G′∈A′]\left[T^{-1} G^{\prime }: G^{\prime } \in \mathscr {A}^{\prime }\right]. For A′∈F′A^{\prime } \in \mathscr {F}^{\prime }, show by (16.18) that P[T−1A′∥G]ω=P′[A′∥G′]TωP\left[T^{-1} A^{\prime } \| \mathscr {G}\right]_{\omega }=P^{\prime }\left[A^{\prime } \| \mathscr {G}^{\prime }\right]_{T \omega } with PP-probability 1.

(b)

Now take (Ω′,F′,P′)=(R2,R2,μ)\left(\Omega^{\prime }, \mathscr {F}^{\prime }, P^{\prime }\right)=\left(R^{2}, \mathscr {R}^{2}, \mu \right), whele μ\mu is the distribution of a random vector (X,Y)(X, Y) on (Ω,F,P)(\Omega , \mathscr {F}, P). Suppose that (X,Y)(X, Y) has density ff, and show by (33.9) that

P[Y∈F∥X]ω=∫Ff(X(ω),t)dt∫R1f(X(ω),t)dt P[Y \in F \| X]_{\omega }=\frac{\int _{F} f(X(\omega ), t) d t}{\int _{R^{1}} f(X(\omega ), t) d t}

with probability 1.

Problem 33.5

↑\uparrow

?
(a)

There is a slightly different approach to conditional probability. Let (Ω,F,P)(\Omega , \mathscr {F}, P) be a probability space, (Ω′,F′)(\Omega^{\prime }, \mathscr {F}^{\prime }) a measurable space, and T:Ω→Ω′T: \Omega \rightarrow \Omega^{\prime } a mapping measurable F/F′\mathscr {F} / \mathscr {F}^{\prime }. Define a measure ν\nu on F′\mathscr {F}^{\prime } by ν(A′)=P(A∩T−1A′)\nu \left(A^{\prime }\right)=\mathbb {P}\left(A \cap T^{-1} A^{\prime }\right) for A′∈F′A^{\prime } \in \mathscr {F}^{\prime }. Prove that there exists a function p(A∣ω′)p\left(A \mid \omega^{\prime }\right) on Ω′\Omega^{\prime }, measurable F′\mathscr {F}^{\prime } and integrable PT−1P T^{-1}, such that ∫A′p(A∣ω′)PT−1(dω′)=P(A∩T−1A′)\int_{A^{\prime }} p\left(A \mid \omega^{\prime }\right) P T^{-1}\left(d \omega^{\prime }\right)=\mathbb {P}\left(A \cap T^{-1} A^{\prime }\right) for all A′A^{\prime } in F′\mathscr {F}^{\prime }. Intuitively, p(A∣ω′)p\left(A \mid \omega^{\prime }\right) is the conditional probability that ω∈A\omega \in A fer someone who knows that Tω=ω′T \omega =\omega^{\prime }. Let A=[T−1A′:A′∈F]\mathscr {A}=\left[T^{-1} A^{\prime }: A^{\prime } \in \mathscr {F}\right]; show that A\mathscr {A} is a σ\sigma-field and that p(A∣Tω)p(A \mid T \omega ) is a version of P[A∥G]ωP[A \| \mathscr {G}]_{\omega }.

(b)

Connect this with part (a) of the preceding problem.

Problem 33.6

↑\uparrow Suppose that T=XT=X is a random variable, (Ω′,F′)=(R1,R1)\left(\Omega^{\prime }, \mathscr {F}^{\prime }\right)=\left(R^{1}, \mathscr {R}^{1}\right), and xx is the general point of R1R^{1}. In this case p(A∣x)p(A \mid x) is sometimes written P(A∣X=x)\mathbb {P}\left( A \mid X=x \right). What is the problem with this notation?

?
Problem 33.7

For the Poisson process (see Example 33.1) show that for 0<s<t0<s<t,

P[Ns=k∥Nt]={(Ntk)(st)k(1−st)Nt−k,k≤Nt0,k>Nt P\left[N_{s}=k \| N_{t}\right]= \begin{cases} \binom {N_{t}}{k}\left(\frac{s}{t}\right)^{k}\left(1-\frac{s}{t}\right)^{N_{t}-k}, & k \leq N_{t} \\ 0, & k>N_{t} \end{cases}

Thus the conditional distribution (in the sense of Theorem 33.3) of NsN_{s} given NtN_{t} is binomial with parameters NtN_{t} and s/ts / t.

?
Problem 33.8

29.12↑29.12 \uparrow Suppose that (X1,X2)\left(X_{1}, X_{2}\right) has the centered normal distribution-has in the plane the distribution with density (29.10). Express the quadratic form in the exponential as

1σ11x12+σ11D(x2−σ12σ11x1)2 \frac{1}{\sigma _{11}} x_{1}^{2}+\frac{\sigma _{11}}{D}\left(x_{2}-\frac{\sigma _{12}}{\sigma _{11}} x_{1}\right)^{2}

integrate out the x2x_{2} and show that

f(x1,x2)∫−∞∞f(x1,t)dt=12πτexp⁡[−12τ(x2−σ12σ11x1)2], \frac{f\left(x_{1}, x_{2}\right)}{\int _{-\infty }^{\infty } f\left(x_{1}, t\right) d t}=\frac{1}{\sqrt{2 \pi \tau }} \exp \left[-\frac{1}{2 \tau }\left(x_{2}-\frac{\sigma _{12}}{\sigma _{11}} x_{1}\right)^{2}\right],

where τ=σ22−σ122σ11−1\tau =\sigma_{22}-\sigma_{12}^{2} \sigma_{11}^{-1}. Describe the conditional distribution of X2X_{2} given X1X_{1}.

?
Problem 33.9
?
(a)

Suppose that μ(H,ω)\mu (H, \omega ) has property (i) in Theorem 33.3, and suppose that μ(H,⋅)\mu (H, \cdot ) is a version of P[X∈H∥G]P[X \in H \| \mathscr {G}] for HH in a π\pi-system generating R1\mathscr {R}^{1}. Show that μ(⋅,ω)\mu (\cdot , \omega ) is a conditional distribution of XX given A\mathscr {A}.

(b)

Use Theorem 12.5 to extend Theorem 33.3 from R1R^{1} to RkR^{k}.

(c)

Show that conditional probabilities can be defined as genuine probabilities on spaces of the special form (Ω,σ(X1,…,Xk),P)(\Omega , \sigma \left(X_{1}, \ldots , X_{k}\right), P).

Problem 33.10

↑ Deduce from (33.16) that the conditional distribution of XX given MM is

12I[M∈H](ω)+12μ(H∩(−∞,M(ω)])μ(−∞,M(ω)]), \frac{1}{2} I_{[M \in H]}(\omega )+\frac{1}{2} \frac{\mu (H \cap (-\infty , M(\omega )])}{\mu (-\infty , M(\omega )])},

where μ\mu is the distribution corresponding to FF (positive and continuous). Hint: First check H=(−∞,x]H=(-\infty , x].

?
Problem 33.11

4.1012.4↑4.1012 .4 \uparrow The following construction shows that conditional probabilities may not give measures. Complete the details.

In Problem 4.10 it is shown that there exist a probability space (Ω,F,P)(\Omega , \mathscr {F}, P), a σ\sigma-field G\mathscr {G} in F\mathscr {F}, and a set HH in F\mathscr {F} such that P(H)=12,H\mathbb {P}\left(H\right)=\frac{1}{2}, H and G\mathscr {G} are independent, G\mathscr {G} contains all the singletons, and G\mathscr {G} is generated by a countable subclass. The countable subclass generating G\mathscr {G} can be taken to be a π\pi-system P={B1,B2,…}\mathscr {P}=\left\{ B_{1}, B_{2}, \ldots \right\} (pass to the finite intersections of the sets in the original class).

Assume that it is possible to choose versions P[A∥G]P[A \| \mathscr {G}] so that P[A∥G]ωP[A \| \mathscr {G}]_{\omega } is for each ω\omega a probability measure as AA varies over F\mathscr {F}. Let CnC_{n} be the ω\omega-set where P[Bn∥G]ω=IBn(ω)P\left[B_{n} \| \mathscr {G}\right]_{\omega }=I_{B_{n}}(\omega ); show (Example 33.3) that C=⋂nCnC=\bigcap_{n} C_{n} has probability 1. Show that ω∈C\omega \in C implies that P[G∥A]ω=IG(ω)P[G \| \mathscr {A}]_{\omega }=I_{G}(\omega ) for all GG in I\mathscr {I} and hence that P[{ω}∥G]ω=1P[\left\{ \omega \right\} \| \mathscr {G}]_{\omega }=1.

Now ω∈H∩C\omega \in H \cap C implies that P[H∥G]ω≥P[{ω}∥G]ω=1P[H \| \mathscr {G}]_{\omega } \geq P[\left\{ \omega \right\} \| \mathscr {G}]_{\omega }=1 and ω∈Hc∩C\omega \in H^{c} \cap C implies that P[H∥G]ω≤P[Ω−{ω}∥G]ω=0P[H \| \mathscr {G}]_{\omega } \leq P[\Omega -\left\{ \omega \right\} \| \mathscr {G}]_{\omega }=0. Thus ω∈C\omega \in C implies that P[H∥G]ω=IH(ω)P[H \| \mathscr {G}]_{\omega }=I_{H}(\omega ). But since HH and G\mathscr {G} are independent, P[H∥G]ω=P(H)=12P[H \| \mathscr {G}]_{\omega }= \mathbb {P}\left(H\right)=\frac{1}{2} with probability 1, a contradiction.

This example is related to Example 4.10 but concerns mathematical fact instead of heuristic interpretation.

?
Problem 33.12

Let α\alpha and β\beta be σ\sigma-finite measures on the line, and let f(x,y)f(x, y) be a probability density with respect to α×β\alpha \times \beta. Define

gx(y)=f(x,y)∫R′f(x,t)β(dt)(33.34) g_{x}(y)=\frac{f(x, y)}{\int _{R^{\prime }} f(x, t) \beta (d t)} \tag {33.34}

unless the denominator vanishes, in which case take gx(y)=0g_{x}(y)=0, say. Show that, if (X,Y)(X, Y) has density ff with respect to α×β\alpha \times \beta, then the conditional distribution of YY given XX has density gX(y)g_{X}(y) with respect to β\beta. This generalizes Examples 33.5 and 33.12, where α\alpha and β\beta are Lebesgue measure.

?
Problem 33.13

18.20↑18.20 \uparrow Suppose that μ\mu and νx\nu_{x} (one for each real xx ) are probability measures on the line, and suppose that νx(B)\nu_{x}(B) is a Borel function in xx for each B∈R1B \in \mathscr {R}^{1}. Then (see Problem 18 20)

π(E)=∫R1νx[y⋅(x,y)∈E]μ(dx)(33.35) \pi (E)=\int _{R^{1}} \nu _{x}[y \cdot (x, y) \in E] \mu (d x) \tag {33.35}

defines a probability measure on (R2,R2)(R^{2}, \mathscr {R}^{2}). Suppose that (X,Y)(X, Y) has distribution π\pi, and show that νX\nu_{X} is a version of the conditional distribution of YY given XX.

?
Problem 33.14

↑\uparrow Let α\alpha and β\beta be σ\sigma-finite measures on the line. Specialize the setup of Problem 33.13 by supposing that μ\mu has density f(x)f(x) with respect to α\alpha and ν\nu has density gx(y)g_{x}(y) with respect to β\beta. Assume that gx(y)g_{x}(y) is measurable R2\mathscr {R}^{2} in the pair (x,y)(x, y), so that νx(B)\nu_{x}(B) is automatically measurable in xx. Show that (33.35) has density f(x)gx(y)f(x) g_{x}(y) with respect to α×β:π(E)=∬Ef(x)gx(y)α(dx)β(dy)\alpha \times \beta : \pi (E)= \iint_{E} f(x) g_{x}(y) \alpha (d x) \beta (d y). Show that (33.34) is consistent with f(x,y)=f(x)gx(y)f(x, y)= f(x) g_{x}(y). Put

py(x)=f(x)gx(y)∫R′f(s)gs(y)α(ds). p_{y}(x)=\frac{f(x) g_{x}(y)}{\int _{R^{\prime }} f(s) g_{s}(y) \alpha (d s)}.

Suppose that (X,Y)(X, Y) has density f(x)gx(y)f(x) g_{x}(y) with respect to α×β\alpha \times \beta, and show that pY(x)p_{Y}(x) is a density with respect to α\alpha for the conditional distribution of XX given YY.

In the language of Bayes, f(x)f(x) is the prior density of a parameter x,gx(y)x, g_{x}(y) is the conditional density of the observation yy given the parameter, and py(x)p_{y}(x) is the posterior density of the parameter given the observation.

?
Problem 33.15

↑\uparrow Now suppose that α\alpha and β\beta are Lebesgue measure, that f(x)f(x) is positive, continuous, and bounded, and that gx(y)=e−(y−x)2n/2/2π/ng_{x}(y)=e^{-(y-x)^{2} n / 2} / \sqrt{2 \pi / n}. Thus the observation is distributed as the average of nn independent normal variables with mean xx and variance 1. Show that

1npy(y+xn)→12πe−x2/2 \frac{1}{\sqrt{n}} p_{y}\left(y+\frac{x}{\sqrt{n}}\right) \rightarrow \frac{1}{\sqrt{2 \pi }} e^{-x^{2} / 2}

for fixed xx and yy. Thus the posterior density is approximately that of a normal distribution with mean yy and variance 1/n1 / n.

?
Problem 33.16

32.13↑32.13 \uparrow Suppose that XX has distribution μ\mu. Now P[A∥X]ω=f(X(ω))P[A \| X]_{\omega }=f(X(\omega )) for some Borel function ff. Show that lim⁡h→0P(A∣x−h<X≤x+h)=f(x)\lim_{h \rightarrow 0} \mathbb {P}\left( A \mid x-h<X \leq x+h \right)=f(x) for xx in a set of μ\mu-measure 1. Roughly speaking, P(A∣x−h<X≤x+h)→P(A∣X=x)\mathbb {P}\left( A \mid x-h<X \leq x+h \right) \rightarrow \mathbb {P}\left( A \mid X =x \right). Hint: Take ν(B)=P(A∩[X∈B])\nu (B)=\mathbb {P}\left(A \cap [X \in B]\right) in Problem 32.13.

?