Skip to content

Commit fc8f64b

Browse files
authored
Merge pull request #88 from StatProofBook/master
update to master
2 parents c4373d2 + 9fc54af commit fc8f64b

7 files changed

Lines changed: 19 additions & 6 deletions

File tree

I/PbA.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: "Proof by Author"
88

99
- [Covariance matrix of the multinomial distribution](/P/mult-cov)
1010

11-
### JoramSoch (311 proofs)
11+
### JoramSoch (313 proofs)
1212

1313
- [Accuracy and complexity for the univariate Gaussian](/P/ug-anc)
1414
- [Accuracy and complexity for the univariate Gaussian with known variance](/P/ugkv-anc)
@@ -175,6 +175,8 @@ title: "Proof by Author"
175175
- [Moment-generating function of the normal distribution](/P/norm-mgf)
176176
- [Monotonicity of probability](/P/prob-mon)
177177
- [Monotonicity of the expected value](/P/mean-mono)
178+
- [Multiple linear regression is a special case of the general linear model](/P/mlr-glm)
179+
- [Multivariate normal distribution is a special case of matrix-normal distribution](/P/mvn-matn)
178180
- [Necessary and sufficient condition for independence of multivariate normal random variables](/P/mvn-ind)
179181
- [Non-invariance of the differential entropy under change of variables](/P/dent-noninv)
180182
- [(Non-)Multiplicativity of the expected value](/P/mean-mult)

I/PbN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,3 +334,5 @@ title: "Proof by Number"
334334
| P326 | lognorm-qf | [Quantile function of the log-normal distribution](/P/lognorm-qf) | majapavlo | 2022-07-09 |
335335
| P327 | nw-mean | [Mean of the normal-Wishart distribution](/P/nw-mean) | JoramSoch | 2022-07-14 |
336336
| P328 | gam-wish | [Gamma distribution is a special case of Wishart distribution](/P/gam-wish) | JoramSoch | 2022-07-14 |
337+
| P329 | mlr-glm | [Multiple linear regression is a special case of the general linear model](/P/mlr-glm) | JoramSoch | 2022-07-21 |
338+
| P330 | mvn-matn | [Multivariate normal distribution is a special case of matrix-normal distribution](/P/mvn-matn) | JoramSoch | 2022-07-31 |

I/PbT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ title: "Proof by Topic"
214214
- [Moments of the chi-squared distribution](/P/chi2-mom)
215215
- [Monotonicity of probability](/P/prob-mon)
216216
- [Monotonicity of the expected value](/P/mean-mono)
217+
- [Multiple linear regression is a special case of the general linear model](/P/mlr-glm)
218+
- [Multivariate normal distribution is a special case of matrix-normal distribution](/P/mvn-matn)
217219

218220
### N
219221

I/PwS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ title: "Proofs without Source"
6565
- [Mode of the continuous uniform distribution](/P/cuni-med)
6666
- [Mode of the exponential distribution](/P/exp-mode)
6767
- [Mode of the normal distribution](/P/norm-mode)
68+
- [Multivariate normal distribution is a special case of matrix-normal distribution](/P/mvn-matn)
6869
- [Necessary and sufficient condition for independence of multivariate normal random variables](/P/mvn-ind)
6970
- [Normal-gamma distribution is a special case of normal-Wishart distribution](/P/ng-nw)
7071
- [Ordinary least squares for simple linear regression](/P/slr-ols2)

P/glm-mle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Substituting $V^{-1}$ by the precision matrix $P$ to ease notation, we have:
6060

6161
$$ \label{eq:GLM-LL2}
6262
\begin{split}
63-
\mathrm{LL}(B,\Sigma) = &- \frac{nv}{2} \log(2\pi) - \frac{n}{2} \log(|\Sigma|) - \frac{v}{2} \log(|V|) \\
63+
\mathrm{LL}(B,\Sigma) = &- \frac{nv}{2} \log(2\pi) - \frac{n}{2} \log(|\Sigma|) + \frac{v}{2} \log(|P|) \\
6464
&- \frac{1}{2} \, \mathrm{tr}\left[ \Sigma^{-1} \left( Y^\mathrm{T} P Y - Y^\mathrm{T} P X B - B^\mathrm{T} X^\mathrm{T} P Y + B^\mathrm{T} X^\mathrm{T} P X B \right) \right] \; .\\
6565
\end{split}
6666
$$

P/mblr-lme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Then, the [log model evidence](/D/lme) for this model is
3737

3838
$$ \label{eq:GLM-NW-LME}
3939
\begin{split}
40-
\log p(y|m) = & \frac{v}{2} \log |P| - \frac{nv}{2} \log (2 \pi) + \frac{v}{2} \log |\Lambda_0| - \frac{v}{2} \log |\Lambda_n| + \\
40+
\log p(Y|m) = & \frac{v}{2} \log |P| - \frac{nv}{2} \log (2 \pi) + \frac{v}{2} \log |\Lambda_0| - \frac{v}{2} \log |\Lambda_n| + \\
4141
& \frac{\nu_0}{2} \log\left| \frac{1}{2} \Omega_0 \right| - \frac{\nu_n}{2} \log\left| \frac{1}{2} \Omega_n \right| + \log \Gamma_v \left( \frac{\nu_n}{2} \right) - \log \Gamma_v \left( \frac{\nu_0}{2} \right)
4242
\end{split}
4343
$$
@@ -124,7 +124,7 @@ Thus, the [log model evidence](/D/lme) of this model is given by
124124

125125
$$ \label{eq:GLM-NW-LME-s6}
126126
\begin{split}
127-
\log p(y|m) = & \frac{v}{2} \log |P| - \frac{nv}{2} \log (2 \pi) + \frac{v}{2} \log |\Lambda_0| - \frac{v}{2} \log |\Lambda_n| + \\
127+
\log p(Y|m) = & \frac{v}{2} \log |P| - \frac{nv}{2} \log (2 \pi) + \frac{v}{2} \log |\Lambda_0| - \frac{v}{2} \log |\Lambda_n| + \\
128128
& \frac{\nu_0}{2} \log\left| \frac{1}{2} \Omega_0 \right| - \frac{\nu_n}{2} \log\left| \frac{1}{2} \Omega_n \right| + \log \Gamma_v \left( \frac{\nu_n}{2} \right) - \log \Gamma_v \left( \frac{\nu_0}{2} \right) \; .
129129
\end{split}
130130
$$

P/mvn-matn.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ topic: "Multivariate normal distribution"
1414
theorem: "Special case of matrix-normal distribution"
1515

1616
sources:
17+
- authors: "Wikipedia"
18+
year: 2022
19+
title: "Matrix normal distribution"
20+
in: "Wikipedia, the free encyclopedia"
21+
pages: "retrieved on 2022-07-31"
22+
url: "https://en.wikipedia.org/wiki/Matrix_normal_distribution"
1723

1824
proof_id: "P330"
1925
shortcut: "mvn-matn"
@@ -32,11 +38,11 @@ $$
3238

3339
Setting $p = 1$, $X = x$, $M = \mu$, $U = \Sigma$ and $V = 1$, we obtain
3440

35-
\begin{equation} \label{eq:exp-pdf}
41+
$$ \label{eq:exp-pdf}
3642
\begin{split}
3743
\mathcal{MN}(x; \mu, \Sigma, 1) &= \frac{1}{\sqrt{(2\pi)^{n} |1|^n |\Sigma|^1}} \cdot \exp\left[-\frac{1}{2} \mathrm{tr}\left( 1^{-1} (x-\mu)^\mathrm{T} \, \Sigma^{-1} (x-\mu) \right) \right] \\
3844
&= \frac{1}{\sqrt{(2\pi)^{n} |\Sigma|}} \cdot \exp\left[-\frac{1}{2} (x-\mu)^\mathrm{T} \, \Sigma^{-1} (x-\mu) \right]
3945
\end{split}
40-
\end{equation}
46+
$$
4147

4248
which is equivalent to the [probability density function of the multivariate normal distribution](/P/mvn-pdf).

0 commit comments

Comments
 (0)