Skip to content

Commit 0a9094d

Browse files
committed
corrected some pages
Several small corrections were done to several proofs and definitions.
1 parent 3c8c525 commit 0a9094d

6 files changed

Lines changed: 9 additions & 7 deletions

File tree

D/ent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ $$ \label{eq:ent}
3434
\mathrm{H}(X) = - \sum_{x \in \mathcal{X}} p(x) \cdot \log_b p(x)
3535
$$
3636

37-
where $b$ is the base of the logarithm specifying in which unit the entropy is determined.
37+
where $b$ is the base of the logarithm specifying in which unit the entropy is determined. By convention, $0 \cdot \log 0$ is taken to be zero when calculating the entropy of $X$.

D/kl.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ $$ \label{eq:KL-cont}
4343
\mathrm{KL}[P||Q] = \int_{\mathcal{X}} p(x) \cdot \log \frac{p(x)}{q(x)} \, \mathrm{d}x
4444
$$
4545

46-
where $p(x)$ and $q(x)$ are the [probability density functions](/D/pdf) of $P$ and $Q$.
46+
where $p(x)$ and $q(x)$ are the [probability density functions](/D/pdf) of $P$ and $Q$.
47+
48+
[By convention](/D/ent), $0 \cdot \log 0$ is taken to be zero when calculating the divergence between $P$ and $Q$.

P/bvn-pdf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $$ \label{eq:mvn-pdf}
4040
f_X(x) = \frac{1}{\sqrt{(2 \pi)^n |\Sigma|}} \cdot \exp \left[ -\frac{1}{2} (x-\mu)^\mathrm{T} \Sigma^{-1} (x-\mu) \right] \; .
4141
$$
4242

43-
Plugging in $n = 2$ as well as $\mu$ and $\Sigma$ from equation \eqref{eq:bvn}, we obtain:
43+
Plugging in $n = 2$, $\mu = \left[ \begin{matrix} \mu_1 \\\\ \mu_2 \end{matrix} \right]$ and $\Sigma = \left[ \begin{matrix} \sigma_1^2 \& \sigma_{12} \\\\ \sigma_{12} \& \sigma_2^2 \end{matrix} \right]$, we obtain:
4444

4545
$$ \label{eq:bvn-pdf-s1}
4646
\begin{split}

P/bvn-pdfcorr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ username: "JoramSoch"
2727
---
2828

2929

30-
**Theorem:** Let $X = \left[ \begin{matrix} X_1 & X_2 \end{matrix} \right]^\mathrm{T}$ follow a bivariate normal distribution:
30+
**Theorem:** Let $X = \left[ \begin{matrix} X_1 \\\\ X_2 \end{matrix} \right]$ follow a bivariate normal distribution:
3131

3232
$$ \label{eq:bvn}
3333
X \sim \mathcal{N}\left( \mu = \left[ \begin{matrix} \mu_1 \\ \mu_2 \end{matrix} \right], \Sigma = \left[ \begin{matrix} \sigma_1^2 & \sigma_{12} \\ \sigma_{12} & \sigma_2^2 \end{matrix} \right] \right) \; .

P/cuni-kl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $$ \label{eq:cuni-KL-s2}
5757
\mathrm{KL}[P\,||\,Q] = \int_{-\infty}^{a_1} 0 \cdot \ln \frac{0}{q(x)} \, \mathrm{d}x + \int_{a_1}^{b_1} p(x) \, \ln \frac{p(x)}{q(x)} \, \mathrm{d}x + \int_{b_1}^{+\infty} 0 \cdot \ln \frac{0}{q(x)} \, \mathrm{d}x \; .
5858
$$
5959

60-
Now, $(0 \cdot \ln 0)$ is taken to be $0$ [by convention](/D/ent), such that
60+
Now, $(0 \cdot \ln 0)$ is taken to be [zero by convention](/D/ent), such that
6161

6262
$$ \label{eq:cuni-KL-s3}
6363
\mathrm{KL}[P\,||\,Q] = \int_{a_1}^{b_1} p(x) \, \ln \frac{p(x)}{q(x)} \, \mathrm{d}x

P/f-pdf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ username: "JoramSoch"
3030
**Theorem:** Let $F$ be a [random variable](/D/rvar) following an [F-distribution](/D/f):
3131

3232
$$ \label{eq:f}
33-
F \sim F(u,v) \; .
33+
F \sim \mathrm{F}(u,v) \; .
3434
$$
3535

3636
Then, the [probability density function](/D/pdf) of $F$ is
@@ -43,7 +43,7 @@ $$
4343
**Proof:** An [F-distributed random variable](/D/f) is defined as the ratio of two [chi-squared random variables](/D/chi2), divided by their [degrees of freedom](/D/dof)
4444

4545
$$ \label{eq:f-def}
46-
X \sim \chi^2(u), \; Y \sim \chi^2(v) \quad \Rightarrow \quad F = \frac{X/u}{Y/v} \sim F(u,v)
46+
X \sim \chi^2(u), \; Y \sim \chi^2(v) \quad \Rightarrow \quad F = \frac{X/u}{Y/v} \sim \mathrm{F}(u,v)
4747
$$
4848

4949
where $X$ and $Y$ are [independent of each other](/D/ind).

0 commit comments

Comments
 (0)