Docsity

Probability theory lecture Notes, Lecture notes of Probability and Statistics

Partial preview of the text

Download Probability theory lecture Notes and more Lecture notes Probability and Statistics in PDF only on Docsity!

MATH/STAT 235A — Probability Theory

Lecture Notes, Fall 2011

Dan Romik

Department of Mathematics, UC Davis

December 15, 2011

Contents

Note to the reader. These notes are based to a large extent on Chapters 1–3 in the text- book Probability: Theory and Examples, 4th Ed. by Rick Durrett. References to Durrett’s book appear throughout the text as [Dur2010]. References to the earlier 3rd edition appear as [Dur2004].

Part I — Foundations

Chapter 1: Introduction

1.1 What is probability theory?

In this course we’ll learn about probability theory. But what exactly is probability theory? Like some other mathematical fields (but unlike some others), it has a dual role:

  • It is a rigorous mathematical theory – with definitions, lemmas, theorems, proofs etc.
  • It is a mathematical model that purports to explain or model real-life phenomena.

We will concentrate on the rigorous mathematical aspects, but we will try not to forget the connections to the intuitive notion of real-life probability. These connections will enhance our intuition, and they make probability an extremely useful tool in all the sciences. And they make the study of probability much more fun, too! A note of caution is in order, though: mathematical models are only as good as the assumptions they are based on. So probability can be used, and it can be (and quite frequently is) abused...

Example 1.1. The theory of differential equations is another mathematical theory which has the dual role of a rigorous theory and an applied mathematical model. On the other hand, number theory, complex analysis and algebraic topology are examples of fields which are not normally used to model real-life phenomena.

1.2 The algebra of events

A central notion in probability is that of the algebra of events (we’ll clarify later what the word “algebra” means in this context). We begin with an informal discussion. We imagine that probability is a function, denoted P, that takes as its argument an “event” (i.e., occurrence of something in a real-life situation involving uncertainty) and returns a real number in [0, 1] representing how likely this event is to occur. For example, if a fair coin

(i.e., the event that infinitely many of the events An occurred).

(b) While this experiment takes place, an identical copy of the experiment is taking place in the next room. The random selections in the two neighboring rooms have no connection to each other, i.e., they are “independent”. For each n ≥ 1, let Bn be the event that at step n the black ball was drawn out of the “copy” experiment urn. Now let B∞ denote the event

B∞ = “in total, the black ball was selected infinitely many times in the second copy of the experiment”,

(in other words, the event that infinitely many of the events Bn occurred).

(c) For each n ≥ 1, let Cn be the event that both An and Bn occurred, i.e.

Cn = “at step n, the black ball was selected simultaneously in both experiments”,

and let C∞ denote the event “Cn occurred for infinitely many values of n”.

Theorem 1.3. We have

P(A∞) = P(B∞) = 1, P(C∞) = 0.

Proof. These claims are consequences of the Borel-Cantelli lemmas which we will learn about later in the course. Here is a sketch of the proof that P (C∞) = 0 (remember, this is still an “informal discussion”, so our “proof” is really more of an exploration of what formal assumptions are needed to make the claim hold). For each n we have

P(An) = P(Bn) = (^) n + 1^1 ,

since at time n each of the urns contains n + 1 balls, only one of which is black. Moreover, the choices in both rooms are made independently, so we have

P(Cn) = P(An ∧ Bn) = P(An)P(Bn) = (^) (n + 1)^12.

It turns out that to prove that P(C∞) = 0, the only relevant bit of information is that the infinite series ∑∞ n=1 P(Cn) is a convergent series; the precise values of the probabilities are

irrelevant. Indeed, we can try to do various manipulations on the definition of the event C, as follows:

C∞ = “infinitely many of the Cn’s occurred” = “for all N ≥ 1, the event Cn occurred for some n ≥ N ”.

For any N ≥ 1, denote the event “Cn occurred for some n ≥ N ” by DN. Then

C∞ = “for all N ≥ 1, DN occurred” = D 1 ∧ D 2 ∧ D 3 ∧... (infinite conjunction...?!) =

∧^ ∞

N =

DN (shorthand notation for infinite conjunction).

In particular, in order for the event C∞ to happen, DN must happen for any fixed value of N (for example, D 100 must happen, D 101 must happen, etc.). It follows that C∞ is at most as likely to happen as any of the DN ’s; in other words we have

P(C) ≤ P(DN ), (N ≥ 1).

Now, what can we say about P(DN )? Looking at the definition of DN , we see that it too can be written as an infinite disjunction of events, namely

DN = CN ∨ CN +1 ∨ CN +2 ∨... (infinite disjunction)

∨^ ∞

n=N

Cn (shorthand for infinite disjunction).

If this were a finite disjunction, we could say that the likelihood for at least one of the events to happen is at most the sum of the likelihoods (for example, the probability that it will rain next weekend is at most the probability that it will rain next Saturday, plus the probability that it will rain next Sunday; of course it might rain on both days, so the sum of the probabilities can be strictly greater than the probability of the disjunction). What can we say for an infinite disjunction? Since this is an informal discussion, it is impossible to answer this without being more formal about the precise mathematical model and its assumptions. As it turns out, the correct thing to do (in the sense that it leads to the most interesting and natural mathematical theory) is to assume that this fact that holds for finite

Chapter 2: Probability spaces

2.1 Basic definitions

We now formalize the concepts introduced in the previous lecture. It turns out that it’s easiest to deal with events as subsets of a large set called the probability space, instead of as abstract logical statements. The logical operations of negation, conjunction and disjunction are replaced by the set-theoretic operations of taking the complement, intersection or union, but the intuitive meaning attached to those operations is the same.

Definition 2.1 (Algebra). If Ω is a set, an algebra of subsets of Ω is a collection F of subsets of Ω that satisfies the following axioms:

∅ ∈ F, (A1) A ∈ F =⇒ Ω \ A ∈ F, (A2) A, B ∈ F =⇒ A ∪ B ∈ F. (A3)

A word synonymous with algebra in this context is field.

Definition 2.2 (σ-algebra). A σ-algebra (also called a σ-field) is an algebra F that sat- isfies the additional axiom

A 1 , A 2 , A 3 ,... ∈ F =⇒ ∪∞ n=1An ∈ F. (A4)

Example 2.3. If Ω is any set, then {∅, Ω} is a σ-algebra – in fact it is the smallest possible σ-algebra of subsets of Ω. Similarly, the power set P(Ω) of all subsets of Ω is a σ-algebra, and is (obviously) the largest σ-algebra of subsets of Ω.

Definition 2.4 (Measurable space). A measurable space is a pair (Ω, F) where Ω is a set and F is a σ-algebra of subsets of Ω.

Definition 2.5 (Probability measure). Given a measurable space (Ω, F), a probability measure on (Ω, F) is a function P : F → [0, 1] that satisfies the properties:

P(∅) = 0, P(Ω) = 1, (P1)

A 1 , A 2 ,... ∈ F are pairwise disjoint =⇒ P(∪∞ n=1An) =

∑^ ∞

n=

P(An). (P2)

Definition 2.6 (Probability space). A probability space is a triple (Ω, F, P), where (Ω, F) is a measurable space, and P is a probability measure on (Ω, F).

Intuitively, we think of Ω as representing the set of possible outcomes of a probabilistic experiment, and refer to it as the sample space. The σ-algebra F is the σ-algebra of events, namely those subsets of Ω which have a well-defined probability (as we shall see later, it is not always possible to assign well-defined probabilities to all sets of outcomes). And P is the “notion” or “measure” of probability on our sample space.

Probability theory can be described loosely as the study of probability spaces (this is of course a gross oversimplification...). A more general mathematical theory called measure theory studies measure spaces, which are like probability spaces except that the measures can take values in [0, ∞] instead of [0, 1], and the total measure of the space is not necessarily equal to 1 (such measures are referred to as σ-additive nonnegative measures). Measure theory is an important and non-trivial theory, and studying it requires a separate concentrated effort. We shall content ourselves with citing and using some of its most basic results. For proofs and more details, refer to Chapter 1 and the measure theory appendix in [Dur2010] or to a measure theory textbook.

2.2 Properties and examples

Lemma 2.7. If (Ω, F, P) is a probability space, then we have:

(i) Monotonicity: If A, B ∈ F, A ⊂ B then P(A) ≤ P(B).

(ii) Sub-additivity: If A 1 , A 2 ,... ∈ F then P(∪∞ n=1An) ≤ ∑∞ n=1 P(An).

(iii) Continuity from below: If A 1 , A 2 ,... ∈ F such that A 1 ⊂ A 2 ⊂ A 3 ⊂.. ., then

P(∪∞ n=1An) = lim n→∞ P(An).

(iv) Continuity from above: If A 1 , A 2 ,... ∈ F such that A 1 ⊃ A 2 ⊃ A 3 ⊃.. ., then

P(∩∞ n=1An) = lim n→∞ P(An).

How do we generate a σ-algebra of subsets of (0, 1) that contains all the intervals? We already saw that the set of all subsets of (0, 1) will work. But that is too large! If we take all subsets, we will see in an exercise later that it will be impossible to construct the probability measure P to satisfy our requirements. So let’s try to build the smallest possible σ-algebra. One way (which can perhaps be described as the bottom-up approach) would be to start with the intervals, then take all countable unions of such and add them to our collection of sets, then add all countable intersections of such sets, then add all countable unions, etc. Will this work? In principle it can be made to work, but is a bit difficult and requires knowing something about transfinite induction. Fortunately there is a more elegant way (but somewhat more abstract and less intuitive) of constructing the minimal σ-algebra, that is outlined in the next exercise below, and can be thought of as the top-down approach. The resulting σ-algebra of subsets of (0, 1) is called the Borel σ-algebra; its elements are called Borel sets. What about the probability measure P? Here we will simply cite a result from measure theory that says that the measure we are looking for exists, and is unique. This is not too difficult to prove, but doing so would take us a bit too far off course.

Theorem 2.11.. Let B be the σ-algebra of Borel sets on (0, 1), the minimal σ-algebra containing all the sub-intervals of (0, 1), proved to exist in the exercise below. There exists a unique measure P on the measure space satisfying (1), called Lebesgue measure on (0, 1).

Exercise 2.12 (The σ-algebra generated by a set of subsets of Ω). (i) Let Ω be a set, and let {Fi}i∈I be some collection of σ-algebras of subsets of Ω, indexed by some index set I. Prove that the intersection of all the Fi’s (i.e., the collection of subsets of Ω that are elements of all the Fi’s) is also a σ-algebra. (ii) Let Ω be a set, and let A be a collection of subsets of Ω. Prove that there exists a unique σ-algebra σ(A) of subsets of Ω that satisfies the following two properties:

  1. A ⊂ σ(A) (in words, σ(A) contains all the elements of A).
  2. σ(A) is the minimal σ-algebra satisfying property 1 above, in the sense that if F is any other σ-algebra that contains all the elements of A, then σ(A) ⊂ F.

Hint for (ii): Let (Fi)i∈I be the collection of all σ-algebras of subsets of Ω that contain A. This is a non-empty collection, since it contains for example P(Ω), the set of all subsets of Ω. Any σ-algebra σ(A) that satisfies the two properties above is necessarily a subset of any of the Fi’s, hence it is also contained in the intersection of all the Fi’s, which is a σ-algebra by part (i) of the exercise.

Definition 2.13. If A is a collection of subsets of a set Ω, the σ-algebra σ(A) discussed above is called the σ-algebra generated by A.

Example 2.14. The space of infinite coin toss sequences. Another archetypical experiment in probability theory is that of a sequence of independent fair coin tosses, so let’s try to model this experiment with a suitable probability space. If for convenience we represent the result of each coin as a binary value of 0 or 1, then the sample space Ω is simply the set of infinite sequences of 0’s and 1’s, namely

Ω = {(x 1 , x 2 , x 3 ,.. .) : xi ∈ { 0 , 1 }, i = 1, 2 ,... }^ = { 0 , 1 }N.

What about the σ-algebra F? We will take the same approach as we did in the previous example, which is to require certain natural sets to be events, and to take as our σ-algebra the σ-algebra generated by these “elementary” events. In this case, surely, for each n ≥ 1, we would like the set An(1) := {x = (x 1 , x 2 ,.. .) ∈ Ω : xn = 1} (2)

to be an event (in words, this represents the event “the coin toss xn came out Heads”). Therefore we take F to be the σ-algebra generated by the collection of sets of this form. Finally, the probability measure P should conform to our notion of a sequence of inde- pendent fair coin tosses. Generalizing the notation in (2), for a ∈ { 0 , 1 } define

An(a) = {x = (x 1 , x 2 ,.. .) ∈ Ω : xn = a}.

Then P should satisfy P(An(a)) =^12 ,

representing the fact that the n-th coin toss is unbiased. But more generally, for any n ≥ 1 and (a 1 , a 2 ,... , an) ∈ { 0 , 1 }n, since the first n coin tosses are independent, P should satisfy

P

A 1 (a 1 ) ∩ A 2 (a 2 ) ∩... ∩ An(an)

= (^21) n. (3)

Chapter 3: Random variables

3.1 Random variables and their distributions

As we have seen, a probability space is an abstract concept that represents our intuitive notion of a probabilistic experiment. Such an experiment however can be very long (even infinite) and contain a lot of information. To make things more manageable, we consider numerical-valued functions on probability spaces, which we call random variables. How- ever, not any function will do: a random variable has to relate in a nice way to the measurable space structure, so that we will be able to ask questions like “what is the probability that this random variable takes a value less than 8”, etc. This leads us to the following definitions.

Definition 3.1. If (Ω 1 , F 1 ) and (Ω 2 , F 2 ) are two measurable spaces, a function X : Ω 1 → Ω 2 is called measurable if for any set E ∈ F 2 , the set

X−^1 (E) = {ω ∈ Ω 1 : X(ω) ∈ E}

is in F 1.

Definition 3.2. If (Ω, F, P) is a probability space, a real-valued function X : Ω → R is called a random variable if it is a measurable function when considered as a function from the measurable space (Ω, F) to the measurable space (R, B), where B is the Borel σ-algebra on R, namely the σ-algebra generated by the intervals.

Exercise 3.3. Let (Ω 1 , F 1 ) and (Ω 2 , F 2 ) be two measurable spaces such that F 2 is the σ- algebra generated by a collection A of subsets of Ω 2. Prove that a function X : Ω 1 → Ω 2 is measurable if and only if X−^1 (A) ∈ F 1 for all A ∈ A.

It follows that the random variables are exactly those real-valued functions on Ω for which the question “What is the probability that a < X < b?”

has a well-defined answer for all a < b. This observation makes it easier in practice to check if a given function is a random variable or not, since working with intervals is much easier than with the rather unwieldy (and mysterious, until you get used to them) Borel sets.

What can we say about the behavior of a random variable X defined on a probability space (Ω, F, P)? All the information is contained in a new probability measure μX on the measurable space (R, B) that is induced by X, defined by

μX (A) = P(X−^1 (A)) = P(ω ∈ Ω : X(ω) ∈ A).

The number μX (A) is the probability that X “falls in A” (or “takes its value in A”).

Exercise 3.4. Verify that μX is a probability measure on (R, B). This measure is called the distribution of X, or sometimes referred to more fancifully as the law of X. In some textbooks it is denoted LX.

Definition 3.5. If X and Y are two random variables (possibly defined on different probabil- ity spaces), we say that X and Y are identically distributed (or equal in distribution) if μX = μY (meaning that μX (A) = μY (A) for any Borel set A ⊂ R). We denote this

X =d Y.

How can we check if two random variables are identically distributed? Once again, working with Borel sets can be difficult, but since the Borel sets are generated by the intervals, a simpler criterion involving just this generating family of sets exists. The following lemma is a consequence of basic facts in measure theory, which can be found in the Measure Theory appendix in [Dur2010].

Lemma 3.6. Two probability measures μ 1 , μ 2 on the measurable space (R, B) are equal if only if they are equal on the generating set of intervals, namely if

μ 1

(a, b)

= μ 2

(a, b)

for all −∞ ≤ a < b < ∞.

3.2 Distribution functions

Instead of working with distributions of random variables (which are probability measure on the measurable space (R, B) and themselves quite unwieldy objects), we will encode them in a simpler object called a distribution function (sometimes referred to as a cumulative distribution function, or c.d.f.).

This fact has a measure-theoretic proof similar to the proof of Theorem 2.11, but fortu- nately in this case, there is a more probabilistic proof that relies only on the existence of Lebesgue measure. (This is one of many examples of probabilistic ideas turning out to be useful to prove facts in analysis and measure theory). This involves the probabilistic concept of a quantile, (a generalization of the concepts of percentile and median that we frequently hear about in news reports).

Definition 3.11. If X is a random variable on a probability space (Ω, F, P) and 0 < p < 1 is a number, then a real number x is called a p-quantile of X if the inequalities

P(X ≤ x) ≥ p, P(X ≥ x) ≥ 1 − p

hold.

Note that the question of whether t is a p-quantile of X can be answered just by knowing the distribution function FX of X: since P(X ≤ x) = FX (x) and P(X ≥ x) = 1 − F (x−), we can write the conditions above as

FX (x−) ≤ p ≤ FX (x).

Lemma 3.12. A p-quantile for X always exists. Moreover, the set of p-quantiles of X is equal to the (possibly degenerate) closed interval [ap, bp], where

ap = sup{x : FX (x) < p}, bp = inf{x : FX (x) > p}.

Exercise 3.13. Prove Lemma 3.12.

Proof of Theorem 3.10. Let ((0, 1), B, P) be the unit interval with Lebesgue measure, repre- senting the experiment of drawing a uniform random number in (0, 1). We shall construct our random variable X on this space. Inspired by the discussion of quantiles above, we define

X(p) = sup{y : F (y) < p}, (0 < p < 1).

If F were the distribution function of a random variable, then X(p) would be its (minimal) p-quantile. Note that properties (i) and (ii) of F imply that X(p) is defined and finite for any p and that it is a monotone nondecreasing function on (0, 1). In particular, it is measurable, so it is in fact a random variable on the probability space ((0, 1), B, P). We need to show that F is its distribution function. We will show that for each p ∈ (0, 1) and x ∈ R, we have that X(p) ≤ x if and only if p ≤ F (x). This will imply that for every x ∈ R we have the equality of sets {p : X(p) ≤ x} = {p : p ≤ F (x)},

and, applying P to both sides of this equation we will get

FX (x) = P(X ≤ x) = P(p : p ≤ F (x))^ = P((0, F (x)])^ = F (x)

(since P is Lebesgue measure). To prove the claim, note that if p ≤ F (x) then all elements of the set {y : F (y) < p} satisfy y ≤ x, and therefore the supremum X(p) of this set also satisfies X(p) ≤ x. Conversely, if p > F (x), then, since F is right-continuous, we have p > F (x + ) for some  > 0. It follows that X(p) ≥ x +  > x (since x +  is in the set {y : F (y) < p}).

The function X defined in the proof above is sometimes referred to as the (lower) quantile function of the distribution F. Note that if F is a strictly increasing function then X is simply its ordinary (set-theoretic) inverse function.

3.3 Examples

Example 3.14. Indicator random variables If A is an event in a probability space (Ω, F, P), its indicator random variable is the r.v. (^1) A defined by

(^1) A(ω) =

0 ω /∈ A, 1 ω ∈ A. The above discussion shows that to specify the behavior of a random variable, it is enough to specify its distribution function. Another useful concept is that of a density function.