Bayesian search theory: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Shuroo
No edit summary
No edit summary
 
Line 1: Line 1:
In [[probability theory]], '''Wald's equation''', '''Wald's identity'''<ref>{{cite doi|10.1007/0-387-29548-8_2}}</ref> or '''Wald's lemma'''<ref>{{cite jstor|1427625}}</ref> is an important [[identity (mathematics)|identity]] that simplifies the calculation of the [[expected value]] of the sum of a random number of random quantities. In its simplest form, it relates the expectation of a sum of randomly many finite-mean, [[independent and identically distributed random variables]] to the expected number of terms in the sum and the random variables' common expectation under the condition that the number of terms in the sum is [[Independence (probability theory)|independent]] of the summands.
I woke up another day  and [http://www.bbc.Co.uk/search/?q=noticed+- noticed -] I have  [http://lukebryantickets.pyhgy.com Concerts luke Bryan] been single for a while at the moment and after   [http://www.museodecarruajes.org eagles concert tickets] much bullying from buddies I now locate myself signed up for on line dating. They assured me that there are lots of enjoyable, sweet and ordinary folks to fulfill, so the pitch is gone by here!<br>I try to maintain as physically healthy as possible coming to the gym many times weekly. I love my athletics and attempt to play or watch since many a potential. Being winter I'll frequently at Hawthorn suits. Notice: [http://www.Sharkbayte.com/keyword/I%27ve+experienced I've experienced] the carnage of wrestling matches at stocktake revenue, If you will considered purchasing an athletics I really do not brain.<br>My friends and family are amazing and spending some time with them at bar gigs or dishes is definitely a must. I have never been into clubs as I discover you can never own a significant dialog with the sound. In addition, I have two quite adorable and unquestionably cheeky dogs who are consistently enthusiastic to meet fresh individuals.<br><br>Check out my web blog; [http://www.hotelsedinburgh.org photos of luke bryan]
 
The equation is named after the [[mathematician]] [[Abraham Wald]]. An identity for the second moment is given by the [[Blackwell–Girshick equation]].{{citation needed|date=January 2014}}
 
==Basic version==
Let {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} be a [[sequence]] of real-valued, independent and identically distributed random variables and let {{math|''N''}} be a nonnegative integer-value random variable that is independent of the sequence {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}}. Suppose that {{math|''N''}} and the {{math|''X<sub>n</sub>''}} have finite expectations. Then
 
:<math>\operatorname{E}[X_1+\dots+X_N]=\operatorname{E}[N] \operatorname{E}[X_1]\,.</math>
 
===Example===
Roll a six-sided [[dice|die]]. Take the number on the die (call it {{math|''N''}}) and roll that number of six-sided dice to get the numbers {{math|''X''<sub>1</sub>, . . . , ''X<sub>N</sub>''}}, and add up their values.  By Wald's equation, the resulting value on average is
 
:<math>\operatorname{E}[N] \operatorname{E}[X]  = \frac{1+2+3+4+5+6}6\cdot\frac{1+2+3+4+5+6}6 = \frac{441}{36} = 12.25\,.</math>
 
==General version==
Let {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} be an infinite sequence of real-valued random variables and let {{math|''N''}} be a nonnegative integer-valued random variable. Assume that
:{{EquationRef|1}}. {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} are all [[Lebesgue integration|integrable]] (finite-mean) random variables,
:{{EquationRef|2}}. {{math|E<nowiki>[</nowiki>''X<sub>n</sub>''1<sub>{''N'' ≥ ''n''}</sub><nowiki>]</nowiki> {{=}} E<nowiki>[</nowiki>''X<sub>n</sub>''<nowiki>]</nowiki> P(''N'' ≥ ''n'')}} for every [[natural number]] {{math|''n''}}, and
:{{EquationRef|3}}. the infinite series satisfies
 
::<math>\sum_{n=1}^\infty\operatorname{E}\!\bigl[|X_n|1_{\{N\ge n\}}\bigr]<\infty.</math>
 
Then the random sums
:<math>S_N:=\sum_{n=1}^NX_n,\qquad T_N:=\sum_{n=1}^N\operatorname{E}[X_n]</math>
are integrable and
:<math>\operatorname{E}[S_N]=\operatorname{E}[T_N].</math>
If, in addition,
:{{EquationRef|4}}. {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} all have the same expectation, and
:{{EquationRef|5}}. {{math|''N''}} has finite expectation,
    
then
 
:<math>\operatorname{E}[S_N]=\operatorname{E}[N]\, \operatorname{E}[X_1].</math>
 
'''Remark:''' Usually, the name ''Wald's equation'' refers to this last equality.
 
==Discussion of assumptions==
Clearly, assumption ({{EquationNote|1}}) is needed to formulate assumption ({{EquationNote|2}}) and Wald's equation. Assumption ({{EquationNote|2}}) controls the amount of dependence allowed between the sequence {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} and the number {{math|''N''}} of terms, see the [[counterexample]] below for the [[Necessary and sufficient condition|necessity]]. Assumption ({{EquationNote|3}}) is of more technical nature, implying [[absolute convergence]] and therefore [[absolute convergence#Rearrangements and unconditional convergence|allowing arbitrary rearrangement]] of an infinite series in the proof.
 
If assumption ({{EquationNote|5}}) is satisfied, then assumption ({{EquationNote|3}}) can be strengthened to the simpler condition
 
:{{EquationRef|6}}. there exists a real constant {{math|''C''}} such that {{math|E<nowiki>[|</nowiki>''X<sub>n</sub>''{{!}}&thinsp;1<sub>{''N'' ≥ ''n''}</sub><nowiki>]</nowiki> ≤ ''C'' P(''N'' ≥ ''n'')}} for all natural numbers {{math|''n''}}.
 
Indeed, using assumption ({{EquationNote|6}}),
 
:<math>\sum_{n=1}^\infty\operatorname{E}\!\bigl[|X_n|1_{\{N\ge n\}}\bigr]\le
C\sum_{n=1}^\infty\operatorname{P}(N\ge n),</math>
 
and the last series equals the expectation of {{math|''N''}}&nbsp;<sup><nowiki>[</nowiki>[[expected value#Discrete distribution taking only non-negative integer values|Proof]]<nowiki>]</nowiki></sup>, which is finite by assumption ({{EquationNote|5}}). Therefore, ({{EquationNote|5}}) and ({{EquationNote|6}}) imply assumption ({{EquationNote|3}}).
 
Assume in addition to ({{EquationNote|1}}) and ({{EquationNote|5}}) that
:{{EquationRef|7}}. {{math|''N''}} is independent of the sequence {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} and
:{{EquationRef|8}}. there exists a constant {{math|''C''}} such that {{math|E<nowiki>[|</nowiki>''X<sub>n</sub>''<nowiki>|]</nowiki> ≤ ''C''}} for all natural numbers {{math|''n''}}.
 
Then all the assumptions ({{EquationNote|1}}), ({{EquationNote|2}}), ({{EquationNote|5}}) and ({{EquationNote|6}}), hence also ({{EquationNote|3}}) are satisfied. In particular, the conditions ({{EquationNote|4}}) and ({{EquationNote|8}}) are satisfied if
:{{EquationRef|9}}. the random variables {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} all have the same distribution.
 
Note that the random variables of the sequence {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} don't need to be independent.
 
The interesting point is to admit some dependence between the random number {{math|''N''}} of terms and the sequence {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}}. A standard version is to assume ({{EquationNote|1}}), ({{EquationNote|5}}), ({{EquationNote|8}}) and the existence of a [[filtration (mathematics)#Measure theory|filtration]] {{math|({{mathcal|F}}<sub>''n''</sub>)<sub>''n''∈ℕ<sub>0</sub></sub>}} such that
:{{EquationRef|10}}. {{math|''N''}} is a [[stopping time]] with respect to the filtration, and
:{{EquationRef|11}}. {{math|''X<sub>n</sup>''}} and {{math|{{mathcal|F}}<sub>''n''–1</sub>}} are independent for every {{math|''n'' ∈ ℕ}}.
 
Then ({{EquationNote|10}}) implies that the event {{math|{''N'' ≥ ''n''} {{=}} {''N'' ≤ ''n'' – 1}<sup>c</sub>}} is in {{math|{{mathcal|F}}<sub>''n''–1</sub>}}, hence by ({{EquationNote|11}}) independent of {{math|''X<sub>n</sup>''}}. This implies ({{EquationNote|2}}), and together with ({{EquationNote|8}}) it implies ({{EquationNote|6}}).
 
For convenience (see the proof below using the optional stopping theorem) and to specify the relation of the sequence {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} and the filtration {{math|({{mathcal|F}}<sub>''n''</sub>)<sub>''n''∈ℕ<sub>0</sub></sub>}}, the following additional assumption is often imposed:
:{{EquationRef|12}}. the sequence {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} is [[adapted process|adapted]] to the filtration {{math|({{mathcal|F}}<sub>''n''</sub>)<sub>''n''∈ℕ</sub>}}, meaning the {{math|''X<sub>n</sub>''}} is {{math|{{mathcal|F}}<sub>''n''</sub>}}-measurable for every {{math|''n'' ∈ ℕ}}.
 
Note that ({{EquationNote|11}}) and ({{EquationNote|12}}) together imply that the random variables {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} are independent.
 
==Application==
An application is in [[actuarial science]] when considering the total claim amount follows a [[compound Poisson process]]
 
:<math>S_N=\sum_{n=1}^NX_n</math>
 
within a certain time period, say one year, arising from a random number {{math|''N''}} of individual insurance claims, whose sizes are described by the random variables {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}}. Under the above assumptions, Wald's equation can be used to calculate the expected total claim amount when information about the average claim number per year and the average claim size is available. Under stronger assumptions and with more information about the underlying distributions, [[Panjer recursion|Panjer's recursion]] can be used to calculate the distribution of {{math|''S<sub>N</sub>''}}.
 
==Examples==
 
===Example with dependent terms===
Let {{math|''N''}} be an integrable, {{math|ℕ<sub>0</sub>}}-valued random variable, which is independent of the integrable, real-valued random variable {{math|''Z''}} with {{math|E<nowiki>[</nowiki>''Z''<nowiki>]</nowiki> {{=}} 0}}. Define {{math|''X<sub>n</sub>'' {{=}} (–1)<sup>''n''</sup>&thinsp;''Z''}} for all {{math|''n'' ∈ ℕ}}. Then assumptions ({{EquationNote|1}}), ({{EquationNote|5}}), ({{EquationNote|7}}), and ({{EquationNote|8}}) with {{math|''C'' :{{=}} E<nowiki>[|</nowiki>''Z''<nowiki>|]</nowiki>}} are satisfied, hence also ({{EquationNote|2}}) and ({{EquationNote|6}}), and Wald's equation applies. If the distribution of {{math|''Z''}} is not symmetric, then ({{EquationNote|9}}) does not hold. Note that, when {{math|''Z''}} is not almost surely equal to the zero random variable, then ({{EquationNote|11}}) and ({{EquationNote|12}}) cannot hold simultaneously for any filtration {{math|({{mathcal|F}}<sub>''n''</sub>)<sub>''n''∈ℕ</sub>}}, because {{math|''Z''}} cannot be independent of itself as {{math|E<nowiki>[</nowiki>''Z''&thinsp;<sup>2</sup><nowiki>]</nowiki> {{=}} (E<nowiki>[</nowiki>''Z''<nowiki>]</nowiki>)<sup>2</sup> {{=}} 0}} is impossible.
 
===Example where the number of terms depends on the sequence===
Let {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} be a sequence of independent, symmetric, and {{math|{–1, +1}}}-valued random variables. For every {{math|''n'' ∈ ℕ}} let {{math|{{mathcal|F}}<sub>''n''</sub>}} be the [[σ-algebra]] generated by {{math|''X''<sub>1</sub>, . . . , ''X<sub>n</sub>''}} and define {{math|''N'' {{=}} ''n''}} when {{math|''X<sub>n</sub>''}} is the first random variable taking the value {{math|+1}}. Note that {{math|P(''N'' {{=}} ''n'') {{=}} 1/2<sup>''n''</sup>}}, hence {{math|E<nowiki>[</nowiki>''N''<nowiki>]</nowiki> < ∞}} by the [[ratio test]]. The assumptions ({{EquationNote|1}}), ({{EquationNote|5}}) and ({{EquationNote|9}}), hence ({{EquationNote|4}}) and ({{EquationNote|8}}) with {{math|''C'' {{=}} 1}}, ({{EquationNote|10}}), ({{EquationNote|11}}), and ({{EquationNote|12}}) hold, hence also ({{EquationNote|2}}), and ({{EquationNote|6}}) and Wald's equation applies. However, ({{EquationNote|7}}) does not hold, because {{math|''N''}} is defined in terms of the sequence {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}}. Intuitively, one might expect to have {{math|E<nowiki>[</nowiki>''S<sub>N</sub>''<nowiki>]</nowiki> > 0}} in this example, because the summation stops right after a one, thereby apparently creating a positive bias. However, Wald's equation shows that this intuition is misleading.
 
==Counterexamples==
 
===A counterexample illustrating the necessity of assumption ({{EquationNote|2}})===
Consider a sequence {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} of [[i.i.d.]] random variables, taking each of the two values&nbsp;0 and&nbsp;1 with probability&nbsp;½ (actually, only {{math|''X''<sub>1</sub>}} is needed in the following). Define {{math|''N'' {{=}} 1 – ''X''<sub>1</sub>}}. Then {{math|''S<sub>N</sub>''}} is identically equal to zero, hence {{math|E<nowiki>[</nowiki>''S<sub>N</sub>''<nowiki>]</nowiki> {{=}} 0}}, but {{math|E<nowiki>[</nowiki>''X''<sub>1</sub><nowiki>]</nowiki> {{=}} ½}} and {{math|E<nowiki>[</nowiki>''N''<nowiki>]</nowiki> {{=}} ½}} and therefore Wald's equation does not hold. Indeed, the assumptions ({{EquationNote|1}}), ({{EquationNote|3}}), ({{EquationNote|4}}) and ({{EquationNote|5}}) are satisfied, however, the equation in assumption ({{EquationNote|2}}) holds for all {{math|''n'' ∈ ℕ}} except for {{math|''n'' {{=}} 1}}.
 
===A counterexample illustrating the necessity of assumption ({{EquationNote|3}})===
Very similar to the second example above, let {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} be a sequence of independent, symmetric random variables, where {{math|''X<sub>n</sub>''}} takes each of the values {{math|2<sup>''n''</sup>}} and {{math|–2<sup>''n''</sup>}} with probability&nbsp;½. Let {{math|''N''}} be the first {{math|''n'' ∈ ℕ}} such that {{math|''X<sub>n</sub>'' {{=}} 2<sup>''n''</sup>}}. Then, as above, {{math|''N''}} has finite expectation, hence assumption ({{EquationNote|5}}) holds. Since {{math|E<nowiki>[</nowiki>''X<sub>n</sub>''<nowiki>]</nowiki> {{=}} 0}} for all {{math|''n'' ∈ ℕ}}, assumptions ({{EquationNote|1}}) and ({{EquationNote|4}}) hold. However, since {{math|''S<sub>N</sub>'' {{=}} 1}} almost surely, Wald's equation cannot hold.
 
Since {{math|''N''}} is a stopping time with respect to the filtration generated by {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}}, assumption ({{EquationNote|2}}) holds, see above. Therefore, only assumption ({{EquationNote|3}}) can fail, and indeed, since
 
:<math>\{N\ge n\}=\{X_i=-2^{i} \text{ for } i=1,\ldots,n-1\}</math>
 
and therefore {{math|P(''N'' ≥ ''n'') {{=}} 1/2<sup>''n''–1</sup>}} for every {{math|''n'' ∈ ℕ}}, it follows that
 
:<math>\sum_{n=1}^\infty\operatorname{E}\!\bigl[|X_n|1_{\{N\ge n\}}\bigr]
=\sum_{n=1}^\infty 2^n\,\operatorname{P}(N\ge n)
=\sum_{n=1}^\infty 2=\infty.</math>
 
==A proof using the optional stopping theorem==
Assume ({{EquationNote|1}}), ({{EquationNote|5}}), ({{EquationNote|8}}), ({{EquationNote|10}}), ({{EquationNote|11}}) and ({{EquationNote|12}}). Using assumption ({{EquationNote|1}}), define the sequence of random variables
 
:<math>M_n = \sum_{i=1}^n (X_i - \operatorname{E}[X_i]),\quad n\in{\mathbb N}_0.</math>
 
Assumption ({{EquationNote|11}}) implies that the conditional expectation of {{math|''X<sub>n</sub>''}} given {{math|{{mathcal|F}}<sub>''n''–1</sub>}} equals {{math|E<nowiki>[</nowiki>''X<sub>n</sub>''<nowiki>]</nowiki>}} almost surely for every {{math|''n'' ∈ ℕ}}, hence {{math|(''M<sub>n</sub>'')<sub>''n''∈ℕ<sub>0</sub></sub>}} is a [[martingale (probability theory)|martingale]] with respect to the filtration {{math|({{mathcal|F}}<sub>''n''</sub>)<sub>''n''∈ℕ<sub>0</sub></sub>}} by assumption ({{EquationNote|12}}). Assumptions ({{EquationNote|5}}), ({{EquationNote|8}}) and ({{EquationNote|10}}) make sure that we can apply the [[optional stopping theorem]], hence {{math|''M<sub>N</sub>'' {{=}} ''S<sub>N</sub>'' – ''T<sub>N</sub>''}} is integrable and
{{NumBlk|:|<math>\operatorname{E}[S_N-T_N] = \operatorname{E}[M_0] = 0.</math>|{{EquationRef|13}}}}
 
Due to assumption ({{EquationNote|8}}),
 
:<math>|T_N|=\biggl|\sum_{i=1}^N\operatorname{E}[X_i]\biggr| \le \sum_{i=1}^N\operatorname{E}[|X_i|]\le CN,</math>
 
and due to assumption ({{EquationNote|5}}) this upper bound is integrable. Hence we can add the expectation of {{math|''T<sub>N</sub>''}} to both sides of Equation&nbsp;({{EquationNote|13}}) and obtain by linearity
 
:<math>\operatorname{E}[S_N]
=\operatorname{E}[T_N].</math>
 
'''Remark:''' Note that this proof does not cover the [[#Example with dependent terms|above example with dependent terms]].
 
==General proof==
This proof uses only [[Lebesgue monotone convergence theorem|Lebesgue's monotone]] and [[dominated convergence theorem]]s.
We prove the statement as given above in three steps.
 
===Step 1: Integrability of the random sum {{math|''S<sub>N</sub>''}}===
We first show that the random sum {{math|''S<sub>N</sub>''}} is integrable. Define the partial sums
 
{{NumBlk|:|<math>S_i=\sum_{n=1}^iX_n,\quad i\in{\mathbb N}_0.</math>|{{EquationRef|14}}}}
 
Since {{math|''N''}} takes its values in {{math|ℕ<sub>0</sub>}} and since {{math|''S''<sub>0</sub> {{=}} 0}}, it follows that
 
:<math>|S_N|=\sum_{i=1}^\infty|S_i|\,1_{\{N=i\}}.</math>
 
The [[Lebesgue monotone convergence theorem]] implies that
 
:<math>\operatorname{E}[|S_N|]=\sum_{i=1}^\infty\operatorname{E}[|S_i|\,1_{\{N=i\}}].</math>
 
By the triangle inequality,
 
:<math>|S_i|\le\sum_{n=1}^i|X_n|,\quad i\in{\mathbb N}.</math>
 
Using this upper estimate and changing the order of summation (which is permitted because all terms are non-negative), we obtain
 
{{NumBlk|:|<math>\operatorname{E}[|S_N|]\le\sum_{n=1}^\infty\sum_{i=n}^\infty\operatorname{E}[|X_n|\,1_{\{N=i\}}]\le\sum_{n=1}^\infty\operatorname{E}[|X_n|\,1_{\{N\ge n\}}],</math>|{{EquationRef|15}}}}
 
where the second inequality follows using the monotone convergence theorem. By assumption ({{EquationNote|3}}), the infinite sequence on the right-hand side of  ({{EquationNote|15}}) converges, hence {{math|''S<sub>N</sub>''}} is integrable.
 
===Step 2: Integrability of the random sum {{math|''T<sub>N</sub>''}}===
We now show that the random sum {{math|''T<sub>N</sub>''}} is integrable. Define the partial sums
 
{{NumBlk|:|<math>T_i=\sum_{n=1}^i\operatorname{E}[X_n],\quad i\in{\mathbb N}_0,</math>|{{EquationRef|16}}}}
 
of real numbers. Since {{math|''N''}} takes its values in {{math|ℕ<sub>0</sub>}} and since {{math|''T''<sub>0</sub> {{=}} 0}}, it follows that
 
:<math>|T_N|=\sum_{i=1}^\infty|T_i|\,1_{\{N=i\}}.</math>
 
The [[Lebesgue monotone convergence theorem]] implies that
 
:<math>\operatorname{E}[|T_N|]=\sum_{i=1}^\infty |T_i|\operatorname{P}(N=i).</math>
 
By the triangle inequality,
 
:<math>|T_i|\le\sum_{n=1}^i\bigl|\!\operatorname{E}[X_n]\bigr|,\quad i\in{\mathbb N}.</math>
 
Using this upper estimate and changing the order of summation (which is permitted because all terms are non-negative), we obtain
 
{{NumBlk|:|<math>\operatorname{E}[|T_N|]\le\sum_{n=1}^\infty\bigl|\!\operatorname{E}[X_n]\bigr|\underbrace{\sum_{i=n}^\infty\operatorname{P}(N=i)}_{=\,\operatorname{P}(N\ge n)},</math>|{{EquationRef|17}}}}
 
By assumption ({{EquationNote|2}}),
 
:<math>\bigl|\!\operatorname{E}[X_n]\bigr|\operatorname{P}(N\ge n)
=\bigl|\!\operatorname{E}[X_n1_{\{N\ge n\}}]\bigr|
\le\operatorname{E}[|X_n|1_{\{N\ge n\}}],\quad n\in{\mathbb N}.</math>
 
Substituting this into ({{EquationNote|17}}) yields
 
:<math>\operatorname{E}[|T_N|]\le\sum_{n=1}^\infty\operatorname{E}[|X_n|1_{\{N\ge n\}}],</math>
 
which is finite by assumption ({{EquationNote|3}}), hence {{math|''T<sub>N</sub>''}} is integrable.
 
===Step 3: Proof of the identity===
To prove Wald's equation, we essentially go through the same steps again without the absolute value, making use of the integrability of the random sums {{math|''S<sub>N</sub>''}} and {{math|''T<sub>N</sub>''}} in order to show that they have the same expectation. Using the [[dominated convergence theorem]] with dominating random variable {{math|{{!}}''S<sub>N</sub>''{{!}}}} and the definition of the partial sum {{math|''S<sub>i</sub>''}} given in ({{EquationNote|14}}), it follows that
 
:<math>\operatorname{E}[S_N]=\sum_{i=1}^\infty\operatorname{E}[S_i1_{\{N=i\}}]
=\sum_{i=1}^\infty\sum_{n=1}^i\operatorname{E}[X_n1_{\{N=i\}}].</math>
 
Due to the absolute convergence proved in ({{EquationNote|15}}) above using assumption ({{EquationNote|3}}), we may rearrange the summation and obtain that
 
:<math>\operatorname{E}[S_N]=\sum_{n=1}^\infty\sum_{i=n}^\infty\operatorname{E}[X_n1_{\{N=i\}}]=\sum_{n=1}^\infty\operatorname{E}[X_n1_{\{N\ge n\}}],</math>
 
where we used assumption ({{EquationNote|1}}) and the dominated convergence theorem with dominating random variable {{math|{{!}}''X<sub>n</sub>''{{!}}}} for the second equality. Due to assumption ({{EquationNote|2}}) and the σ-additivity of the probability measure,
 
:<math>\begin{align}\operatorname{E}[X_n1_{\{N\ge n\}}] &=\operatorname{E}[X_n]\operatorname{P}(N\ge n)\\
&=\operatorname{E}[X_n]\sum_{i=n}^\infty\operatorname{P}(N=i)
=\sum_{i=n}^\infty\operatorname{E}\!\bigl[\operatorname{E}[X_n]1_{\{N=i\}}\bigr].\end{align}</math>
 
Substituting this result into the previous equation, rearranging the summation (which is permitted due to absolute convergence, see ({{EquationNote|15}}) above), using linearity of expectation and the definition of the partial sum {{math|''T<sub>i</sub>''}} of expectations given in ({{EquationNote|16}}),
 
:<math>\operatorname{E}[S_N]=\sum_{i=1}^\infty\sum_{n=1}^i\operatorname{E}\!\bigl[\operatorname{E}[X_n]1_{\{N=i\}}\bigr]=\sum_{i=1}^\infty\operatorname{E}[\underbrace{T_i1_{\{N=i\}}}_{=\,T_N1_{\{N=i\}}}].</math>
 
By using dominated convergence again with dominating random variable {{math|{{!}}''T<sub>N</sub>''{{!}}}},
 
:<math>\operatorname{E}[S_N]=\operatorname{E}\!\biggl[T_N\underbrace{\sum_{i=1}^\infty1_{\{N=i\}}}_{=\,1_{\{N\ge1\}}}\biggr]=\operatorname{E}[T_N].</math>
 
If assumptions ({{EquationNote|4}}) and ({{EquationNote|5}}) are satisfied, then by linearity of expectation,
 
:<math>\operatorname{E}[T_N]=\operatorname{E}\!\biggl[\sum_{n=1}^N \operatorname{E}[X_n]\biggr]=\operatorname{E}[X_1]\operatorname{E}\!\biggl[\underbrace{\sum_{n=1}^N 1}_{=\,N}\biggr]=\operatorname{E}[N]\operatorname{E}[X_1].</math>
 
This completes the proof.
 
==Further generalizations==
* Wald's equation can be transferred to {{math|'''R'''<sup>''d''</sub>}}-valued random variables {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} by applying the one-dimensional version to every component.
* If {{math|(''X<sub>n</sub>'')<sub>''n''∈ℕ</sub>}} are [[Bochner integral|Bochner-integrable]] random variables taking values in a [[Banach space]], then the general proof above can be adjusted accordingly.
 
==See also==
 
* [[Lorden's inequality]]
* [[Wald's martingale]]
* [[Spitzer's formula]]
 
==Notes==
{{Reflist}}
 
==References==
*{{cite journal|last = Wald|first = Abraham|title = On cumulative sums of random variables|journal = The Annals of Mathematical Statistics|volume = 15|issue = 3| pages = 283–296|jstor = 2236250|doi = 10.1214/aoms/1177731235|date=September 1944|mr = 10927|zbl = 0063.08122}}
*{{cite journal|last = Wald|first = Abraham|title = Some generalizations of the theory of cumulative sums of random variables|journal = The Annals of Mathematical Statistics|volume = 16|issue = 3|pages = 287–293|jstor = 2235707|doi = 10.1214/aoms/1177731092|year = 1945|mr = 13852|zbl = 0063.08129}}
* {{cite journal|last = Chan|first = Hock Peng|coauthors = Fuh, Cheng-Der; Hu, Inchi|title = Multi-armed bandit problem with precedence relations|journal = IMS Lecture Notes: Time Series and Related Topics|volume = 52|year = 2006|pages = 223–235|arxiv = math/0702819|format = subscription required|doi = 10.1214/074921706000001067}}
 
[[Category:Probability theory]]
[[Category:Articles containing proofs]]
[[Category:Actuarial science]]

Latest revision as of 10:33, 8 March 2014

I woke up another day and noticed - I have Concerts luke Bryan been single for a while at the moment and after eagles concert tickets much bullying from buddies I now locate myself signed up for on line dating. They assured me that there are lots of enjoyable, sweet and ordinary folks to fulfill, so the pitch is gone by here!
I try to maintain as physically healthy as possible coming to the gym many times weekly. I love my athletics and attempt to play or watch since many a potential. Being winter I'll frequently at Hawthorn suits. Notice: I've experienced the carnage of wrestling matches at stocktake revenue, If you will considered purchasing an athletics I really do not brain.
My friends and family are amazing and spending some time with them at bar gigs or dishes is definitely a must. I have never been into clubs as I discover you can never own a significant dialog with the sound. In addition, I have two quite adorable and unquestionably cheeky dogs who are consistently enthusiastic to meet fresh individuals.

Check out my web blog; photos of luke bryan