Lably
Skip to content

Conditional expectation

Expected value of a random variable given that certain conditions are known to occur

  • 10 min read
  • 4 chapters

Related on Lably

Through Random variable, Expected value and Conditional probability

Depending on the context, the conditional expectation can be either a random variable or a function. The random variable is denoted E(X∣Y) analogously to conditional probability. The function form is either denoted E(X∣Y=y) or a separate function symbol such as f(y) is introduced with the meaning E(X∣Y)=f(Y).

Examples

Example 1: Dice rolling

Consider the roll of a fair dice and let A = 1 if the number is even (i.e., 2, 4, or 6) and A = 0 otherwise. Furthermore, let B = 1 if the number is prime (i.e., 2, 3, or 5) and B = 0 otherwise.

The unconditional expectation of A is E[A]=(0+1+0+1+0+1)/6=1/2, but the expectation of A conditional on B = 1 (i.e., conditional on the die roll being 2, 3, or 5) is E[A∣B=1]=(1+0+0)/3=1/3, and the expectation of A conditional on B = 0 (i.e., conditional on the die roll being 1, 4, or 6) is E[A∣B=0]=(0+1+1)/3=2/3. Likewise, the expectation of B conditional on A = 1 is E[B∣A=1]=(1+0+0)/3=1/3, and the expectation of B conditional on A = 0 is E[B∣A=0]=(0+1+1)/3=2/3.

Example 2: Rainfall data

Suppose we have daily rainfall data (mm of rain each day) collected by a weather station on every day of the ten-year (3652-day) period from January 1, 1990, to December 31, 1999. The unconditional expectation of rainfall for an unspecified day is the average of the rainfall amounts for those 3652 days. The conditional expectation of rainfall for an otherwise unspecified day known to be (conditional on being) in the month of March, is the average of daily rainfall over all 310 days of the ten–year period that fall in March. Similarly, the conditional expectation of rainfall conditional on days dated March 2 is the average of the rainfall amounts that occurred on the ten days with that specific date.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Topics in mathematics