Skip to content

Commit 8a8930a

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

4 files changed

Lines changed: 14 additions & 10 deletions

File tree

P/bin-margcond.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ $$ \label{eq:Y-dist-s3}
6464
\mathrm{Pr}(Y = m) = \sum_{k=m}^{n} {k \choose m} \, q^m \, (1-q)^{k-m} \cdot {n \choose k} \, p^k \, (1-p)^{n-k} \; .
6565
$$
6666

67-
Applying the binomial coefficient identity ${n \choose k} {k \choose m} = {n \choose m} {n-m \choose k-m}$ rearranging the terms, we have:
67+
Applying the binomial coefficient identity ${n \choose k} {k \choose m} = {n \choose m} {n-m \choose k-m}$ and rearranging the terms, we have:
6868

6969
$$ \label{eq:Y-dist-s4}
7070
\mathrm{Pr}(Y = m) = \sum_{k=m}^{n} {n \choose m} \, {n-m \choose k-m} \, p^k \, q^m \, (1-p)^{n-k} \, (1-q)^{k-m} \; .

P/lbf-lme.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,23 @@ $$
4343

4444
and the [log Bayes factor](/D/lbf) is defined as the logarithm of the Bayes factor
4545

46-
$$ \label{eq:LBF}
47-
\mathrm{LBF}_{12} = \log \mathrm{BF}_{12} = \log \frac{p(y|m_1)}{p(y|m_2)} \; .
46+
$$ \label{eq:LBF-s1}
47+
\mathrm{LBF}_{12} = \log \mathrm{BF}_{12} \; .
4848
$$
4949

50-
With the definition of the [log model evidence](/D/lme)
50+
Thus, the log Bayes factor can be expressed as
51+
52+
$$ \label{eq:LBF-s2}
53+
\mathrm{LBF}_{12} = \log \frac{p(y|m_1)}{p(y|m_2)} \; .
54+
$$
55+
56+
and, with the definition of the [log model evidence](/D/lme)
5157

5258
$$ \label{eq:LME}
5359
\mathrm{LME}(m) = \log p(y|m)
5460
$$
5561

56-
the log Bayes factor can be expressed as:
57-
58-
Resolving the logarithm and applying the definition of the [log model evidence](/D/lme), we finally have:
62+
and resolving the logarithm, we finally have:
5963

6064
$$ \label{eq:LBF-LME-qed}
6165
\begin{split}

P/matn-marg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ x_{ij} &= AXB = e_i X e_j^\mathrm{T} \\
163163
\end{split}
164164
$$
165165

166-
As $x_{ij}$ is a scalar, this is equivalent to [a univariate normal distribution](/D/norm) as [a special case of](/P/norm-mvn) of [the matrix-normal distribution](/P/mvn-matn):
166+
As $x_{ij}$ is a scalar, this is equivalent to [a univariate normal distribution](/D/norm) as [a special case](/P/norm-mvn) of [the matrix-normal distribution](/P/mvn-matn):
167167

168168
$$ \label{eq:xij-marg-norm}
169169
x_{ij} \sim \mathcal{N}(m_{ij}, u_{ii} v_{jj}) \; .

P/norm-chi2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ $$ \label{eq:sum-Ui2-s1}
7676
\begin{split}
7777
\sum_{i=1}^{n} U_i^2 &= \sum_{i=1}^{n} \left( \frac{X_i - \mu}{\sigma} \right)^2 \\
7878
&= \sum_{i=1}^{n} \left( \frac{(X_i - \bar{X}) + (\bar{X} - \mu)}{\sigma} \right)^2 \\
79-
&= \sum_{i=1}^{n} \frac{(X_i - \bar{X})^2}{\sigma^2} + \sum_{i=1}^{n} \frac{(\bar{X} - \mu)^2}{\sigma^2} + \sum_{i=1}^{n} \frac{(X_i - \bar{X})(\bar{X} - \mu)}{\sigma^2} \\
80-
&= \sum_{i=1}^{n} \left( \frac{X_i - \bar{X}}{\sigma^2} \right)^2 + \sum_{i=1}^{n} \left( \frac{\bar{X} - \mu}{\sigma^2} \right)^2 + \frac{(\bar{X} - \mu)}{\sigma^2} \sum_{i=1}^{n} (X_i - \bar{X}) \; .
79+
&= \sum_{i=1}^{n} \frac{(X_i - \bar{X})^2}{\sigma^2} + \sum_{i=1}^{n} \frac{(\bar{X} - \mu)^2}{\sigma^2} + 2 \sum_{i=1}^{n} \frac{(X_i - \bar{X})(\bar{X} - \mu)}{\sigma^2} \\
80+
&= \sum_{i=1}^{n} \left( \frac{X_i - \bar{X}}{\sigma} \right)^2 + \sum_{i=1}^{n} \left( \frac{\bar{X} - \mu}{\sigma} \right)^2 + \frac{(\bar{X} - \mu)}{\sigma^2} \sum_{i=1}^{n} (X_i - \bar{X}) \; .
8181
\end{split}
8282
$$
8383

0 commit comments

Comments
 (0)