Docsity

Analysis of a Dart Experiment: Convergence of Sequences and Minimum Distance Properties - , Study notes of Probability and Statistics

Toggle sidebar
bg1
ECE 541 - NOTES ON PROBABILITY THEORY AND
STOCHASTIC PROCESSES
MAJEED M. HAYAT
These notes are made available to students of the course ECE-541 at the University
of New Mexico. They cannot and will not be used for any type of profitable repro-
duction or sale. Parts of the materials have been extracted from texts and notes by
other authors. These include the text of Probability Theory by Y. Chow and H. Te-
icher, the notes on stochastic analysis by T. G. Kurtz, the text of Real and Complex
Analysis by W. Rudin, the notes on measure and integration by A. Beck, the text
of Probability and Measure by P. Billingsley, the text of Introduction to Stochastic
Processes by P. G. Hoel, S. C. Port, and C. J. Stone, and possibly other sources.
In compiling these notes I tried, as much as possible, to make explicit reference to
these sources. If any omission is found, it is due to my oversight for which I seek the
authors’ forgiveness.
I am truly indebted to these outstanding scholars and authors that I mentioned
above and whom I obtained most of the materials from; I am truly privileged to have
been taught by some of them. I also like to thank Dr. Bradley Ratliff for helping in
the tedious task of typing these notes.
This material is intended as a graduate-level treatment of probability and stochastic
processes. It requires basic undergraduate knowledge of probability, random variables,
probability distributions and density functions, and moments. A course like ECE340
will cover these topics at an undergraduate level. The material also requires some
knowledge of elementary analysis; concepts such as limits and continuity, basic set
theory, some basic topology, Fourier and Laplace transforms, and elementary linear
systems theory.
Date: December 17, 2008.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51

Partial preview of the text

Download Analysis of a Dart Experiment: Convergence of Sequences and Minimum Distance Properties - and more Study notes Probability and Statistics in PDF only on Docsity!

ECE 541 - NOTES ON PROBABILITY THEORY AND

STOCHASTIC PROCESSES

MAJEED M. HAYAT

These notes are made available to students of the course ECE-541 at the University of New Mexico. They cannot and will not be used for any type of profitable repro- duction or sale. Parts of the materials have been extracted from texts and notes by other authors. These include the text of Probability Theory by Y. Chow and H. Te- icher, the notes on stochastic analysis by T. G. Kurtz, the text of Real and Complex Analysis by W. Rudin, the notes on measure and integration by A. Beck, the text of Probability and Measure by P. Billingsley, the text of Introduction to Stochastic Processes by P. G. Hoel, S. C. Port, and C. J. Stone, and possibly other sources. In compiling these notes I tried, as much as possible, to make explicit reference to these sources. If any omission is found, it is due to my oversight for which I seek the authors’ forgiveness. I am truly indebted to these outstanding scholars and authors that I mentioned above and whom I obtained most of the materials from; I am truly privileged to have been taught by some of them. I also like to thank Dr. Bradley Ratliff for helping in the tedious task of typing these notes. This material is intended as a graduate-level treatment of probability and stochastic processes. It requires basic undergraduate knowledge of probability, random variables, probability distributions and density functions, and moments. A course like ECE will cover these topics at an undergraduate level. The material also requires some knowledge of elementary analysis; concepts such as limits and continuity, basic set theory, some basic topology, Fourier and Laplace transforms, and elementary linear systems theory.

Date: December 17, 2008. 1

2 MAJEED M. HAYAT

  1. Fundamental concepts

1.1. Experiments. The most fundamental component in probability theory is the notion of a physical (or sometimes imaginary) “experiment,” whose “outcome” is revealed when the experiment is completed. Probability theory aims to provide the tools that will enable us to assess the likelihood of an outcome, or more generally, the likelihood of a collection of outcomes. Let us consider the following example:

Example 1. Shooting a dart: Consider shooting a single dart at a target (board) represented by the unit closed disc, D, which is centered at the point (0, 0). We write D = {(x, y) ∈ IR^2 : x^2 + y^2 ≤ 1 }. Here, IR denotes the set of real numbers (same as (−∞, ∞)), and IR^2 is the set of all points in the plane ( IR^2 = IR × IR, where × denotes the Cartesian product of sets). We read the above description of D as “the set of all points (x, y) in IR^2 such that (or with the property) x^2 + y^2 ≤ 1 .”

1.2. Outcomes and the Sample Space. Now we define what we mean by an outcome: An outcome can be “missing the target,” or “missed” for short, in which case the dart misses the board entirely, or it can be its location in the scenario that it hits the board. Note that we have implicitly decided (or chose) that we do not care where the dart lands as whenever it misses the board. (The definition of an outcome is totally arbitrary and therefore it is not unique for any experiment. It depends on whatever makes sense to us.) Mathematically, we form what is called the sample space as the set containing all possible outcomes. If we call this set Ω, then for our dart example, Ω = {missed} ∪ D, where the symbol ∪ denotes set union (we say x ∈ A ∪ B if and only if x ∈ A or x ∈ B). We write ω ∈ Ω to denote a specific outcome from the sample space Ω. For example, we may have ω = “missed,” ω = (0, 0), and ω = (0. 1 , 0 .2); however, according to our definition of an outcome, ω cannot be (1,1).

1.3. Events. An event is a collection of outcomes, that is, a subset in Ω. Such a subset can be associated with a question that we may ask about the outcome of the experiment and whose answer can be determined after the outcome is revealed. For example, the question: “Q1: Did the dart land within 0.5 of the bull’s eye?” can be

4 MAJEED M. HAYAT

(2) ⋃∞ n=1 En ∈ F whenever En ∈ F, n = 1, 2 ,... (3) Ec^ ∈ F whenever E ∈ F

If F is a σ-algebra, then its members are called events. Note that F is a collection of subsets and not a union of subsets; thus, F itself is not a subset of Ω.

Here are some consequences of the above definition (you should prove all of them):

(1) ∅ ∈ F. (2) ⋂∞ n=1 En ∈ F whenever En ∈ F, n = 1, 2 ,.. .. Here, the countable intersection ⋂∞ n=1 En^ is defined as follows:^ ω^ ∈^

n=1 En^ if and only if^ ω^ ∈^ En^ for all^ n. (3) A \ B ∈ F whenever A, B ∈ F. (First prove that A \ B = A ∩ Bc.)

Generally, members of any σ-algebra (not necessary corresponding to a random ex- periment and a sample space Ω) are called measurable sets. Measurable sets were first introduced in the branch of mathematics called analysis. They were adopted to probability by a great mathematician named Kolmogorov. Clearly, in probability theory we call measurable subsets of Ω events.

Definition 2. Let Ω be a sample space and let F be a σ-algebra of events. We call the pair (Ω, F) a measurable space.

Definition 3. A collection D of subsets of Ω is called a sub- σ-algebra of D if

(1) D ⊂ F (this means that if A ∈ D, then automatically A ∈ F). (2) D is itself a σ-algebra.

Example 3. {∅, Ω} is a sub-σ-algebra of any other σ-algebra.

Example 4. The power set of Ω, which is the set of all subsets of Ω, is a σ-algebra. In fact it is a maximal σ-algebra in a sense that it contains any other σ-algebra. The power set of a set Ω is often denoted by the notation 2 Ω.

Interpretation: Once again, we emphasize that it would be meaningful to think of a σ-algebra as a collection of all valid questions that one may ask about an ex- periment. The collection has to satisfy certain self-consistency rules, dictated by the

ECE 541 5

requirements for a σ-algebra, but what we mean by “valid” is really up to us as long as the self-consistency rules defining the collection of events are met.

Generation of σ-algebras: Let M be a collection of events (not necessarily a σ- algebra); that is, M ⊂ F. This collection could be a collection of certain events of in- terest. For example, in the dart experiment we may define M =

{missed}, {(x, y) ∈ IR^2 : 1/ 4 ≤ x^2 + y^2 ≤ 1 / 2 }

. The main question now is the following: Can we con- struct a minimal (or smallest) σ-algebra that contains M? If such a σ-algebra exists, call it FM, then it must possess the following property: If D is another σ-algebra containing M, then necessarily FM ⊂ D. Hence FM is minimal. The following Theorem states that there is such a minimal σ-algebra.

Theorem 1. Let M be a collection of events, then there is a minimal σ-algebra containing M.

Before we prove the Theorem let us look at an example.

Example 5. Suppose that Ω = (−∞, ∞), and M = {(−∞, 1), (0, ∞)}. It is easy to check that the minimal σ-algebra containing M is

FM =

∅, Ω, (−∞, 1), (0, ∞), (0, 1), (−∞, 0], [1, ∞), (−∞, 0] ∪ [1, ∞)

Explain where each member is coming from.

Proof of Theorem: Let KM be the collection of all σ-algebras that contain M. We observe that such a collection is not empty since at least it contains the power set 2Ω. Let us label each member of KM by an index α, namely Dα , where α ∈ I, where I is some index set. Define FM = ⋂ α∈I Dα. We need to show that 1) FM is a σ-algebra containing M, and 2) that FM is a minimal σ-algebra. Note that each Dα contains Ω (since each Dα is a σ-algebra); thus, FM contains Ω. Next, if A ∈ FM, then A ∈ Dα, for each α ∈ I. Thus, Ac^ ∈ Dα, for each α ∈ I (since each Dα is a σ-algebra) which implies that Ac^ ∈ ⋂ α∈I Dα. Next, suppose that A 1 , A 2 ,... ∈ FM. Then, we know that A 1 , A 2 ,... ∈ Dα, for each α ∈ I. Moreover, ⋃∞ n=1 An ∈ Dα,

ECE 541 7

1.4. Random Variables. Motivation: Recall the dart experiment, and define the following transformation on the sample space: X: Ω → IR defined as

X(ω) =

1 , if ω ∈ D 0 , if ω = missed

where as before D = {(x, y) ∈ IR^2 : x^2 + y^2 ≤ 1 }. Consider the collection of outcomes that we can identify if we knew that X fell in the interval (−∞, r). More precisely, we want to identify {ω ∈ Ω : X(ω) ∈ (−∞, r)}, or equivalently, the set X−^1 ((−∞, r)), which is the inverse image of the set (−∞, r) under the transformation (or function) X. It can be checked that (you must work these out carefully): For r < 0, X−^1 ((−∞, r)) = ∅, for 0 ≤ r < 1 , X−^1 ((−∞, r)) = {missed}, and for 1 ≤ r < ∞, X−^1 ((−∞, r)) = Ω. The important thing to note is that in each case, X−^1 ((−∞, r)) is an event; that is, X−^1 ((−∞, r)) ∈ FM, where FM was defined earlier for this experiment (1). This is a direct consequence of the way we defined the function X. Here is another transformation defined on the outcomes of the dart experiment: Define

(2) Y (ω) =

10 , if ω = missed √x (^2) + y (^2) , if ω ∈ D.

Let’s consider the collection of outcomes that correspond to Y < 1 /2, which we can write as {ω ∈ Ω : Y (ω) < 1 / 2 } = Y −^1 ((−∞, 1 /2)). Note that Y −^1 ((−∞, 1 /2)) = {(x, y) ∈ IR^2 : x^2 + y^2 < 1 / 4 } ∈ FM. Moreover, we can also show that Y −^1 ((−∞, 2)) = D ∈ FM Y −^1 ((−∞, 11)) = D ∪ {missed} = Ω ∈ FM Y −^1 ((−∞, 0]) = { 0 } ∈ FM

8 MAJEED M. HAYAT

We emphasize again that Y −^1 ((−∞, r)) is always an event; that is, Y −^1 ((−∞, r)) ∈ FM, where FM was defined earlier for this experiment (1). Again, this is a direct consequence of the way we defined the function Y. Motivated by these examples, we proceed to define what we mean by a random variable in general.

Definition 4. Let (Ω, F) be a measurable space. A transformation X : Ω → IR is said to be F-measurable if for every r ∈ IR, X−^1 ((−∞, r)) ∈ F. Any measurable X is called a random variable.

Now let X be a random variable and consider the collection of events M = {ω ∈ Ω : X(ω) ∈ (−∞, r), r ∈ IR}, which can also be written more conveniently as {X−^1 ((−∞, r)), r ∈ IR}. As before, let FM be the minimal σ-algebra containing M. Then, FM is the “information” that the random variable X conveys about the experi- ment. We define such a σ-algebra from this point on as σ(X), the σ-algebra generated by the random variable X. In the above example of X, σ(X) = {∅, {missed}, Ω, D}. This concept is demonstrated in the next example. (Also see HW#1 for another example of σ(X).)

Example 8. Back to the dart example: Let M′^ =^4 {∅, {missed}, Ω}, then it is easy to check that FM′ = {∅, {missed}, Ω, D}, which also happens to be a subset of FM as defined in (1). However, we observe that in fact X−^1 ((−∞, r)) ∈ FM′ for any r ∈ IR. Intuitively, FM′ , which also call σ(X), can be identified as the set of all events that the function X can convey about the experiment. In particular, FM′^ consists of precisely those events whose occurrence or nonoccurrence can be determined through our observation of the value of X. In other words, FM′^ is all the “information” that the mapping X can provide about the outcome of the experiments. Note that FM′^ is much smaller than the original σ-algebra F, which was ((B ∩D)∪{missed})∪(B ∩D). As we have seen before, {∅, {missed}, Ω, D} ⊂ ((B ∩ D) ∪ {missed}) ∪ (B ∩ D). Thus, X can only partially inform us of the true outcome of the experiment; it can only tell us if we hit the target or missed it, nothing else, which is precisely the information contained in FM′.

10 MAJEED M. HAYAT

1.5. Probability Measure.

Definition 5. Consider the measurable space (Ω, F), and a function, P, that maps F into IR. P is called a probability measure if

(1) P(E) ≥ 0, for any E ∈ F. (2) P(Ω) = 1. (3) If E 1 , E 2 ,... ∈ F and if Ei ∩ Ej = ∅ when i 6 = j, then P(⋃∞ n=1 En) = ∑∞ n=1 P(En).

The following properties follow directly from the above definition.

Property 1. P(∅) = 0.

Proof. Put E 1 = Ω, E 2 =... = En = ∅ in (3) and use (2) to get 1 = P(Ω) = P(Ω ∪ ∅ ∪ ∅ ∪.. .) = P(Ω) + ∑∞ n=2 P(∅) = 1 + ∑∞ n=2 P(∅). Thus, ∑∞ n=2 P(∅) = 0, which implies that P(∅) = 0 since P(∅) ≥ 0 according to (1).

Property 2. If E 1 , E 2 ,... , En ∈ F and if Ei ∩ Ej = ∅ when i 6 = j, then P(⋃ni=1 Ei) = ∑n i=1 P(Ei).

Proof. Put En+1 = En+2 =... = ∅ and the result will follow from 3 since P(∅) = 0 (from Property 2)

Property 3. If E 1 , E 2 ∈ F and E 1 ⊂ E 2 , then P(E 1 ) ≤ P(E 2 ).

Proof. Note that E 1 ∪ E 2 \E 1 = E 2 and E 1 ∩ E 2 \E 1 = ∅. Thus, by Property 2 (use n = 2), P(E 2 ) = P(E 1 ) + P(E 2 \E 1 ) ≥ P(E 1 ), since P(E 2 \E 1 ) ≥ 0.

Property 4. If A 1 ⊂ A 2 ⊂ A 3... ∈ F, then

(3) (^) nlim→∞ P(An) = P(

⋃^ ∞

n=

An).

Proof. Put B 1 = A 1 , B 2 = A 2 \A 1 ,... , Bn = An\An− 1 ,.. .. Then, it is easy to check that ⋃∞ n=1 An = ⋃∞ n=1 Bn and ⋃mn=1 An = ⋃mn=1 Bn for any m ≥ 1, and that Bi ∩ Bj = ∅ when i 6 = j. Hence, P(⋃ni=1 Ai) = ∑ni=1 P(Bi) and P(⋃∞ i=1 Ai) = ∑∞ i=1 P(Bi).

ECE 541 11

But, ⋃ni=1 Ai = An, so that P(An) = ∑ni=1 P(Bi). Now since ∑ni=1 P(Bi) converges to ∑∞ i=1 P(Bi), we conclude that P(An) converges to ∑∞ i=1 P(Bi), which is equal to P(⋃∞ i=1 Ai).

Property 5. If A 1 ⊃ A 2 ⊃ A 3.. ., then limn→∞ P(An) = P(⋂∞ n=1 An).

Proof. See HW.

Property 6. For any A ∈ F, 0 ≤ P(A) ≤ 1.

The triplet (Ω, F, P ) is called a probability space.

Example 9. Recall the dart experiment. We now define P on (Ω, FM) as follows. Assign P({missed}) = 0. 5 , and for any A ∈ D ∩ B, assign P(A) = area(A)/ 2 π. It is easy to check that P defines a probability measure. (For example, P(Ω) = P(D ∪ {missed}) = P(D) + P({missed}) = area(D)/ 2 π + 0.5 = 0.5 + 0.5 = 1. Check the other requirements as an exercise.)

1.6. Distributions and distribution functions: Consider a probability space (Ω, F, P ), and consider a random variable X defined on it. Up to this point, we have devel- oped a formalism that allows us to ask questions of the form “what is the proba- bility that X assumes a value in a Borel set B?” Symbolically, this is written as P({ω ∈ Ω : X(ω) ∈ B}), or for short, P{X ∈ B} with the understanding that the set {X ∈ B} is an event (i.e., member of F). Answering all the questions of the above form is tantamount to assigning a number in the interval [0,1] to every Borel set. Thus, we can think of a mapping from B into [0,1], whose knowledge will provide an answer to all the questions of the form described earlier. We call this mapping the distribution of the random variable X, and it is denoted by μX. Formally, we have μX : B → [0, 1] according to the rule μX (B) = P{X ∈ B}, B ∈ B.

Proposition 1. μX defines a probability measure on the measurable space (IR, B).

Proof. See HW.

ECE 541 13

n−^1 ]) = μX (⋃∞ n=1(−∞, y − n−^1 ]) = μX ((−∞, y)) =^4 FX (y−). In the same fashion, we can generalize the result to obtain limn→∞ FX (xn) = μX ((−∞, y)) for any sequence xn ↑ y.

Property 11. FX has at most countably many discontinuities.

Proof. Let D be the set of discontinuity points of FX. We first show a simple fact that says that the jumps (or discontinuity intervals) corresponding to distinct discontinuity points are disjoint. More precisely, pick α, β ∈ D, and suppose, without loss of generality, that α < β. Let Iα = (FX (α−), FX (α)] and Iβ = (FX (β−), FX (β)] represent the discontinuities associated with α and β, respectively. Note that FX (α) < FX (β−); this follows from the definition of FX (β−), the fact that α < β, and the fact that FX is nondecreasing. Hence, Iα and Iβ are disjoint. From this we also conclude that the discontinuities (jumps) associated with the points of D form a collection of disjoint intervals. () Next, note that D = ∪∞ n=1Dn, where Dn = {x ∈ IR : FX (x) − FX (x−) > n−^1 }. In words, Dn is the set of all discontinuity points that have jumps greater than n−^1. Since the discontinuities corresponding to the points of Dn form a collection of disjoint intervals, the length of the union of all these disjoint intervals should not exceed 1 (why?). Hence, if we denote the cardinality of Dn by D# n , then we have n−^1 D# n ≤ 1, or D# n ≤ n. Hence, D is countable since it is a countable union of finite sets (this is a fact from elementary set theory). Note: We could have finished the proof right after () by associating the points of D with a disjoint collection of intervals, each containing a rational number. In turn, we can associate the points of D with distinct rational numbers, which proves that D is countable.

Discrete random variables: If the distribution function of a random variable is piecewise constant, then we say that the random variable is discrete. Note that in this case the number of discontinuities is at most countably infinite, and the random variable may assume at most countably many values, say a 1 , a 2 ,.. ..

14 MAJEED M. HAYAT

Absolutely continuous random variables: If there is a Borel function fX : IR → [0, ∞), with the property that ∫^ −∞∞ f (t) dt = 1, such that FX (x) = ∫^ −∞x fX (t) dt, then we say that X is absolutely continuous. Note that in this event we term fX the probability density function (pdf) of X. Also note that if Fx is differentiable, then such a density exists and it is given by the derivative of FX.

Example 10. Let X be a uniformly-distributed random variable in [0,2]. Let the function g be as shown in Fig. 1 below. Compute the distribution function of Y = g(X).

1

1/

1/

FY ( y )

y

1

1

g ( x )

1 x Figure 1.

Solution: If y < 0, FY (y) = 0 since Y is nonnegative. If 0 ≤ y ≤ 1 , FY (y) = P({X ≤ y/ 2 } ∪ {X > 1 − y/ 2 }) = 0. 5 y + 0.5. Finally, if y > 1 , FY (y) = 1 since Y ≤ 1. The graph of FY (y) is shown above. Note that FY (y) is indeed right continuous everywhere, but it is discontinuous at 0. In this example the random variable X is absolutely continuous (why?). On the other hand, the random variable Y is not absolutely continuous because there is no Borel function fY so that FY (x) = ∫^ −∞x fY (t) dt. Observe that FY has a jump at 0, and we cannot reproduce this jump by integrating a Borel function over it (we would need a “delta function,” which is not really a function let alone a Borel function). It is not a discrete random variable either since Y can assume any value from an uncountable collection of real numbers in [0, 1].

16 MAJEED M. HAYAT

  1. Expectations Recall that in an undergraduate probability course one would talk about the ex- pectation, average, or mean of a random variable. This is done by carrying out an integration (in the Riemann sense) with respect to a probability density function (pdf). It turns out that the definition of an expectation does require having a pdf. It is based on a more-or-less intuitive notion of an average. We will follow this general approach here and then connect it to the usual expectation with respect to a pdf whenever the pdf exists. We begin by introducing the expectation of a nonnegative random variable, and will generalize thereafter. Consider a nonnegative random variable X, and for each n ≥ 1, we define the sum Sn = ∑∞ i=1 2 in P { 2 in < X ≤ i 2 +1n }. We claim that Sn is nondecreasing. If this is the case (to be proven shortly), then we know that Sn is either convergent (to a finite number) or Sn ↑ ∞. In any case, we call the limit of Sn the expectation of X, and symbolically we denote it as E[X]. Thus, we define E[X] = limn→∞ Sn. To see the monotonicity of Sn, we follow Chow and Teicher [1] and observe that { 2 in < X ≤ i 2 +1n } = { (^2) n^2 +1i < X ≤ 22 in+2+1 } = { (^2) n^2 +1i < X ≤ 22 in+1+1 } ∪ { 22 in+1+1 < X ≤ 22 in+2+1 }; thus, Sn = ∑∞ i=1 2 n^2 +1i (P{ (^2) n^2 +1i < X ≤ 22 in+1+1 } + P{ 22 in+1+1 < X ≤ 22 in+2+1 }) ≤ (^2) n^1 +1 P{ (^2) n^1 +1 < X ≤ (^2) n^2 +1 } + ∑∞ i=1 2 n^2 +1i (P{ (^2) n^2 +1i < X ≤ 22 in+1+1 } + P{ 22 in+1+1 < X ≤ 22 in+2+1 }) ≤ (^2) n^1 +1 P{ (^2) n^1 +1 < X ≤ (^2) n^2 +1 } + ∑∞ i=1 2 n^2 +1i P{ (^2) n^2 +1i < X ≤ 22 in+1+1 } + ∑∞ i=1^22 ni+1+1 P{ 22 in+1+1 < X ≤ 22 in+2+1 } = ∑∞ i=1,i odd 2 n^ i+1 P{ (^2) ni+1 < X ≤ 2 in+1+1 } + ∑∞ i=1,i even 2 n^ i+1 P{ (^2) ni+1 < X ≤ 2 in+1+1 } = ∑∞ i=1 2 n^ i+1 P{ (^2) ni+1 < X ≤ 2 in+1+1 } = Sn+

If E[X] < ∞ , we say that X is integrable.

General Case: If X is any random variable, then we decompose it into two parts: a positive part and a negative part. More precisely, let X+^ = max(0, X) and X−^ = max(0, −X), then clearly X = X+^ − X−, and both of X+^ and X−^ are nonnegative. Hence, we use our definition of expectation for a nonnegative random

ECE 541 17

variable to define E[X] = E[X+] − E[X−] whenever E[X+] < ∞ or E[X−] < ∞, or both. In cases where E[X+] < ∞ and E[X−] = ∞, or E[X−] < ∞ and E[X+] = ∞, we define E[X] = −∞ and E[X] = ∞, respectively. Finally, E[X] is not defined whenever E[X+] = E[X−] = ∞. Also, E[|X|] = E[X+^ + X−] exists if and only if E[X] does.

Special Case: Consider any event E and let X = IE , a binary random variable. (IE (ω) = 1 if ω ∈ E and IE (ω) = 0 otherwise; it is called the indicator function of the event E.) Then, E[X] = P(E). Proof. Note that in this case

(4) Sn =^2

n (^) − 1 2 n^ P

{ 2 n (^) − 1 2 n^ < X^ ≤^1

and the second quantity is simply P{E}. Thus, Sn → P{E}. When P(E) = 1, we say that X = 1 with probability one, or almost surely. In general if X is equal to a constant c almost surely, then E[X] = c. Another Special Case: A random variable that takes only finitely many values, that is, X = ∑ni=1 aiIAi , where Ai, i = 1,... , n are events. It is straightforward (prove it following the approach as in the previous case) that E[X] = ∑ni=1 aiP(Ai). Discrete random variables: It is easy to see that for a discrete random variable X, E[X] = ∑∞ i=1 aiP{X = ai} = ∑∞ i=1 ai

FX (ai) − FX (a− i )

. (See HW-5).

Notation and Terminology: E[X] is also written as ∫ Ω X(ω)P(dω), which is called the Lebesgue integral of X with respect to the probability measure P. Often, cumbersome notation is avoided by writing ∫ Ω XP(dω) or simply ∫ Ω XdP.

Linearity of Expectation: The expectation is linear, that is, E[aX + bY ] = aE[X] + bE[Y ]. This can be seen, for example, by observing that any nonnega- tive random variable can be approximated from below by functions of the form ∑∞ i=1 xiI{xi<X≤xi+1}(ω), where for any event^ E, the random variable^ IE^ (ω) = 1 if ω ∈ E and IE (ω) = 0 otherwise. (Recall that IE is called the indicator function of the set E.) Indeed, we have seen such an approximation through our definition of the

ECE 541 19

A pair of random variables Suppose that X and Y are rv’s defined on the measurable space (Ω, F). For any B 1 , B 2 ∈ B, we use the convenient notation {X ∈ B 1 , Y ∈ B 2 } for the event {X ∈ B 1 } ∩ {Y ∈ B 2 }. Moreover, we can also think of the pair X and Y as a vector (X, Y ) in IR^2. Now consider any B ∈ B 2 (the set of all Borel sets on the plane, i.e., the smallest σ-algebra containing all open sets in the plane) of the form B 1 × B 2 , where B 1 , B 2 are open sets in IR (i.e., rectangles with open sides, or simply open rectangles). We note that {(X, Y ) ∈ B} is always an event because {(X, Y ) ∈ B} = {X ∈ B 1 }∩{Y ∈ B 2 }. In fact, {(X, Y ) ∈ B} is an event for any B ∈ B 2 , not just those that are open rectangles. Here is the proof. Let D be the collection of all Borel sets in B 2 for which {(X, Y ) ∈ B} ∈ F. As we had already seen, D contains all open rectangles (i.e., Open sets of the form B 1 × B 2 ). Further, it is easy to show that D qualifies to be called a Dynkin class of sets (definition to follow below). Also, the collection S of all Borel sets in the plane that are open rectangles is closed under finite intersection (this is because (B 1 × B 2 ) ∩ (C 1 × C 2 ) = (B 1 ∩ C 1 ) × (B 2 ∩ C 2 )). To summarize, the collection D is a Dynkin class and it contains the collection S, that is closed under finite intersection and contains all open rectangles in the plane. Now by the Dynkin class Theorem (see below), D contains the σ-algebra generated by S, which is just B 2 (why?). Hence, {(X, Y ) ∈ B} ∈ F for any B ∈ B 2. Thus, for any Borel set B in the plane, we can define the joint distribution of X and Y as μXY (B) =^4 P{(X, Y ) ∈ B}. This can also be generalized in the obvious way to define a joint distribution of multiple (say n) random variables over Bn, the Borel subsets of IRn. Now back to the definition of a Dynkin class and the Dynkin class Theorem. Any collection D in any set Ω is called a Dynkin class if (1) Ω ∈ D, (2) E 2 \ E 1 ∈ D whenever E 1 ⊂ E 2 and E 1 , E 2 ∈ D, and (3) if E 1 ⊂ E 2 ⊂.. ., then ∪∞ n=1En ∈ D. In the same way that proved that for any collection of sets M there is a minimal σ-algebra containing M, we can prove that there is a minimal Dynkin class, DM,

20 MAJEED M. HAYAT

that contains M. It is easily shown that any σ-algebra is automatically a Dynkin class (prove this). Any collection S in any set Ω is called a π-class if A ∩ B ∈ S whenever A, B ∈ S. The Dynkin Class Theorem (see Chow and Teicher, for example) states:

Theorem 3. If S ⊂ D, where S is a π-class and D is a Dynkin class, then D contains σ(S), the σ-algebra generated by S. As a special case, DS = σ(S).

Before we prove the Theorem, we prove the following Lemma.

Lemma 1. If D is a Dynkin class as well as a π-class then it is automatically σ- algebra.

Proof. For any E ∈ D, Ω \ E = Ec^ ∈ D since D is a Dynkin class. Now suppose that A 1 , A 2 ,... , ∈ D. Put B 1 = A 1 , B 2 = A 1 ∪ A 2 ,... , Bn = ∪ni=1Ai,.. .. Note that Bcn = ∩ni=1Aci ∈ D since Aci ∈ D, i ≥ 1, and D is a π-class; hence, Bn ∈ D, n ≥ 1. Note that B 1 ⊂ B 2 ⊂.. ., and ⋃∞ i=1 Ai = ⋃∞ i=1 Bi ∈ D. Hence, D is a σ-algebra.

Proof of the theorem (from Chow & Teicher). We will prove D ⊃ σ(S) by showing that D is a σ-algebra, which can be established, in turn, by using the above Lemma if we can show that D is a π-class. In fact, we will show that DS is a σ-algebra and use this fact to conclude that D ⊃ σ(S) (since DS ⊂ D). To this end, define U = {A ⊂ Ω : A ∩ S ∈ DS , for every S ∈ S}. Note that S ⊂ U automatically since S is a π-class. We now show that U is a Dynkin class. Clearly, Ω ∈ U. Suppose that E 1 ⊂ E 2 and E 1 , E 2 ∈ U. For any S ∈ S, (E 2 \ E 1 ) ∩ S = (E 2 ∩ S) \ (E 1 ∩ S) ∈ DS since (E 2 ∩ S), (E 1 ∩ S) ∈ U, and since (E 2 ∩ S) ⊃ (E 1 ∩ S). Now suppose that E 1 ⊂ E 2 ,... ∈ U. Then for any S ∈ S, (∪∞ i=1Ei) ∩ S = ∪∞ i=1(Ei ∩ S) ∈ U since (E 1 ∩ S) ⊂ (E 2 ∩ S) ⊂... ∈ DS. This establishes that U is a Dynkin class, in which case we must have U ⊃ DS. Consequently, for any A ∈ DS and any S ∈ S, A ∩ S ∈ DS. Now define U′^ = {A ⊂ Ω : A ∩ S ∈ DS , for everyS ∈ DS }. Note that U′^ ⊃ S (because of our earlier observation that for any A ∈ DS and any S ∈ S, A ∩ S ∈ DS ). We can also show (in a similar way to that for U) that U′^ is a Dynkin class. Hence, U′^ ⊃ DS , which implies A ∩ B ∈ DS whenever A ∈ DS and B ∈ DS.