Probability Measures and Bayes' Rule

Week 2

Reading

FT-2 | Probability Measure

We have already considered the measurable space (Ξ©,β„±οΈ€) of the sample space and 𝜎-algebra. We can now define the probability measure β„™ as a measure defined on events in the 𝜎-algebra β„±οΈ€, taking values in the unit interval [0,1]. This measures the size of the events, which has two properties: the probability of Ξ© is 1, which means that all outcomes are accounted for in the sample space, and that the measure is countably additive, which allows us to extend the probability of individual events to the entire 𝜎-algebra.

There are three ways of thinking on how the numerical values of probability manifest. Frequentism assigns values directly from data. Objectivism assigns values based on some model which is considered to describe aspects of the universe. Subjectivism characterizes probability as measuring beliefs about the world.

The definition of probability measure is as follows:

β„™(Ξ©)=1

and for any sequence of disjoint events in β„±οΈ€:

β„™(⋃𝑛=1βˆžπ΄π‘›)=βˆ‘π‘›=1βˆžβ„™(𝐴𝑛)

There are some other basic properties that arise from these definitions:

When π΄βŠ‚π΅

β„™(π΅βˆ–π΄)=β„™(𝐡)βˆ’β„™(𝐴)

β„™(𝐴)≀ℙ(𝐡)

β„™(𝐴𝑐)=1βˆ’β„™(𝐴)

β„™(βˆ…)=0

For all 𝐴,𝐡:

β„™(𝐴βˆͺ𝐡)=β„™(𝐴)+β„™(𝐡)βˆ’π‘ƒ(𝐴∩𝐡)

Poincaré’s formula:

β„™(𝐴1βˆͺ𝐴2βˆͺ…βˆͺ𝐴𝑛)=βˆ‘πΌβŠ‚{1,2,…,𝑛}(βˆ’1)|𝐼|+1β„™(β‹‚π‘–βˆˆπΌπ΄π‘–)

=βˆ‘π‘–=1𝑛ℙ(𝐴𝑖)βˆ’βˆ‘π‘–<𝑗≀𝑛ℙ(π΄π‘–βˆ©π΄π‘—)

+βˆ‘π‘–<𝑗<π‘˜β‰€π‘›β„™(π΄π‘–βˆ©π΄π‘—βˆ©π΄π‘˜)βˆ’β€¦+(βˆ’1)𝑛×ℙ(𝐴1∩𝐴2β€¦βˆ©π΄π‘›)

This is better expressed as the idea that the probability measure of the unions of sets can be expressed as the alternating signed partial sum of all the different partial intersections of the sequence of sets. It is proved by induction over the previous property.

Finite subadditivity (Boole’s inequality):

β„™(⋃𝑖=1𝑛𝐴𝑖)β‰€βˆ‘π‘–=1𝑛ℙ(𝐴𝑖)

To show this, we shall set: 𝐡1=𝐴1,𝐡2=𝐴2∩𝐴1𝑐,…,𝐡𝑛=π΄π‘›βˆ©π΄π‘›βˆ’1π‘βˆ©β€¦βˆ©π΄1𝑐

You can think of this every successive element being disjoint with all the previous elements, which means

π΅π‘–βˆ©π΅π‘—=βˆ…

and also

⋃𝑖=1𝑛𝐡𝑖=⋃𝑖=1𝑛𝐴𝑖

because the union of all the disjoint parts of the sets will include all the overlap in the sets.

A partition of a set Ξ© is a collection of disjoint sets {Ω𝑖} where the union recreates the original set: ⋃𝑖Ω𝑖=Ξ©

We can think of the probability of an event as the intersections of the event with a partition of Ξ©. This is the law of total probability. For (𝐴𝑖)π‘–βˆˆπΌ a partition of Ξ© and every event π΅βˆˆβ„±οΈ€:

β„™(𝐡)=βˆ‘π‘–βˆˆπΌβ„™(π΅βˆ©π΄π‘–)

Uniqueness of Probability Measures

Let’s consider the idea of a πœ†-system 𝒰︀ which is a family of events where:

Ξ©βˆˆπ’°οΈ€

For any 𝐴,π΅βˆˆπ’°οΈ€ and π΄βŠ‚π΅, π΅βˆ–π΄βˆˆπ’°οΈ€

For a sequence of disjoint events 𝐴𝑛, indexed by π‘›βˆˆπ’°οΈ€:

β‹ƒπ‘›π΄π‘›βˆˆπ’°οΈ€

You might notice that this is fairly similar to the definition of a 𝜎-algebra. In fact, a 𝜎-algebra is a πœ†-system, and every πœ†-system closed to finite intersection is a 𝜎-algebra.

Now let’s consider a collection of sets β„³οΈ€βŠ†π‘ƒ(Ξ©) where 𝒰︀(β„³οΈ€) is the smallest πœ†-system which contains β„³οΈ€: 𝒰︀(β„³οΈ€)=𝜎(β„³οΈ€)

Note that this is distinct from the previous definition because although the πœ†-system is known to be a 𝜎-algebra, it is now also defined to be the same as one which is generated by the same collection of sets.

Now let’s consider some probability measures β„™1 and β„™2 on the 𝜎-algebra β„±οΈ€ generated from a collection of sets β„³οΈ€. If β„™1 and β„™2 coincide on β„³οΈ€, then they coincide on β„±οΈ€. This means that for every event, the two probability measures assign the same probabilities, which includes all the different kinds of events generated by the 𝜎-algebra. This also applies to partitions of a sample space.

Monotone Class

This is a variant of a πœ†-system. A monotone class β„³οΈ€ of subsets in Ξ© is closed under the formation of monotone unions and intersections, i.e.

𝐴1,𝐴2,β€¦βˆˆβ„³οΈ€ and π΄π‘›βŠ†π΄π‘›+1,βˆͺ𝑛𝐴𝑛=π΄β‡’π΄βˆˆβ„³οΈ€

where the sets are increasing in size, containing the previous one,, and the union of all of them equals the last one.

𝐴1,𝐴2,β€¦βˆˆβ„³οΈ€ and π΄π‘›βŠ‡π΄π‘›+1β‡’βˆ©π‘›π΄π‘›βˆˆβ„³οΈ€

or where the sets are decreasing in size, containing the next one, and the intersection of all of them equals the last one.

Open question: more stuff about monotone classes only if the professor talks about them.

Monotone Convergence Properties of Probability

How do we deal with infinity?

If 𝐴𝑛,π΄βˆˆβ„±οΈ€ and 𝐴𝑛↑𝐴, which means that 𝐴 is a monotonically increasing class, then β„™(𝐴𝑛)↑ℙ(𝐴) and the same is true for 𝐴𝑛↓𝐴.

Under countable subadditivity, the probability measure of the union of sets is less than or equal to the sum of the probability measures of those sets. That makes sense intuitively because it would be equal if the sets were disjoint, but the sets might overlap, making it less. We can use the above properties to extend this idea to countably infinite sets.

A null set is a set with probability measure 0. βˆ… is the obvious example, and in infinite sets there may be others like the probability measure of a singleton set in the Borel 𝜎-algebra.

Conditional Probability

β€œIn some cases the probability of an event happening depends not just on the experiment itself but on other information as well. Conditional probability forms a framework in which this additional information can be incorporated.”

β„™(𝐴|𝐡)=β„™(𝐴∩𝐡)β„™(𝐡)

Obviously, the probability measure of 𝐡 cannot be 0, which makes sense because in order for something to be conditioned, the condition has to have happened, which is not possible if the probability is 0.

We can get the multiplicative rule from this formula.

β„™(𝐴∩𝐡)=β„™(𝐴|𝐡)β„™(𝐡),

β„™(𝐴∩𝐡∩𝐢)=β„™(𝐴|𝐡∩𝐢)β„™(𝐡|𝐢)β„™(𝐢), etc.

Let’s take an example. We have Urn 1 which contains 2 black balls and 3 white balls, and Urn 2 which contains 1 of each. One urn is chosen at random and one ball is chosen randomly from that urn. If a black ball is chosen, what is the probability it came from Urn 1?

Let’s assign our variables.

𝐴 is the event of choosing Urn 1, and 𝐡 is the event of choosing a black ball. We’re trying to find 𝑃(𝐴|𝐡), so we need 𝑃(𝐴∩𝐡). There are four total events in our sample space: { Urn1Black, Urn1White, Urn2Black, Urn2White }. The probability of Urn1Black is 0.5Γ—0.4=0.2. The probability of choosing a black ball is 0.5 in the case of Urn 2 and 0.4 in the case of Urn 1, which averages to 0.45. So the overall probability is 0.2/0.45, which is 4/9.

The total probability formula given 𝐴𝑛 partition of Ξ© is

β„™(𝐡)=βˆ‘π‘–=1𝑛ℙ(𝐡|𝐴𝑖)β„™(𝐴𝑖)

for any event π΅βˆˆβ„±οΈ€.

If Stanley wants to draw a card from 20, where 8 are favorable to him, what is the probability of him drawing a favorable card if he draws first, second, or third?

First is easy. 8/20=0.4

For second, there are two different possibilities. Either the first draw was a favorable or unfavorable card. Let’s use the formula above.

𝐡 is the event of Stanley drawing a favorable card. There are two 𝐴 events in consideration, which are the first card being favorable and unfavorable. β„™(𝐴1)=2/5 and β„™(𝐴2)=3/5. If a favorable card was drawn first, then the new probability is 7/19. Otherwise, it’s 8/19. So the complete formula becomes

β„™(𝐡)=2/5Γ—7/19+3/5Γ—8/19=0.4

It’s clear that the same situation would arise if he drew the third card.

Bayes’ formula is the following (like the others it’s based on a partition 𝐴 and arbitrary set π΅βˆˆβ„±οΈ€):

β„™(𝐴𝑗|𝐡)=β„™(𝐡|𝐴𝑗)β„™(𝐴𝑗)βˆ‘π‘–=1𝑛ℙ(𝐡|𝐴𝑖)β„™(𝐴𝑖)

β€œThis theorem can be interpreted as: All of a sudden we find out 𝐡 happened. In the light of this new information there should be a simple way to update all the probabilities of the sets in the partition (β„™(𝐴𝑗|𝐡)). Indeed, the Bayes rule provides just that.”

So you take the existing 𝐴, and then condition it on 𝐡, and then the calculation cascades across the events in the sample space i.e. π΄.

Independence

Two events 𝐴 and 𝐡 are defined as independent if

β„™(𝐴∩𝐡)=β„™(𝐴)β„™(𝐡)

which can be extended to the idea of being mutually independent (or simply independent) for a set of events:

β„™(β‹ƒπ‘—βˆˆπ½π΄π‘—)=βˆπ‘—βˆˆπ½β„™(𝐴𝑗)

There’s also the idea of jointly independent (or pairwise independent):

β„™(𝐴𝑖βˆͺ𝐴𝑗)=β„™(𝐴𝑖)β„™(𝐴𝑗)

which does not necessarily imply independence.

For two 𝜎-algebras 𝐺 and 𝐻, they are β„™-independent if

β„™(𝐺βˆͺ𝐻)=β„™(𝐺)β„™(𝐻)

and the same applies for mutual independence as with events.

We can also show that if all 𝜎-algebras in a family are each generated from a collection of independent sets, they are independent. This independence is also associative. There’s an additional property of β€œdisassociativity of the independence”, where independent families included in bigger independent families remain independent.

𝜎-algebras generated by events are related in their independence.