Skip to content

Commit 1329514

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

12 files changed

Lines changed: 33 additions & 33 deletions

D/ind-cond.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $$
3939
where $p(x_1, \ldots, x_n \vert y)$ are the [joint (conditional) probabilities](/D/prob-joint) of $X_1, \ldots, X_n$ given $Y$ and $p(x_i)$ are the [marginal (conditional) probabilities](/D/prob-marg) of $X_i$ given $Y$.
4040

4141
<br>
42-
2) A set of [random variables](/D/rvar) $X_1, \ldots, X_n$ with possible values $\mathcal{X}_1, \ldots, \mathcal{X}_n$ is called conditionally independent given the random variable $Y$ with possible values $\mathcal{Y}$, if
42+
2) A set of [continuous random variables](/D/rvar-cont) $X_1, \ldots, X_n$ with possible values $\mathcal{X}_1, \ldots, \mathcal{X}_n$ is called conditionally independent given the random variable $Y$ with possible values $\mathcal{Y}$, if
4343

4444
$$ \label{eq:cond-ind-F}
4545
F_{X_1,\ldots,X_n|Y=y}(x_1,\ldots,x_n) = \prod_{i=1}^{n} F_{X_i|Y=y}(x_i) \quad \text{for all} \; x_i \in \mathcal{X}_i \quad \text{and all} \; y \in \mathcal{Y}

D/qf.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-
**Definition:** Let $X$ be a [random variable](/D/rvar) with the [cumulative distribution function](/D/cdf) (CDF) $F_X(x)$. Then, the function $Q_X(p): [0,1] \to \mathbb{R}$ which is the inverse CDF is the quantile function (QF) of $X$. More precisly, the QF is the function that, for a given quantile $p \in [0,1]$, returns the smallest $x$ for which $F_X(x) = p$:
30+
**Definition:** Let $X$ be a [random variable](/D/rvar) with the [cumulative distribution function](/D/cdf) (CDF) $F_X(x)$. Then, the function $Q_X(p): [0,1] \to \mathbb{R}$ which is the inverse CDF is the quantile function (QF) of $X$. More precisely, the QF is the function that, for a given quantile $p \in [0,1]$, returns the smallest $x$ for which $F_X(x) = p$:
3131

3232
$$ \label{eq:qf}
3333
Q_X(p) = \min \left\lbrace x \in \mathbb{R} \, \vert \, F_X(x) = p \right\rbrace \; .

D/rvar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ username: "JoramSoch"
3333

3434
* formally, as a [measurable function](/D/meas-fct) $X$ defined on a [probability space](/D/prob-spc) $(\Omega, \mathcal{F}, P)$ that maps from a sample space $\Omega$ to the real numbers $\mathbb{R}$ using an event space $\mathcal{F}$ and a [probability function](/D/pmf) $P$;
3535

36-
* more broadly, as any random quantity $X$ such as a [random scalar](/D/rvar), a [random vector](/D/rvec) or a [random matrix](/D/rmat).
36+
* more broadly, as any random quantity $X$ such as a [random event](/D/reve), a [random scalar](/D/rvar), a [random vector](/D/rvec) or a [random matrix](/D/rmat).

I/Table_of_Contents.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ title: "Table of Contents"
5656
&emsp;&ensp; 1.4.12. **[Cumulative distribution function of continuous random variable](/P/cdf-pdf)** <br>
5757
&emsp;&ensp; 1.4.13. *[Quantile function](/D/qf)* <br>
5858
&emsp;&ensp; 1.4.14. **[Quantile function in terms of cumulative distribution function](/P/qf-cdf)** <br>
59-
&emsp;&ensp; 1.4.11. *[Moment-generating function](/D/mgf)* <br>
60-
&emsp;&ensp; 1.4.12. **[Moment-generating function of linear transformation](/P/mgf-ltt)** <br>
61-
&emsp;&ensp; 1.4.13. **[Moment-generating function of linear combination](/P/mgf-lincomb)** <br>
62-
&emsp;&ensp; 1.4.14. *[Cumulant-generating function](/D/cgf)* <br>
63-
&emsp;&ensp; 1.4.15. *[Probability-generating function](/D/pgf)* <br>
59+
&emsp;&ensp; 1.4.15. *[Moment-generating function](/D/mgf)* <br>
60+
&emsp;&ensp; 1.4.16. **[Moment-generating function of linear transformation](/P/mgf-ltt)** <br>
61+
&emsp;&ensp; 1.4.17. **[Moment-generating function of linear combination](/P/mgf-lincomb)** <br>
62+
&emsp;&ensp; 1.4.18. *[Cumulant-generating function](/D/cgf)* <br>
63+
&emsp;&ensp; 1.4.19. *[Probability-generating function](/D/pgf)* <br>
6464

6565
1.5. Expected value <br>
6666
&emsp;&ensp; 1.5.1. *[Definition](/D/mean)* <br>
@@ -479,17 +479,17 @@ title: "Table of Contents"
479479
&emsp;&ensp; 3.2.2. **[Derivation](/P/lfe-der)** <br>
480480
&emsp;&ensp; 3.2.3. **[Calculation from log model evidences](/P/lfe-lme)** <br>
481481

482-
3.3. Bayes factor <br>
483-
&emsp;&ensp; 3.3.1. *[Definition](/D/bf)* <br>
484-
&emsp;&ensp; 3.3.2. **[Transitivity](/P/bf-trans)** <br>
485-
&emsp;&ensp; 3.3.3. **[Computation using Savage-Dickey Density Ratio](/P/bf-sddr)** <br>
486-
&emsp;&ensp; 3.3.4. **[Computation using Encompassing Prior Method](/P/bf-ep)** <br>
487-
&emsp;&ensp; 3.3.5. *[Encompassing model](/D/encm)* <br>
488-
489-
3.4. Log Bayes factor <br>
490-
&emsp;&ensp; 3.4.1. *[Definition](/D/lbf)* <br>
491-
&emsp;&ensp; 3.4.2. **[Derivation](/P/lbf-der)** <br>
492-
&emsp;&ensp; 3.4.3. **[Calculation from log model evidences](/P/lbf-lme)** <br>
482+
3.3. Log Bayes factor <br>
483+
&emsp;&ensp; 3.3.1. *[Definition](/D/lbf)* <br>
484+
&emsp;&ensp; 3.3.2. **[Derivation](/P/lbf-der)** <br>
485+
&emsp;&ensp; 3.3.3. **[Calculation from log model evidences](/P/lbf-lme)** <br>
486+
487+
3.4. Bayes factor <br>
488+
&emsp;&ensp; 3.4.1. *[Definition](/D/bf)* <br>
489+
&emsp;&ensp; 3.4.2. **[Transitivity](/P/bf-trans)** <br>
490+
&emsp;&ensp; 3.4.3. **[Computation using Savage-Dickey Density Ratio](/P/bf-sddr)** <br>
491+
&emsp;&ensp; 3.4.4. **[Computation using Encompassing Prior Method](/P/bf-ep)** <br>
492+
&emsp;&ensp; 3.4.5. *[Encompassing model](/D/encm)* <br>
493493

494494
3.5. Posterior model probability <br>
495495
&emsp;&ensp; 3.5.1. *[Definition](/D/pmp)* <br>

P/beta-cdf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ $$ \label{eq:beta-cdf-app}
5454
\begin{split}
5555
F_X(x) &= \int_{0}^{x} \mathrm{Bet}(z; \alpha, \beta) \, \mathrm{d}z \\
5656
&= \int_{0}^{x} \frac{1}{\mathrm{B}(\alpha, \beta)} \, z^{\alpha-1} \, (1-z)^{\beta-1} \, \mathrm{d}z \\
57-
&= \frac{1}{B(x;a,b)} \int_{0}^{x} z^{\alpha-1} \, (1-z)^{\beta-1} \, \mathrm{d}z \; .
57+
&= \frac{1}{\mathrm{B}(\alpha, \beta)} \int_{0}^{x} z^{\alpha-1} \, (1-z)^{\beta-1} \, \mathrm{d}z \; .
5858
\end{split}
5959
$$
6060

P/cuni-qf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $$ \label{eq:qf}
5757
Q_X(p) = \min \left\lbrace x \in \mathbb{R} \, \vert \, F_X(x) = p \right\rbrace \; .
5858
$$
5959

60-
Thus, we have $Q_X(p) = -\infty$, if $p = 0$. When $p > 0$, it holds that
60+
Thus, we have $Q_X(p) = -\infty$, if $p = 0$. When $p > 0$, [it holds that](/P/qf-cdf)
6161

6262
$$ \label{eq:exp-qf-s1}
6363
Q_X(p) = F_X^{-1}(x) \; .

P/exp-qf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $$ \label{eq:qf}
5656
Q_X(p) = \min \left\lbrace x \in \mathbb{R} \, \vert \, F_X(x) = p \right\rbrace \; .
5757
$$
5858

59-
Thus, we have $Q_X(p) = -\infty$, if $p = 0$. When $p > 0$, it holds that
59+
Thus, we have $Q_X(p) = -\infty$, if $p = 0$. When $p > 0$, [it holds that](/P/qf-cdf)
6060

6161
$$ \label{eq:exp-qf-s1}
6262
Q_X(p) = F_X^{-1}(x) \; .

P/gam-cdf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $$
7070

7171
With the definition of the lower incomplete gamma function
7272

73-
$$ \label{eq:li-gam-fct}
73+
$$ \label{eq:low-inc-gam-fct}
7474
\gamma(s,x) = \int_{0}^{x} t^{s-1} \exp[-t] \, \mathrm{d}t \; ,
7575
$$
7676

P/gam-kl.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ username: "JoramSoch"
2626
---
2727

2828

29-
**Theorem:** Let $x$ be a [random variable](/D/rvar). Assume two [gamma distributions](/D/gam) $P$ and $Q$ specifying the probability distribution of $x$ as
29+
**Theorem:** Let $X$ be a [random variable](/D/rvar). Assume two [gamma distributions](/D/gam) $P$ and $Q$ specifying the probability distribution of $X$ as
3030

3131
$$ \label{eq:gams}
3232
\begin{split}
33-
P: \; x &\sim \mathrm{Gam}(a_1, b_1) \\
34-
Q: \; x &\sim \mathrm{Gam}(a_2, b_2) \; . \\
33+
P: \; X &\sim \mathrm{Gam}(a_1, b_1) \\
34+
Q: \; X &\sim \mathrm{Gam}(a_2, b_2) \; . \\
3535
\end{split}
3636
$$
3737

P/lme-anc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ $$ \label{eq:LME}
4141
\mathrm{LME}(m) = \mathrm{Acc}(m) - \mathrm{Com}(m)
4242
$$
4343

44-
where the accuracy term is the posterior expectation of the log-[likelihood function](/D/lf)
44+
where the accuracy term is the [posterior](/D/post) [expectation](/D/mean-lotus) of the [log-likelihood function](/D/llf)
4545

4646
$$ \label{eq:Acc}
47-
\mathrm{Acc}(m) = \left\langle p(y|\theta,m) \right\rangle_{p(\theta|y,m)}
47+
\mathrm{Acc}(m) = \left\langle \log p(y|\theta,m) \right\rangle_{p(\theta|y,m)}
4848
$$
4949

5050
and the complexity penalty is the [Kullback-Leibler divergence](/D/kl) of [posterior](/D/post) from [prior](/D/prior)
@@ -54,7 +54,7 @@ $$ \label{eq:Com}
5454
$$
5555

5656

57-
**Proof:** We consider Bayesian inference on data $y$ using model $m$ with parameters $\theta$. Then, [Bayes' theorem](/P/bayes-th) makes a statement about the posterior distribution, i.e. the probability of parameters, given the data and the model:
57+
**Proof:** We consider Bayesian inference on [data](/D/data) $y$ using [model](/D/gm) $m$ with parameters $\theta$. Then, [Bayes' theorem](/P/bayes-th) makes a statement about the [posterior distribution](/D/post), i.e. the probability of parameters, given the data and the model:
5858

5959
$$ \label{eq:AnC-s1}
6060
p(\theta|y,m) = \frac{p(y|\theta,m) \, p(\theta|m)}{p(y|m)} \; .
@@ -81,7 +81,7 @@ $$
8181
By definition, the left-hand side is the log model evidence and the terms on the right-hand side correspond to the posterior expectation of the log-likelihood function and the Kullback-Leibler divergence of posterior from prior
8282

8383
$$ \label{eq:LME-AnC}
84-
\mathrm{LME}(m) = \left\langle p(y|\theta,m) \right\rangle_{p(\theta|y,m)} - \mathrm{KL} \left[ p(\theta|y,m) \, || \, p(\theta|m) \right]
84+
\mathrm{LME}(m) = \left\langle \log p(y|\theta,m) \right\rangle_{p(\theta|y,m)} - \mathrm{KL} \left[ p(\theta|y,m) \, || \, p(\theta|m) \right]
8585
$$
8686

8787
which proofs the partition given by \eqref{eq:LME}.

0 commit comments

Comments
 (0)