What Is Wald’s Second Equation?
At a glance
- 1. Center each increment
Subtract the common mean from each independent, identically distributed increment.
- 2. Check the stopping rule
The stopping time must depend only on information available so far, and its expected value must be finite.
- 3. Apply the identity
The expected squared centered stopped sum equals the increment variance multiplied by the expected stopping time.
- 4. Avoid the common mix-up
The identity is not generally a formula for the uncentered second moment of the stopped sum.
Wald’s second equation, also called Wald’s second identity, relates the variability of a stopped sum to the expected number of terms. It is useful when a process accumulates independent increments and stops according to what has happened so far.
The key is to center each increment first. The identity applies to the sum after subtracting the mean contribution associated with the stopping time; it does not usually give the uncentered second moment of the sum.
The equation and its assumptions
Let be independent and identically distributed random variables with mean and finite variance . Define the sum of the first terms by
Let be a nonnegative integer-valued stopping time: deciding whether to continue after step can use the observations through step , but not future observations. Assume . Then Wald’s second equation is
Equivalently, if are the centered increments, the equation says
The stopping-time condition matters. A rule that looks ahead at future increments can select unusually large or small terms, breaking the identity. More generally, the same result holds when each centered increment has conditional mean zero and conditional variance given the information available before that increment.
Why the identity holds
Write . The stopped centered sum can be written as
where is 1 if the process takes at least steps and 0 otherwise. The event is determined before observing .
When the square of this sum is expanded, distinct-increment terms have expectation zero. For , whether the process reaches step is already known before is observed, and has conditional mean zero. The diagonal terms contribute
Adding these contributions gives
The last equality is the tail-sum formula for a nonnegative integer-valued random variable. Finite ensures the sum is finite and the stopped centered sum is well-defined in mean square.
Worked example: stop at the first head
Toss a fair coin repeatedly. Let for heads and for tails, and stop at the first head. Then and . The number of tosses has a geometric distribution with success probability , so
If the first head occurs on toss , the preceding tosses are tails. Thus . Since , the centered stopped sum is just . Therefore
Wald’s second equation gives the same result: .
Why it is not usually a formula for
Since , expanding the square gives
when these moments exist. The middle term need not be zero: the stopping time and the centered stopped sum can be dependent. So replacing with is generally incorrect.
For a fixed number of terms, the identity reduces to the familiar variance formula . If is random but independent of all the increments, additional simplifications may be possible; do not assume them for a data-dependent stopping rule.
Common mistakes
- Using the uncentered sum: The left side is , not generally .
- Allowing a look-ahead rule: must be a stopping time; it cannot depend on increments that have not yet been observed.
- Ignoring finiteness: The standard version assumes finite increment variance and .
- Confusing the two Wald equations: Wald’s first equation concerns under suitable conditions. Wald’s second equation concerns the mean square of the centered stopped sum.
References
- Abraham Wald, Sequential Analysis
- Rick Durrett, Probability: Theory and Examples
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.