Skip to content

Commit 8cf0f38

Browse files
committed
corrected some pages
Several small mistakes/errors were corrected in several proofs/definitions.
1 parent 031a704 commit 8cf0f38

9 files changed

Lines changed: 27 additions & 18 deletions

File tree

D/chi2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ $$\label{eq:chi2}
4545
Y = \sum_{i=1}^{k} X_{i}^{2} \sim \chi^{2}(k) \quad \text{where} \quad k > 0 \; .
4646
$$
4747

48-
A [random variables](/D/rvar) $Y$ is said said to follow a chi-square distribution with $k$ number of degress of freedom, if and only if its [probability density function](/D/pdf) is given by
48+
A [random variable](/D/rvar) $Y$ is said said to follow a chi-square distribution with $k$ number of degress of freedom, if and only if its [probability density function](/D/pdf) is given by
4949

5050
$$ \label{eq:chi2-pdf}
5151
\chi^{2}(x; k) = \frac{1}{2^{k/2}\Gamma (k/2)} \, x^{k/2-1} \, e^{-x/2}

D/sgam.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ sources:
2121
pages: "retrieved on 2020-05-26"
2222
url: "https://github.com/JoramSoch/MACS/blob/master/MD_gamrnd.m"
2323
doi: "10.5281/zenodo.845404"
24+
- authors: "NIST/SEMATECH"
25+
year: 2012
26+
title: "Gamma distribution"
27+
in: "e-Handbook of Statistical Methods"
28+
pages: "ch. 1.3.6.6.11"
29+
url: "https://www.itl.nist.gov/div898/handbook/eda/section3/eda366b.htm"
30+
doi: "10.18434/M32189"
2431

2532
def_id: "D64"
2633
shortcut: "sgam"

P/cuni-mean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $$
3737
**Proof:** The [expected value](/D/mean) is the probability-weighted average over all possible values:
3838

3939
$$ \label{eq:mean}
40-
\mathrm{E}(X) = \int_{\mathbb{R}} x \cdot f_X(x) \, \mathrm{d}x \; .
40+
\mathrm{E}(X) = \int_{\mathcal{X}} x \cdot f_X(x) \, \mathrm{d}x \; .
4141
$$
4242

4343
With the [probability density function of the continuous uniform distribution](/P/cuni-pdf), this becomes:

P/exp-mean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ $$
4444
**Proof:** The [expected value](/D/mean) is the probability-weighted average over all possible values:
4545

4646
$$ \label{eq:mean}
47-
\mathrm{E}(X) = \int_{\mathbb{R}} x \cdot f_\mathrm{X}(x) \, \mathrm{d}x \; .
47+
\mathrm{E}(X) = \int_{\mathcal{X}} x \cdot f_\mathrm{X}(x) \, \mathrm{d}x \; .
4848
$$
4949

5050
With the [probability density function of the exponential distribution](/P/exp-pdf), this reads:

P/gam-logmean.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ $$
3636
Then, the [expectation](/D/mean) of the natural logarithm of $X$ is
3737

3838
$$ \label{eq:gam-logmean}
39-
\mathrm{E}(\ln X) = \psi(a) - \ln(b) \; .
39+
\mathrm{E}(\ln X) = \psi(a) - \ln(b)
4040
$$
4141

42+
where $\psi(x)$ is the digamma function.
43+
4244

4345
**Proof:** Let $Y = \ln(X)$, such that $\mathrm{E}(Y) = \mathrm{E}(\ln X)$ and consider the special case that $b = 1$. In this case, the [probability density function of the gamma distribution](/P/gam-pdf) is
4446

P/gam-mean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ $$
4343
**Proof:** The [expected value](/D/mean) is the probability-weighted average over all possible values:
4444

4545
$$ \label{eq:mean}
46-
\mathrm{E}(X) = \int_{\mathbb{R}} x \cdot f_X(x) \, \mathrm{d}x \; .
46+
\mathrm{E}(X) = \int_{\mathcal{X}} x \cdot f_X(x) \, \mathrm{d}x \; .
4747
$$
4848

4949
With the [probability density function of the gamma distribution](/P/gam-pdf), this reads:

P/gam-sgam.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ $$ \label{eq:X-gam}
2727
X \sim \mathrm{Gam}(a,b) \; .
2828
$$
2929

30-
Then, the quantity $Z = b X$ will have a [standard gamma distribution](/D/sgam) with shape $a$ and rate $1$:
30+
Then, the quantity $Y = b X$ will have a [standard gamma distribution](/D/sgam) with shape $a$ and rate $1$:
3131

32-
$$ \label{eq:Z-snorm}
33-
Z = b X \sim \mathrm{Gam}(a,1) \; .
32+
$$ \label{eq:Y-snorm}
33+
Y = b X \sim \mathrm{Gam}(a,1) \; .
3434
$$
3535

3636

37-
**Proof:** Rearranging to get $X$ in terms of $Z$, we have
37+
**Proof:** Rearranging to get $X$ in terms of $Y$, we have
3838

39-
$$ \label{eq:X-Z}
40-
X = \frac{1}{b} Z \; .
39+
$$ \label{eq:X-Y}
40+
X = \frac{1}{b} Y \; .
4141
$$
4242

4343
The [cumulative distribution function of the gamma-distributed](/P/gam-cdf) $X$ is
@@ -46,13 +46,13 @@ $$ \label{eq:gam-cdf}
4646
F_X(t) = \int_{-\infty}^{t} \frac{b^a}{\Gamma(a)} x^{a-1} \exp[-b x] \, \mathrm{d}x \; .
4747
$$
4848

49-
Substituting \eqref{eq:X-Z} into \eqref{eq:gam-cdf}, we obtain
49+
Substituting \eqref{eq:X-Y} into \eqref{eq:gam-cdf}, we obtain
5050

5151
$$ \label{eq:sgam-cdf}
5252
\begin{split}
53-
F_Z(t) &= \int_{-\infty}^{t} \frac{b^a}{\Gamma(a)} \left(\frac{1}{b} z\right)^{a-1} \exp\left[-b \left(\frac{1}{b} z\right)\right] \, \mathrm{d}\left(\frac{1}{b} z\right) \\
54-
&= \int_{-\infty}^{t} \frac{b^a}{b} \left(\frac{1}{b}\right)^{a-1} \cdot \frac{1}{\Gamma(a)} z^{a-1} \exp[-z] \, \mathrm{d}z \\
55-
&= \int_{-\infty}^{t} \frac{1}{\Gamma(a)} z^{a-1} \exp[-z] \, \mathrm{d}z
53+
F_Z(t) &= \int_{-\infty}^{t} \frac{b^a}{\Gamma(a)} \left(\frac{1}{b} y\right)^{a-1} \exp\left[-b \left(\frac{1}{b} y\right)\right] \, \mathrm{d}\left(\frac{1}{b} y\right) \\
54+
&= \int_{-\infty}^{t} \frac{b^a}{b} \left(\frac{1}{b}\right)^{a-1} \cdot \frac{1}{\Gamma(a)} y^{a-1} \exp[-y] \, \mathrm{d}y \\
55+
&= \int_{-\infty}^{t} \frac{1}{\Gamma(a)} y^{a-1} \exp[-y] \, \mathrm{d}y
5656
\end{split}
5757
$$
5858

P/gam-xlogx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $$ \label{eq:gam-xlogx}
4040
$$
4141

4242

43-
**Proof:** With the [definition of the expected value](/D/mean) and the [probability density function of the gamma distribution](/P/gam-pdf), we have:
43+
**Proof:** With the [definition of the expected value](/D/mean), the [law of the unconscious statistician](/P/mean-lotus) and the [probability density function of the gamma distribution](/P/gam-pdf), we have:
4444

4545
$$ \label{eq:gam-xlogx-s1}
4646
\begin{split}
@@ -68,7 +68,7 @@ $$ \label{eq:gam-fct}
6868
\Gamma(x+1) = \Gamma(x) \cdot x \quad \Leftrightarrow \quad \frac{\Gamma(x+1)}{\Gamma(x)} = x \; ,
6969
$$
7070

71-
the expression in equation \eqref{eq:gam-mean-s1} develops into:
71+
the expression in equation \eqref{eq:gam-xlogx-s1} develops into:
7272

7373
$$ \label{eq:gam-xlogx-qed}
7474
\mathrm{E}(X \ln X) = \frac{a}{b} \left[ \psi(a) - \ln(b) \right] \; .

P/norm-mean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ $$
4343
**Proof:** The [expected value](/D/mean) is the probability-weighted average over all possible values:
4444

4545
$$ \label{eq:mean}
46-
\mathrm{E}(X) = \int_{\mathbb{R}} x \cdot f_X(x) \, \mathrm{d}x \; .
46+
\mathrm{E}(X) = \int_{\mathcal{X}} x \cdot f_X(x) \, \mathrm{d}x \; .
4747
$$
4848

4949
With the [probability density function of the normal distribution](/P/norm-pdf), this reads:

0 commit comments

Comments
 (0)