Docsity

Conditional Expectation in Probability Theory and Stochastic Processes - Prof. Oana Mocioa, Study notes of Stochastic Processes

Toggle sidebar
bg1
Lecture 5
Math 50051, Topics in Probability Theory and Stochastic Processes
Conditional expectation
Suppose, as before, that Xis a r.v measuring the outcome of some random experiment. If we do
not know anything about the outcome, we said that the best guess for Xis E(X). If, on the other
hand, we know completely the outcome of the experiment then we know the exact value of X. The
notion of conditional expectation deals with making the best guess for Xgiven some, but not all
information.
The discrete case Suppose that Xand Yare both discrete rv with joint probability mass function
f(x, y) = P(X=x, Y =y)
and marginal probability mass function fX(x) and FY(y) taking values in VXand VYrespectively.
Then
E(X|Y=y) = X
x∈VX
xP (X=x|Y=y) = X
x∈VX
xP(X=x, Y =y)
P(Y=y)
=X
x∈VX
xf(x, y)
fY(y)(1)
Notation: P(X=x|Y=y) = fX|Y(x|y) and it is called conditional mass function of Xgiven
Y.
The continuous case Assume Xand Yare two rv jointly continuous, taking values in VXand
VYrespectively, and with joint density function fX,Y (x, y) for x∈VXand y∈Vy. Then the
conditional density of X=xgiven Y=y,fX|Y(x|y) is given by
fX|Y(x|y) = f(x, y )
fY(y)
when fY(y)>0. And the conditional exp ectation of Xgiven Y=yis given by
E(X|Y=y) = Zx∈VX
xfX|Y(x|y)dx,
when fY(y)>0.
We observe that E(X|Y=y) is a function of y, a rv on the σ−field generated by Y, denoted by
E(X|Y)
Example: 3 coins are tossed: 1c, 5c, 10c. The rv Xgives the sum of the values of the coins that
land heads up. What is E(X|2 coins have landed heads up)? What is E(X|Y) if Ygives the total
amount shown by the 5c and 10c only?
Conditioning and σfield:
1
pf3
pf4

Partial preview of the text

Download Conditional Expectation in Probability Theory and Stochastic Processes - Prof. Oana Mocioa and more Study notes Stochastic Processes in PDF only on Docsity!

Lecture 5

Math 50051, Topics in Probability Theory and Stochastic Processes

Conditional expectation

Suppose, as before, that X is a r.v measuring the outcome of some random experiment. If we do not know anything about the outcome, we said that the best guess for X is E(X). If, on the other hand, we know completely the outcome of the experiment then we know the exact value of X. The notion of conditional expectation deals with making the best guess for X given some, but not all information.

The discrete case Suppose that X and Y are both discrete rv with joint probability mass function

f (x, y) = P (X = x, Y = y)

and marginal probability mass function fX (x) and FY (y) taking values in VX and VY respectively. Then

E(X|Y = y) =

x∈VX

xP (X = x|Y = y) =

x∈VX

x P (X = x, Y = y) P (Y = y)

=

x∈VX

x f (x, y) fY (y)

Notation: P (X = x|Y = y) = fX|Y (x|y) and it is called conditional mass function of X given Y.

The continuous case Assume X and Y are two rv jointly continuous, taking values in VX and VY respectively, and with joint density function fX,Y (x, y) for x ∈ VX and y ∈ Vy. Then the conditional density of X = x given Y = y, fX|Y (x|y) is given by

fX|Y (x|y) = f (x, y) fY (y)

when fY (y) > 0. And the conditional expectation of X given Y = y is given by

E(X|Y = y) =

x∈VX

xfX|Y (x|y)dx,

when fY (y) > 0.

We observe that E(X|Y = y) is a function of y, a rv on the σ−field generated by Y , denoted by E(X|Y )

Example: 3 coins are tossed: 1c, 5c, 10c. The rv X gives the sum of the values of the coins that land heads up. What is E(X|2 coins have landed heads up)? What is E(X|Y ) if Y gives the total amount shown by the 5c and 10c only?

Conditioning and σ field:

The operation of taking expectations of rv is the formal equivalent of the heuristic notion of ”fore- casting”. To forecast a rv one uses some information sometimes recorded in a rv Y as above, but many other times this information is a set of events, in fact a σ−field as defined a the previous lectures. Expectations calculated using such information are called conditional expectations with respect to σ−fields. We will see later that since the information utilized is in general different from one time to another these sets of information, σ−fields are themselves time-indexed.

Let X be a random variable (integrable) on a probability space (Ω, F, P ), and let Y ⊂ F be a σ-filed. Then E(X|Y) is a random variable, s.t.

  1. E(X|Y) is Y-measurable, ie it is completely determined by the set of information Y.

  2. For any A ∈ Y (^) ∫

A

E(X|Y)dP =

A

XdP

Remark: E(X|Y) exists and it is unique in the sense that if X = Y almost everywhere, then E(X|Y) = E(Y |Y) almost everywhere.

Example:

  1. If Y = {∅, Ω}, then E(X|Y) = E(X)

If Y = {∅, Ω}, then a random variable that is Y-measurable is constant. Indeed, the inverse image of any interval no matter how small it is or how large has to be ∅ or Ω. In particular, the inverse image of a point has to be ∅ or Ω. There is a point ”a”, s.t. its inverse image is Ω. Hence the random variable to her value a. Hence E(X|Y) = a. But we also know that ∫

Ω

E(X|A)dP =

Ω

XdP = E(X) ∫

Ω

E(X|A)dP = a

Ω

dP = a

a = E(X)

  1. If X is Y-measurable then E(X|Y) = X a.s.

Indeed X verifies the two properties of the cond expectation.

©^1 X is Y-measurable

© 2

A E(X|Y)dP^ =^

A XdP

so X is the conditional expectation. Hence E(X|P(Ω)) = X.

  1. E(aX + bY |Y) = aE(X|Y) + bE(Y |Y)

Indeed, E(aX + bY |Y) = aE(X|Y) + bE(Y |Y) is equivalent to show that for any A ∈ Y, ∫

A

E(aX + bY |Y)dP =

A

aE(X|Y) + bE(Y |Y)dP

are independent. We say that n random variables X 1 , ...Xn are independent if for any Borel sets B 1 , ...Bn ∈ B(R) the event {X 1 ∈ B 1 }, ..., {Xn ∈ Bn} are independent.

Two σ-fields Y and H ⊂ F are independent if any two events A ∈ Y, B ∈ H are independent. In particular two random variables X and Y are independent if the sigma fields σ(X) and σ(Y ) are independent. Here by σ(X) we understand the σ−field generated by X, the sigma field generated by inverse images of Borel sets, or the set of all information that we can get from X.

A random variable X and a σ-field Y are independent if the σ-fields σ(X) and Y are independent.

Property: If X is independent of Y then E(X|Y) = E(X) (knowing Y does not give us any extra information on X).

Example: Suppose you are trapped in a house with 3 doors. Door 1 leads you back to the house after 1 day. Door 2 leads 2 back to the house after 2 days. Door 3 leads you to freedom after 3 days. On the first trial you are equally likely to pick any of the doors. If you pick door 1 or 2, then upon your return to the house, you immediately try again (until you are free).

(i) If you don’t learn from your mistakes, what is the expected number of days until freedom.

(ii) Repeat past (i) with the assumption that you do learn from your mistakes.