Probability Theory/Conditional probability

From testwiki
Revision as of 21:21, 11 September 2016 by imported>JackBot (Bayes' theorem: using AWB)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics and multiplication formula

Template:TextBox

Using multiplicative notation, we could have written

PA(B):=P(BA)P(A)

instead.

This definition is intuitive, since the following lemmata are satisfied:

Lemma 3.2:

ABPA(B)=1

Lemma 3.3:

PA(B+C)=PA(B)+PA(C)

Each lemma follows directly from the definition and the axioms holding for P (definition 2.1).

From these lemmata, we obtain that for each A, (Ω,,PA) satisfies the defining axioms of a probability space (definition 2.1).

With this definition, we have the following theorem:

Template:TextBox

Proof:

From the definition, we have

PA(B)P(A)=P(AB)

for all A,B. Thus, as is an algebra, we obtain by induction:

P(A1A2An)=P((A1A2An1)An)=PA1An1(An)P(A1An1)=PA1An1(An)PA1An2(An1)PA1(A2)P(A1).

Bayes' theorem

Template:TextBox

Proof:

j=1nP(Aj)PAj(B)=j=1nP(Aj)P(AjB)P(Aj)=j=1nP(AjB)=P(j=1nAjB)=P((j=1nAj)B)=P(ΩB)=P(B),

where we used that the sets A1B,,AnB are all disjoint, the distributive law of the algebra and ΩB=B.

Template:TextBox

Proof:

P(A)PA(B)P(B)=P(A)P(AB)P(A)P(B)=PB(A).

This formula may look somewhat abstract, but it actually has a nice geometrical meaning. Suppose we are given two sets A,B, already know P(A), P(B) and PA(B), and want to compute PB(A). The situation is depicted in the following picture:

We know the ratio of the size of AB to A, but what we actually want to know is how AB compares to B. Hence, we change the 'comparitant' by multiplying with P(A), the old reference magnitude, and dividing by P(B), the new reference magnitude.

Template:TextBox

Proof:

From the basic version of the theorem, we obtain

PB(Aj)=PAj(B)P(Aj)P(B).

Using the formula of total probability, we obtain

PB(Aj)=PAj(B)P(Aj)k=1nP(Ak)PAk(B).

Template:BookCat