Definition (Conditional Probability of A Set).
Given A,B∈F, if P(B)=0, then the conditional probability of A on B is defined by
P[A∣B]≐P[B]P[A∩B].
In general, the conditional probability is defined as a random variable measurable over a sub σ-field over F.
We present first the definition, and then use examples to illustrate it.
Definition (Conditional Probability). Let G be a σ-field in F, and A∈F.
The conditional probability P[A∣G] is a random variable with two properties:
P[A∣G] is measurable G and integrable.
P[A∣G] satisfies the functional equation
∫GP[A∣G]dP=P[A∩G],∀G∈G.
The following provides the definition of conditional probability with respect to a random variable.
Definition. The conditional probability of A∈F given a random variable X is defined as P[A∣σ(X)] and is denoted P[A∣X], where σ(X) is the σ-field generated by X.
Remark. The σ-field σ(X) consists of the sets [ω:X(ω)∈H] for H∈R1.
Remark.From the experiment corresponding to the σ-field σ(X), one learns which of the set [ω′:X(ω′)=x] contains ω and hence learns the value of X(ω).
Existence
It is easy to observe that if such a random variable exists and we alter its value on a set in G of measure 0, the conditions will still hold.
The key challenge, however, is to prove the existence of such a random variable.
Theorem.P[A∣G] exists.
Proof.
Define a measure μA in G by
μA(G)≐P[A∩G],∀G∈G.
Then μA is absolutely continuous w.r.t. μ.
The Randon-Nikodym theorem implies that there exists a function f:Ω→R, measurable G and integrable w.r.t. P, s.t.,
μA(G)=∫GfdP,∀G∈G.
□
Examples
Example. Let A∈F.
Let G={∅,Ω}.
Define the random variable X by
X(ω)≡P[A].
It is clear that X(ω) satisfies the two conditions required for the definition of conditional probability.
□
Example. Let A,B∈F satisfies P[B]=0 and P[Bˉ]=0.
Let G={∅,B,Bˉ,Ω}.
Define the random variable X by
X(ω)={P[A∣B],P[A∣Bˉ], if ω∈B, if ω∈Bˉ.
Clearly, X(ω) satisfies the two conditions required for the definition of conditional probability.
□
Example. Let A∈F, and Bn∈F,n∈N+ be a partition of Ω satisfying P[Bn]=0.
Further, let G be the σ-field generated by the Bn.
Define the random variable X by
X(ω)=P[A∣Bn], if ω∈Bn,
Once again, X(ω) satisfies the two conditions required for the definition of conditional probability.
□
In the examples above, when interpreting the conditional probability as a function, we don't need to know the exact value of ω to determine the function output; knowing which set in the σ-field contains ω is sufficient.
Requiring that X(ω)=P[A∣G]ω to be measurable G essentially means that, if we can determine whether ω belongs to each set H∈G, we can determine the function's output.
Specifically, knowing which set X−1(a),∀a∈R contains ω allows us to identify the value of X.
Example. Assume that Ω=R2, F=R2 be the class of Borel sets, and P be a probability measure on with density f(x,y) w.r.t the Lebesgue measure.
Let X(x,y)=x.
Further,
σ(X)=G
is the σ-field generated by the vertical strips : {E×R=[(x,y):x∈E]:E∈R1}.
Let A=R×F=[(x,y):y∈F], where F∈R1 be a horizontal strip.
Then we claim that
P[A∣G](x,y)≐φ(x,y)=⎩⎨⎧∫Rf(x,t)dt∫Ff(x,t)dt,0, if ∫Rf(x,t)dt=0, if ∫Rf(x,t)dt=0.
We need to verify that
φ(x,y) is measurable G: first, note that both ∫Ff(x,t)dt and ∫Rf(x,t)dt are measurable R.
So is their ratio.
It follows that, for each H∈R, φ−1(H)=E×RE∈R.
Example.
Let X:Ω→Rj and Y:Ω→Rk be random vectors, with distributions μ and ν respectively.
Suppose that X and Y are independent, then by Fubini's theorem, for each H∈Rj,J∈Rj+k,
We can construct the conditional probability P[(X,Y)∈J]ω as follows.
Let f(x)≐P[(x,Y)∈J]=P[{ω:(x,Y(ω))∈J}].
Then we claim that f(X(ω)) is a version of P[(X,Y)∈J∣X]ω.
First, by Fubini's theorem, f is measurable R, therefore f∘X is measurable σ(X).
Second, each G∈σ(X) has the form G={ω:X(ω)∈H} for some H∈R. Therefore,P[{ω:X(ω)∈H}⋂{ω:(X(ω),Y(ω))∈J}]=P[X∈H,(X,Y)∈J]=∫HP[(x,Y)∈J]μ(dx)=∫Hf(X)dP.
Properties of Conditional Probability
With probability 1, P[∅∣G]=0, and P[Ω∣G]=1; and
0≤P[A∣G]≤1,
for each A∈G.
Proof.
Since P[∅∣G] is measurable G, Gk≐{ω:P[∅∣G]ω>k1}∈G for each k∈N+.
It follows that
0=P[∅∩Gk]=∫GkP[∅∣G]dP≥k1⋅P[Gk]=0.
Therefore, the set {ω:P[∅∣G]ω>0}=⋃k≥1Gk has measure 0.
By analogous argument, we can prove that for the random variable −P[∅∣G] that the set {ω:−P[∅∣G]ω>0} has measure 0.
Similarly, we can show that 1−P[Ω∣G]=0 with probability 1.
To prove the last claim, let Gk≐{ω:P[∅∣G]ω<−k1}∈G for each k∈N+.
Then:
0≤P[A∩Gk]=∫GkP[A∣G]dP<−k1⋅P[Gk]=0.
Thus, P[Gk]=0.
Consequently, the set {ω:P[A∣G]ω<0}=⋃k≥1Gk has measure 0.
Applying the same reasoning to 1−P[A∣G] proves that P[A∣G]≤1 with probability 1.
□
If A1,A2,… is a finite or countable sequence of disjoint sets, then
P[n≥1⋃An∣G]=n≥1∑P[An∣G].
Proof.
Without loss of generality, assume that P[An∣G]≥0.
For each G∈G, it holds that
where the second equality follows from monotone convergence theorem.
By the previous property, we conclude that P[⋃n≥1An∣G]−∑n≥1P[An∣G]=0 with probability 1.
□
If A⊆B, then
P[B−A∣G]=P[B∣G]−P[A∣G],P[A∣G]≤P[B∣G].
Proof.
Based on the previous property,
P[B−A∣G]+P[A∣G]=P[B∣G],
which finishes the proof.
□
If An↑A, then
P[An∣G]↑P[A∣G].
Proof.
Define B1=A1, and for each n≥2, let Bn=An−An−1.
Then the Bn are mutually disjoint, and ⋃n≥1Bn=A.
Based on property 3, it holds with probability 1 that
P[A1∣G]≤P[A2∣G]≤⋯≤P[A∣G].
Further, based on property 2, it holds with probability 1 that
As there are only countably many of these events, their intersection, denoted by E, has probability 1.
For each ω∈E, extend F(⋅,ω) to all of R by F(x,ω)≐inf[F(r,ω):x<r].
It is easy to see that F(⋅,ω) is non-decreasing, right-continuous and therefore a probability distribution function.
Therefore, there exists a probability measure μ(⋅,ω) on (R,R) with distribution function F(⋅,ω).
For each ω∈/E, take F(x,ω)=F(x) for some arbitrary but fixed distribution function F, and let μ(⋅,ω) be the probability measure corresponding to F(x).
Thus, condition 1 is satisfied.
Next, consider the class of H for which μ(H,⋅) is measurable G:
S≐{H∈R:μ(H,⋅) is measurable G}.
Then
By definition of F(r,ω), S contains (−∞,r] for rational r.
S is a λ-system, since
Ω∈S.
Let A,B∈cS. Since μ is a measure, μ(A−B,⋅)=μ(A,⋅)−μ(B,⋅). Since μ(A,⋅) and μ(B,⋅) are G measurable, so is μ(A−B,⋅).
Let An∈S, n≥1 are mutually disjoint. Since μ is a measure, μ(⋃nAn,⋅)=∑n≥1μ(An,⋅).
Since μ(An,⋅) are G measurable, so is μ(⋃n≥1An,⋅).
Therefore, S=G.
Finally, for each r∈Q and H=(−∞,r], with probability 1, μ(H,ω)=P[X≤r∣G]ω; Therefore, for each G∈G,
∫Gμ(H,ω)P(dω)=P([X∈H]∩G).
Since the H=(−∞,r],r∈Q is a π system which generates R, this holds for all H∈R as well.
□
Reference
Billingsley, Patrick. "Probability and Measure." 3rd ed. Wiley Series in Probability and Mathematical Statistics. New York: Wiley, 1995.