Definition

Wald’s identity states that for i.i.d. (independent and identically distributed) random variables with finite expectation and an integer-valued random variable with ,

provided the usual independence / stopping-time assumptions are satisfied.

Intuitive Interpretation

If each step has average value , and we take on average steps, then the expected total is just

Short proof

Let

Use the law of total expectation for a partition with the disjoint events

So by linearity of expectation,

Therefore

So

Typical assumptions

  • are i.i.d.
  • is a nonnegative integer-valued random variable with
  • Usually, is a random variable that does not look into the future, e.g. a stopping time

Example

Let be the outcome of the -th roll of a fair die, so

Suppose we roll the die a random number of times, and . Then

Important remark

Important

Wald’s identity is not true for arbitrary dependence between and the variables . The assumptions matter.

It is especially useful when the stopping rule is random, but each increment still has the same expected value.