Skip to content

Commit 56eeac4

Browse files
committed
integrated new content
Proofs "wald-mgf/mean/var" were added to the table of contents; index pages updated.
1 parent ec1dc08 commit 56eeac4

9 files changed

Lines changed: 73 additions & 52 deletions

I/Proof_by_Author.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,12 @@ title: "Proof by Author"
174174

175175
- [Proof Template](/P/-temp-)
176176

177-
### tomfaulkenberry (4 proofs)
177+
### tomfaulkenberry (7 proofs)
178178

179179
- [Encompassing Prior Method for computing Bayes Factors](/P/bf-ep)
180+
- [Mean of the Wald distribution](/P/wald-mean)
181+
- [Moment-generating function of the Wald distribution](/P/wald-mgf)
180182
- [Probability density function of the Wald distribution](/P/wald-pdf)
181183
- [Savage-Dickey Density Ratio for computing Bayes Factors](/P/bf-sddr)
182184
- [Transitivity of Bayes Factors](/P/bf-trans)
185+
- [Variance of the Wald distribution](/P/wald-var)

I/Proof_by_Number.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,7 @@ title: "Proof by Number"
173173
| P164 | gibbs-ineq | [Gibbs' inequality](/P/gibbs-ineq) | JoramSoch | 2020-09-09 |
174174
| P165 | logsum-ineq | [Log sum inequality](/P/logsum-ineq) | JoramSoch | 2020-09-09 |
175175
| P166 | kl-nonneg2 | [Non-negativity of the Kullback-Leibler divergence](/P/kl-nonneg2) | JoramSoch | 2020-09-09 |
176-
| P167 | momcent-1st | [First central moment is zero](/P/momcent-1st) | JoramSoch | 2020-08-19 |
176+
| P167 | momcent-1st | [First central moment is zero](/P/momcent-1st) | JoramSoch | 2020-09-09 |
177+
| P168 | wald-mgf | [Moment-generating function of the Wald distribution](/P/wald-mgf) | tomfaulkenberry | 2020-09-13 |
178+
| P169 | wald-mean | [Mean of the Wald distribution](/P/wald-mean) | tomfaulkenberry | 2020-09-13 |
179+
| P170 | wald-var | [Variance of the Wald distribution](/P/wald-var) | tomfaulkenberry | 2020-09-13 |

I/Proof_by_Topic.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ title: "Proof by Topic"
114114
- [Maximum likelihood estimator of variance is biased](/P/resvar-bias)
115115
- [Mean of the Bernoulli distribution](/P/bern-mean)
116116
- [Mean of the Poisson distribution](/P/poiss-mean)
117+
- [Mean of the Wald distribution](/P/wald-mean)
117118
- [Mean of the binomial distribution](/P/bin-mean)
118119
- [Mean of the categorical distribution](/P/cat-mean)
119120
- [Mean of the continuous uniform distribution](/P/cuni-mean)
@@ -130,6 +131,7 @@ title: "Proof by Topic"
130131
- [Mode of the normal distribution](/P/norm-mode)
131132
- [Moment in terms of moment-generating function](/P/mom-mgf)
132133
- [Moment-generating function of linear combination of independent random variables](/P/mgf-lincomb)
134+
- [Moment-generating function of the Wald distribution](/P/wald-mgf)
133135
- [Moment-generating function of the normal distribution](/P/norm-mgf)
134136
- [Monotonicity of the expected value](/P/mean-mono)
135137

@@ -226,6 +228,7 @@ title: "Proof by Topic"
226228
### V
227229

228230
- [Variance of constant is zero](/P/var-const)
231+
- [Variance of the Wald distribution](/P/wald-var)
229232
- [Variance of the gamma distribution](/P/gam-var)
230233
- [Variance of the linear combination of two random variables](/P/var-lincomb)
231234
- [Variance of the normal distribution](/P/norm-var)

I/Proofs_without_Source.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ title: "Proofs without Source"
2525
- [Maximum likelihood estimation for Poisson-distributed data](/P/poiss-mle)
2626
- [Maximum likelihood estimation for multiple linear regression](/P/mlr-mle)
2727
- [Maximum likelihood estimation for the general linear model](/P/glm-mle)
28+
- [Mean of the Wald distribution](/P/wald-mean)
2829
- [Mean of the categorical distribution](/P/cat-mean)
2930
- [Mean of the continuous uniform distribution](/P/cuni-mean)
3031
- [Mean of the multinomial distribution](/P/mult-mean)
@@ -62,5 +63,6 @@ title: "Proofs without Source"
6263
- [Relationship between signal-to-noise ratio and R²](/P/snr-rsq)
6364
- [Transitivity of Bayes Factors](/P/bf-trans)
6465
- [Transposition of a matrix-normal random variable](/P/matn-trans)
66+
- [Variance of the Wald distribution](/P/wald-var)
6567
- [Weighted least squares for multiple linear regression](/P/mlr-wls2)
6668
- [Weighted least squares for the general linear model](/P/glm-wls)

I/Table_of_Contents.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -226,16 +226,16 @@ title: "Table of Contents"
226226
&emsp;&ensp; 3.2.2. *[Standard normal distribution](/D/snorm)* <br>
227227
&emsp;&ensp; 3.2.3. **[Relation to standard normal distribution](/P/norm-snorm)** <br>
228228
&emsp;&ensp; 3.2.4. **[Probability density function](/P/norm-pdf)** <br>
229-
&emsp;&ensp; 3.2.5. **[Cumulative distribution function](/P/norm-cdf)** <br>
230-
&emsp;&ensp; 3.2.6. **[Cumulative distribution function without error function](/P/norm-cdfwerf)** <br>
231-
&emsp;&ensp; 3.2.7. **[Quantile function](/P/norm-qf)** <br>
232-
&emsp;&ensp; 3.2.8. **[Mean](/P/norm-mean)** <br>
233-
&emsp;&ensp; 3.2.9. **[Median](/P/norm-med)** <br>
234-
&emsp;&ensp; 3.2.10. **[Mode](/P/norm-mode)** <br>
235-
&emsp;&ensp; 3.2.11. **[Variance](/P/norm-var)** <br>
236-
&emsp;&ensp; 3.2.12. **[Full width at half maximum](/P/norm-fwhm)** <br>
237-
&emsp;&ensp; 3.2.13. **[Differential entropy](/P/norm-dent)** <br>
238-
&emsp;&ensp; 3.2.14. **[Moment-generating function](/P/norm-mgf)** <br>
229+
&emsp;&ensp; 3.2.5. **[Moment-generating function](/P/norm-mgf)** <br>
230+
&emsp;&ensp; 3.2.6. **[Cumulative distribution function](/P/norm-cdf)** <br>
231+
&emsp;&ensp; 3.2.7. **[Cumulative distribution function without error function](/P/norm-cdfwerf)** <br>
232+
&emsp;&ensp; 3.2.8. **[Quantile function](/P/norm-qf)** <br>
233+
&emsp;&ensp; 3.2.9. **[Mean](/P/norm-mean)** <br>
234+
&emsp;&ensp; 3.2.10. **[Median](/P/norm-med)** <br>
235+
&emsp;&ensp; 3.2.11. **[Mode](/P/norm-mode)** <br>
236+
&emsp;&ensp; 3.2.12. **[Variance](/P/norm-var)** <br>
237+
&emsp;&ensp; 3.2.13. **[Full width at half maximum](/P/norm-fwhm)** <br>
238+
&emsp;&ensp; 3.2.14. **[Differential entropy](/P/norm-dent)** <br>
239239

240240
3.3. Gamma distribution <br>
241241
&emsp;&ensp; 3.3.1. *[Definition](/D/gam)* <br>
@@ -264,6 +264,9 @@ title: "Table of Contents"
264264
3.6. Wald distribution <br>
265265
&emsp;&ensp; 3.6.1. *[Definition](/D/wald)* <br>
266266
&emsp;&ensp; 3.6.2. **[Probability density function](/P/wald-pdf)** <br>
267+
&emsp;&ensp; 3.6.3. **[Moment-generating function](/P/wald-mgf)** <br>
268+
&emsp;&ensp; 3.6.4. **[Mean](/P/wald-mean)** <br>
269+
&emsp;&ensp; 3.6.5. **[Variance](/P/wald-var)** <br>
267270

268271
4. Multivariate continuous distributions
269272

P/momcent-1st.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ mathjax: true
55
author: "Joram Soch"
66
affiliation: "BCCN Berlin"
77
e_mail: "joram.soch@bccn-berlin.de"
8-
date: 2020-08-19 07:51:00
8+
date: 2020-09-09 07:51:00
99

1010
title: "First central moment is zero"
1111
chapter: "General Theorems"

P/wald-mean.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,43 +20,48 @@ shortcut: "wald-mean"
2020
username: "tomfaulkenberry"
2121
---
2222

23+
2324
**Theorem:** Let $X$ be a positive [random variable](/D/rvar) following a [Wald distribution](/D/wald):
2425

2526
$$ \label{eq:wald}
2627
X \sim \mathrm{Wald}(\gamma, \alpha) \; .
2728
$$
2829

29-
3030
Then, the [mean or expected value](/D/mean) of $X$ is
3131

32-
3332
$$ \label{eq:wald-mean}
3433
\mathrm{E}(X) = \frac{\alpha}{\gamma} \; .
3534
$$
3635

3736

38-
**Proof:** The mean or expected value $\mathrm{E}(X)$ is the first [moment](/D/mom) of $X$, so we can use the [moment-generating function of the Wald distribution](/P/wald-mgf) to calculate
37+
**Proof:** The mean or expected value $\mathrm{E}(X)$ is the first [moment](/D/mom) of $X$, so [we can use](/P/mom-mgf) the [moment-generating function of the Wald distribution](/P/wald-mgf) to calculate
3938

4039
$$ \label{eq:wald-moment}
4140
\mathrm{E}(X) = M_X'(0) \; .
4241
$$
4342

44-
First we differentiate $M_X(t) = \exp\left[\alpha \gamma - \sqrt{\alpha^2(\gamma^2-2t)}\right]$ with respect to $t$. Using the chain rule gives
43+
First we differentiate
44+
45+
$$ \label{eq:wald-mgf}
46+
M_X(t) = \exp\left[\alpha \gamma - \sqrt{\alpha^2(\gamma^2-2t)}\right]
47+
$$
48+
49+
with respect to $t$. Using the chain rule gives
4550

4651
$$ \label{eq:wald-mean-s1}
4752
\begin{split}
4853
M_X'(t) &= \exp\left[\alpha \gamma - \sqrt{\alpha^2(\gamma^2-2t)}\right] \cdot -\frac{1}{2}\left(\alpha^2(\gamma^2-2t)\right)^{-1/2}\cdot -2\alpha^2 \\
49-
&= \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right] \cdot \frac{\alpha^2}{\sqrt{\alpha^2(\gamma^2-2t)}} \\
54+
&= \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right] \cdot \frac{\alpha^2}{\sqrt{\alpha^2(\gamma^2-2t)}} \; .
5055
\end{split}
5156
$$
5257

53-
Evaluating \eqref{wald-mean-s1} at $t=0$ gives the desired result:
58+
Evaluating \eqref{eq:wald-mean-s1} at $t=0$ gives the desired result:
5459

5560
$$ \label{eq:wald-mean-s2}
5661
\begin{split}
57-
M_X'(0) &= \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2(0))}\right] \cdot \frac{\alpha^2}{\sqrt{\alpha^2(\gamma^2-2(0))}}\\
58-
&= \exp\left[\alpha \gamma - \sqrt{\alpha^2 \cdot \gamma^2}\right]\cdot \frac{\alpha^2}{\sqrt{\alpha^2\cdot \gamma^2}}\\
59-
&= \exp[0] \cdot \frac{\alpha^2}{\alpha \gamma}\\
60-
&= \frac{\alpha}{\gamma}\\ \; .
62+
M_X'(0) &= \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2(0))}\right] \cdot \frac{\alpha^2}{\sqrt{\alpha^2(\gamma^2-2(0))}} \\
63+
&= \exp\left[\alpha \gamma - \sqrt{\alpha^2 \cdot \gamma^2}\right]\cdot \frac{\alpha^2}{\sqrt{\alpha^2\cdot \gamma^2}} \\
64+
&= \exp[0] \cdot \frac{\alpha^2}{\alpha \gamma} \\
65+
&= \frac{\alpha}{\gamma} \; .
6166
\end{split}
6267
$$

P/wald-mgf.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ sources:
1717
- authors: "Siegrist, K."
1818
year: 2020
1919
title: "The Wald Distribution"
20-
in: "Random (formerly Virtual Laboratories in Probability and Statistics)"
20+
in: "Random: Probability, Mathematical Statistics, Stochastic Processes"
2121
pages: "retrieved on 2020-09-13"
2222
url: "https://www.randomservices.org/random/special/Wald.html"
23-
2423
- authors: "National Institute of Standards and Technology"
2524
year: 2020
2625
title: "NIST Digital Library of Mathematical Functions"
@@ -39,12 +38,10 @@ $$ \label{eq:wald}
3938
X \sim \mathrm{Wald}(\gamma, \alpha) \; .
4039
$$
4140

42-
4341
Then, the [moment-generating function](/D/mgf) of $X$ is
4442

45-
4643
$$ \label{eq:wald-mgf}
47-
M_X(t) = \exp \left[ \alpha\gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right].
44+
M_X(t) = \exp \left[ \alpha\gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right] \; .
4845
$$
4946

5047

@@ -64,8 +61,8 @@ Using the definition of [expected value for continuous random variables](/D/mean
6461

6562
$$ \label{eq:wald-mgf-s1}
6663
\begin{split}
67-
M_X(t) &= \int_0^{\infty} e^{tx} \cdot \frac{\alpha}{\sqrt{2\pi x^3}}\cdot \exp\left[-\frac{(\alpha-\gamma x)^2}{2x}\right]dx\\
68-
&= \frac{\alpha}{\sqrt{2\pi}}\int_0^{\infty} x^{-3/2}\cdot \exp\left[tx - \frac{(\alpha-\gamma x)^2}{2x}\right]dx\\
64+
M_X(t) &= \int_0^{\infty} e^{tx} \cdot \frac{\alpha}{\sqrt{2\pi x^3}}\cdot \exp\left[-\frac{(\alpha-\gamma x)^2}{2x}\right]dx \\
65+
&= \frac{\alpha}{\sqrt{2\pi}}\int_0^{\infty} x^{-3/2}\cdot \exp\left[tx - \frac{(\alpha-\gamma x)^2}{2x}\right]dx \; .
6966
\end{split}
7067
$$
7168

@@ -91,9 +88,9 @@ Starting from \eqref{eq:wald-mgf-s1}, we can expand the binomial term and rearra
9188

9289
$$ \label{eq:wald-mgf-s2}
9390
\begin{split}
94-
M_X(t) &= \frac{\alpha}{\sqrt{2\pi}} \int_0^{\infty} x^{-3/2}\cdot \exp\left[ tx - \frac{\alpha^2}{2x} + \alpha\gamma - \frac{\gamma^2x}{2}\right]dx\\
95-
&= \frac{\alpha}{\sqrt{2\pi}}\cdot e^{\alpha \gamma} \int_0^{\infty} x^{-3/2}\cdot \exp\left[\left(t-\frac{\gamma^2}{2}\right)x - \frac{\alpha^2}{2x}\right]dx\\
96-
&= \frac{\alpha}{\sqrt{2\pi}}\cdot e^{\alpha \gamma} \int_0^{\infty} x^{-3/2}\cdot \exp \left[-\frac{1}{2}\left(\gamma^2-2t\right)x - \frac{1}{2}\cdot \frac{\alpha^2}{x}\right]dx\\ \; .
91+
M_X(t) &= \frac{\alpha}{\sqrt{2\pi}} \int_0^{\infty} x^{-3/2}\cdot \exp\left[ tx - \frac{\alpha^2}{2x} + \alpha\gamma - \frac{\gamma^2x}{2}\right]dx \\
92+
&= \frac{\alpha}{\sqrt{2\pi}}\cdot e^{\alpha \gamma} \int_0^{\infty} x^{-3/2}\cdot \exp\left[\left(t-\frac{\gamma^2}{2}\right)x - \frac{\alpha^2}{2x}\right]dx \\
93+
&= \frac{\alpha}{\sqrt{2\pi}}\cdot e^{\alpha \gamma} \int_0^{\infty} x^{-3/2}\cdot \exp \left[-\frac{1}{2}\left(\gamma^2-2t\right)x - \frac{1}{2}\cdot \frac{\alpha^2}{x}\right]dx \; .
9794
\end{split}
9895
$$
9996

@@ -107,10 +104,10 @@ Combining with \eqref{eq:bessel-fact1} and simplifying gives
107104

108105
$$ \label{eq:wald-mgf-s4}
109106
\begin{split}
110-
M_X(t) &= \frac{\alpha}{\sqrt{2\pi}}\cdot e^{\alpha \gamma}\cdot 2\left(\frac{\gamma^2-2t}{\alpha^2}\right)^{1/4} \cdot \sqrt{\frac{\pi}{2\sqrt{\alpha^2(\gamma^2-2t)}}}\cdot \exp\left[-\sqrt{\alpha^2(\gamma^2-2t)}\right]\\
111-
&= \frac{\alpha}{\sqrt{2}\cdot \sqrt{\pi}}\cdot e^{\alpha \gamma}\cdot 2 \cdot \frac{(\gamma^2-2t)^{1/4}}{\sqrt{\alpha}}\cdot \frac{\sqrt{\pi}}{\sqrt{2}\cdot \sqrt{\alpha}\cdot (\gamma^2-2t)^{1/4}}\cdot \exp\left[-\sqrt{\alpha^2(\gamma^2-2t)}\right]\\
112-
&= e^{\alpha \gamma} \cdot \exp\left[-\sqrt{\alpha^2(\gamma^2-2t)}\right]\\
113-
&= \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right]\\ \; .
107+
M_X(t) &= \frac{\alpha}{\sqrt{2\pi}}\cdot e^{\alpha \gamma}\cdot 2\left(\frac{\gamma^2-2t}{\alpha^2}\right)^{1/4} \cdot \sqrt{\frac{\pi}{2\sqrt{\alpha^2(\gamma^2-2t)}}}\cdot \exp\left[-\sqrt{\alpha^2(\gamma^2-2t)}\right] \\
108+
&= \frac{\alpha}{\sqrt{2}\cdot \sqrt{\pi}}\cdot e^{\alpha \gamma}\cdot 2 \cdot \frac{(\gamma^2-2t)^{1/4}}{\sqrt{\alpha}}\cdot \frac{\sqrt{\pi}}{\sqrt{2}\cdot \sqrt{\alpha}\cdot (\gamma^2-2t)^{1/4}}\cdot \exp\left[-\sqrt{\alpha^2(\gamma^2-2t)}\right] \\
109+
&= e^{\alpha \gamma} \cdot \exp\left[-\sqrt{\alpha^2(\gamma^2-2t)}\right] \\
110+
&= \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right] \; .
114111
\end{split}
115112
$$
116113

P/wald-var.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@ shortcut: "wald-var"
2020
username: "tomfaulkenberry"
2121
---
2222

23+
2324
**Theorem:** Let $X$ be a positive [random variable](/D/rvar) following a [Wald distribution](/D/wald):
2425

2526
$$ \label{eq:wald}
2627
X \sim \mathrm{Wald}(\gamma, \alpha) \; .
2728
$$
2829

29-
3030
Then, the [variance](/D/var) of $X$ is
3131

32-
3332
$$ \label{eq:wald-var}
3433
\mathrm{Var}(X) = \frac{\alpha}{\gamma^3} \; .
3534
$$
@@ -47,13 +46,19 @@ $$ \label{eq:wald-moment}
4746
\mathrm{E}(X^2) = M_X''(0) \; .
4847
$$
4948

50-
First we differentiate $M_X(t) = \exp\left[\alpha \gamma - \sqrt{\alpha^2(\gamma^2-2t)}\right]$ with respect to $t$. Using the chain rule gives
49+
First we differentiate
50+
51+
$$ \label{eq:wald-mgf}
52+
M_X(t) = \exp\left[\alpha \gamma - \sqrt{\alpha^2(\gamma^2-2t)}\right]
53+
$$
54+
55+
with respect to $t$. Using the chain rule gives
5156

5257
$$ \label{eq:wald-var-s1}
5358
\begin{split}
5459
M_X'(t) &= \exp\left[\alpha \gamma - \sqrt{\alpha^2(\gamma^2-2t)}\right] \cdot -\frac{1}{2}\left(\alpha^2(\gamma^2-2t)\right)^{-1/2}\cdot -2\alpha^2 \\
5560
&= \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right] \cdot \frac{\alpha^2}{\sqrt{\alpha^2(\gamma^2-2t)}} \\
56-
&= \alpha \cdot \exp\left[\alpha \gamma -\sqrt{\alpha^2(\gamma^2-2t)}\right] \cdot (\gamma^2-2t)^{-1/2}\\ \; .
61+
&= \alpha \cdot \exp\left[\alpha \gamma -\sqrt{\alpha^2(\gamma^2-2t)}\right] \cdot (\gamma^2-2t)^{-1/2} \; .
5762
\end{split}
5863
$$
5964

@@ -62,31 +67,31 @@ Now we use the product rule to obtain the second derivative:
6267
$$ \label{eq:wald-var-s2}
6368
\begin{split}
6469
M_X''(t) &= \alpha \cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right]\cdot (\gamma^2-2t)^{-1/2}\cdot -\frac{1}{2}\left(\alpha^2(\gamma^2-2t)\right)^{-1/2}\cdot -2\alpha^2 \\
65-
&+ \alpha \cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right]\cdot -\frac{1}{2}(\gamma^2-2t)^{-3/2}\cdot -2\\
66-
&= \alpha^2\cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right]\cdot (\gamma^2-2t)^{-1}\\
67-
&+ \alpha\cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right]\cdot (\gamma^2-2t)^{-3/2}\\
68-
&= \alpha \cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right]\left[\frac{\alpha}{\gamma^2-2t}+\frac{1}{\sqrt{(\gamma^2-2t)^3}}\right]\\ \; .
70+
&+ \alpha \cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right]\cdot -\frac{1}{2}(\gamma^2-2t)^{-3/2}\cdot -2 \\
71+
&= \alpha^2\cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right]\cdot (\gamma^2-2t)^{-1} \\
72+
&+ \alpha\cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right]\cdot (\gamma^2-2t)^{-3/2} \\
73+
&= \alpha \cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2t)}\right]\left[\frac{\alpha}{\gamma^2-2t}+\frac{1}{\sqrt{(\gamma^2-2t)^3}}\right] \; .
6974
\end{split}
7075
$$
7176

7277
Applying \eqref{eq:wald-moment} yields
7378

7479
$$ \label{eq:wald-var-s3}
7580
\begin{split}
76-
\mathrm{E}(X^2) &= M_X''(0)\\
77-
&= \alpha \cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2(0))}\right]\left[\frac{\alpha}{\gamma^2-2(0)}+\frac{1}{\sqrt{(\gamma^2-2(0))^3}}\right]\\
78-
&= \alpha \cdot \exp\left[\alpha \gamma - \alpha \gamma\right] \cdot \left[\frac{\alpha}{\gamma^2} + \frac{1}{\gamma^3}\right]\\
79-
&= \frac{\alpha^2}{\gamma^2} + \frac{\alpha}{\gamma^3}\\ \; .
81+
\mathrm{E}(X^2) &= M_X''(0) \\
82+
&= \alpha \cdot \exp\left[\alpha \gamma-\sqrt{\alpha^2(\gamma^2-2(0))}\right]\left[\frac{\alpha}{\gamma^2-2(0)}+\frac{1}{\sqrt{(\gamma^2-2(0))^3}}\right] \\
83+
&= \alpha \cdot \exp\left[\alpha \gamma - \alpha \gamma\right] \cdot \left[\frac{\alpha}{\gamma^2} + \frac{1}{\gamma^3}\right] \\
84+
&= \frac{\alpha^2}{\gamma^2} + \frac{\alpha}{\gamma^3} \; .
8085
\end{split}
8186
$$
8287

8388
Since the [mean of a Wald distribution](/P/wald-mean) is given by $\mathrm{E}(X)=\alpha/\gamma$, we can apply \eqref{eq:var-mean} to show
8489

8590
$$ \label{eq:wald-var-s4}
8691
\begin{split}
87-
\mathrm{Var}(X) &= \mathrm{E}(X^2) - \mathrm{E}(X)^2\\
88-
&= \frac{\alpha^2}{\gamma^2} + \frac{\alpha}{\gamma^3} - \left(\frac{\alpha}{\gamma}\right)^2\\
89-
&= \frac{\alpha}{\gamma^3}\\
92+
\mathrm{Var}(X) &= \mathrm{E}(X^2) - \mathrm{E}(X)^2 \\
93+
&= \frac{\alpha^2}{\gamma^2} + \frac{\alpha}{\gamma^3} - \left(\frac{\alpha}{\gamma}\right)^2 \\
94+
&= \frac{\alpha}{\gamma^3}
9095
\end{split}
9196
$$
9297

0 commit comments

Comments
 (0)