Skip to content

Commit 8d15107

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

5 files changed

Lines changed: 15 additions & 13 deletions

File tree

P/matn-marg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ $$ \label{eq:xj-marg-mvn}
148148
x_{\bullet,j} \sim \mathcal{N}(m_{\bullet,j}, v_{jj} U) \; .
149149
$$
150150

151-
4) This is a special case of 1). Setting $A$ to the $i$-th elementary row vector in $n$ dimensions and $B$ to the $j$-th elementary row vector in $p$ dimensions
151+
4) This is a special case of 2) and 3). Setting $A$ to the $i$-th elementary row vector in $n$ dimensions and $B$ to the $j$-th elementary row vector in $p$ dimensions
152152

153153
$$ \label{eq:AB-elem}
154154
A = e_i, \; B = e_j^\mathrm{T} \; ,

P/matn-samp.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ username: "JoramSoch"
2727
---
2828

2929

30-
**Theorem:** Let $X \in \mathbb{R}^{n \times p}$ be a [random matrix](/D/rmat) with all entries independently following a [standard normal distribution](/D/snorm). Moreover, let $A \in \mathbb{R}^{n \times n}$ and $B \in \mathbb{R}^{p \times p}$, such that $A A^\mathrm{T} = U$ and $B^\mathrm{T} B = V$. Then, $Y = M + A X B$ follows a [matrix-normal distribution](/D/matn) with [mean](/D/mean-rmat) $M$, [covariance](/D/covmat) across rows $U$ and [covariance](/D/covmat) across rows $U$:
30+
**Theorem:** Let $X \in \mathbb{R}^{n \times p}$ be a [random matrix](/D/rmat) with all entries independently following a [standard normal distribution](/D/snorm). Moreover, let $A \in \mathbb{R}^{n \times n}$ and $B \in \mathbb{R}^{p \times p}$, such that $A A^\mathrm{T} = U$ and $B^\mathrm{T} B = V$.
31+
32+
Then, $Y = M + A X B$ follows a [matrix-normal distribution](/D/matn) with [mean](/D/mean-rmat) $M$, [covariance](/D/covmat) across rows $U$ and [covariance](/D/covmat) across rows $U$:
3133

3234
$$ \label{eq:matn-samp}
3335
Y = M + A X B \sim \mathcal{MN}(M, U, V) \; .
@@ -45,7 +47,7 @@ this [implies a multivariate normal distribution with diagonal covariance matrix
4547
$$ \label{eq:vecX-dist}
4648
\begin{split}
4749
\mathrm{vec}(X) &\sim \mathcal{N}\left(\mathrm{vec}(0_{np}), I_{np} \right) \\
48-
&\sim \mathcal{N}\left(\mathrm{vec}(0_{np}), I_p \otimes I_n \right) \; .
50+
&\sim \mathcal{N}\left(\mathrm{vec}(0_{np}), I_p \otimes I_n \right)
4951
\end{split}
5052
$$
5153

@@ -67,4 +69,4 @@ Y = M + AXB &\sim \mathcal{MN}\left(M + A 0_{np} B, A I_n A^\mathrm{T}, B^\mathr
6769
\end{split}
6870
$$
6971

70-
Thus, given $X$ defined by \eqref{eq:xij-dist}, $Y$ defined by \eqref{eq:matn-samp} is a [sample](/D/samp) from $\mathcal{N}\left(M, U, V \right)$.
72+
Thus, given $X$ defined by \eqref{eq:xij-dist}, $Y$ defined by \eqref{eq:matn-samp} is a [sample](/D/samp) from $\mathcal{MN}\left(M, U, V \right)$.

P/mvn-cov.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ $$ \label{eq:x-mean}
8484
\mathrm{Cov}(x) = \mathrm{Cov}( Az + \mu ) \; .
8585
$$
8686

87-
With the [invariance of the covariance matrix under addition](/P/cov-inv)
87+
With the [invariance of the covariance matrix under addition](/P/covmat-inv)
8888

8989
$$ \label{eq:cov-inv}
9090
\mathrm{Cov}(x + a) = \mathrm{Cov}(x)
9191
$$
9292

93-
and the [scaling of the covariance matrix upon multiplication](/P/cov-scal)
93+
and the [scaling of the covariance matrix upon multiplication](/P/covmat-scal)
9494

9595
$$ \label{eq:cov-scal}
9696
\mathrm{Cov}(Ax) = A \mathrm{Cov}(x) A^\mathrm{T} \; ,

P/ng-cov.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ Then,
3232
1) the [covariance](/D/cov) of $x$, [conditional](/D/dist-cond) on $y$ is
3333

3434
$$ \label{eq:ng-cov-cond}
35-
\mathrm{Cov}[x|y] = \frac{1}{y} \Lambda^{-1} \; ;
35+
\mathrm{Cov}(x \vert y) = \frac{1}{y} \Lambda^{-1} \; ;
3636
$$
3737

3838
2) the [covariance](/D/cov) of $x$, [unconditional](/D/dist-marg) on $y$ is
3939

4040
$$ \label{eq:ng-cov-x}
41-
\mathrm{Cov}[x] = \frac{b}{a-1} \Lambda^{-1} \; ;
41+
\mathrm{Cov}(x) = \frac{b}{a-1} \Lambda^{-1} \; ;
4242
$$
4343

4444
3) the [variance](/D/var) of $y$ is
4545

4646
$$ \label{eq:ng-var-y}
47-
\mathrm{Var}[y] = \frac{a}{b^2} \; .
47+
\mathrm{Var}(y) = \frac{a}{b^2} \; .
4848
$$
4949

5050

@@ -65,7 +65,7 @@ $$
6565
such that we have:
6666

6767
$$ \label{eq:ng-cov-cond-qed}
68-
\mathrm{Cov}[x|y] = (y \Lambda)^{-1} = \frac{1}{y} \Lambda^{-1} \; .
68+
\mathrm{Cov}(x \vert y) = (y \Lambda)^{-1} = \frac{1}{y} \Lambda^{-1} \; .
6969
$$
7070

7171
2) The [marginal distribution of the normal-gamma distribution](/P/ng-marg) with respect to $x$ is a [multivariate t-distribution](/D/mvt):
@@ -83,7 +83,7 @@ $$
8383
such that we have:
8484

8585
$$ \label{eq:ng-cov-x-qed}
86-
\mathrm{Cov}[x] = \frac{2a}{2a-2} \left(\frac{a}{b} \Lambda \right)^{-1} = \frac{a}{a-1} \, \frac{b}{a} \, \Lambda^{-1} = \frac{b}{a-1} \Lambda^{-1} \; .
86+
\mathrm{Cov}(x) = \frac{2a}{2a-2} \left(\frac{a}{b} \Lambda \right)^{-1} = \frac{a}{a-1} \, \frac{b}{a} \, \Lambda^{-1} = \frac{b}{a-1} \Lambda^{-1} \; .
8787
$$
8888

8989
3) The [marginal distribution of the normal-gamma distribution](/P/ng-marg) with respect to $y$ is a [univariate gamma distribution](/D/gam):
@@ -101,5 +101,5 @@ $$
101101
such that we have:
102102

103103
$$ \label{eq:ng-var-y-qed}
104-
\mathrm{Var}[y] = \frac{a}{b^2} \; .
104+
\mathrm{Var}(y) = \frac{a}{b^2} \; .
105105
$$

P/ng-samp.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 $Z_1 \in \mathbb{R}^{n \times 1}$ be a [random vector](/D/rvec) with all entries independently following a [standard normal distribution](/D/snorm) and let $Z_2 \in \mathbb{R}$ be a [random variable](/D/rvar) following a [standard gamma distribution](/D/sgam) with shape $a$. Moreover, let $A \in \mathbb{R}^{n \times n}$ be a matrix such that, such that $A A^\mathrm{T} = \Lambda^{-1}$.
30+
**Theorem:** Let $Z_1 \in \mathbb{R}^n$ be a [random vector](/D/rvec) with all entries independently following a [standard normal distribution](/D/snorm) and let $Z_2 \in \mathbb{R}$ be a [random variable](/D/rvar) following a [standard gamma distribution](/D/sgam) with shape $a$. Moreover, let $A \in \mathbb{R}^{n \times n}$ be a matrix, such that $A A^\mathrm{T} = \Lambda^{-1}$.
3131

3232
Then, $X = \mu + A Z_1 / \sqrt{Z_2/b}$ and $Y = Z_2/b$ jointly follow a [normal-gamma distribution](/D/ng) with [mean vector](/D/mean-rvec) $\mu$, [precision matrix](/D/precmat) $\Lambda$, shape parameter $a$ and rate parameter $b$:
3333

0 commit comments

Comments
 (0)