Skip to content

Commit 7efcbbc

Browse files
authored
Merge pull request #96 from StatProofBook/master
update to master
2 parents 0c025c6 + 429a9fa commit 7efcbbc

12 files changed

Lines changed: 33 additions & 24 deletions

I/PbA.md

Lines changed: 10 additions & 7 deletions
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 (336 proofs)
11+
### JoramSoch (339 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)
@@ -48,8 +48,8 @@ title: "Proof by Author"
4848
- [Covariance matrices of the matrix-normal distribution](/P/matn-cov)
4949
- [Covariance matrix of the categorical distribution](/P/cat-cov)
5050
- [Covariance matrix of the multivariate normal distribution](/P/mvn-cov)
51+
- [Covariance matrix of the sum of two random vectors](/P/covmat-sum)
5152
- [Covariance of independent random variables](/P/cov-ind)
52-
- [Covariance of the sum of two random vectors](/P/covmat-sum)
5353
- [Cross-validated log Bayes factor for the univariate Gaussian with known variance](/P/ugkv-cvlbf)
5454
- [Cross-validated log model evidence for the univariate Gaussian with known variance](/P/ugkv-cvlme)
5555
- [Cumulative distribution function in terms of probability density function of a continuous random variable](/P/cdf-pdf)
@@ -146,6 +146,7 @@ title: "Proof by Author"
146146
- [Log sum inequality](/P/logsum-ineq)
147147
- [Log-odds and probability in logistic regression](/P/logreg-lonp)
148148
- [Logarithmic expectation of the gamma distribution](/P/gam-logmean)
149+
- [Marginal distribution of a conditional binomial distribution](/P/bin-margcond)
149150
- [Marginal distributions for the matrix-normal distribution](/P/matn-marg)
150151
- [Marginal distributions of the multivariate normal distribution](/P/mvn-marg)
151152
- [Marginal distributions of the normal-gamma distribution](/P/ng-marg)
@@ -154,8 +155,8 @@ title: "Proof by Author"
154155
- [Maximum likelihood estimation for Dirichlet-distributed data](/P/dir-mle)
155156
- [Maximum likelihood estimation for multiple linear regression](/P/mlr-mle)
156157
- [Maximum likelihood estimation for Poisson-distributed data](/P/poiss-mle)
157-
- [Maximum likelihood estimation for simple linear regression](/P/slr-mle2)
158158
- [Maximum likelihood estimation for simple linear regression](/P/slr-mle)
159+
- [Maximum likelihood estimation for simple linear regression](/P/slr-mle2)
159160
- [Maximum likelihood estimation for the general linear model](/P/glm-mle)
160161
- [Maximum likelihood estimation for the Poisson distribution with exposure values](/P/poissexp-mle)
161162
- [Maximum likelihood estimation for the univariate Gaussian](/P/ug-mle)
@@ -179,6 +180,7 @@ title: "Proof by Author"
179180
- [Median of the continuous uniform distribution](/P/cuni-med)
180181
- [Median of the exponential distribution](/P/exp-med)
181182
- [Median of the normal distribution](/P/norm-med)
183+
- [Method of moments for beta-binomial data](/P/betabin-mome)
182184
- [Method of moments for beta-distributed data](/P/beta-mome)
183185
- [Mode of the continuous uniform distribution](/P/cuni-med)
184186
- [Mode of the normal distribution](/P/norm-mode)
@@ -195,8 +197,8 @@ title: "Proof by Author"
195197
- [Non-invariance of the differential entropy under change of variables](/P/dent-noninv)
196198
- [(Non-)Multiplicativity of the expected value](/P/mean-mult)
197199
- [Non-negativity of the expected value](/P/mean-nonneg)
198-
- [Non-negativity of the Kullback-Leibler divergence](/P/kl-nonneg2)
199200
- [Non-negativity of the Kullback-Leibler divergence](/P/kl-nonneg)
201+
- [Non-negativity of the Kullback-Leibler divergence](/P/kl-nonneg2)
200202
- [Non-negativity of the Shannon entropy](/P/ent-nonneg)
201203
- [Non-negativity of the variance](/P/var-nonneg)
202204
- [Non-symmetry of the Kullback-Leibler divergence](/P/kl-nonsymm)
@@ -207,8 +209,8 @@ title: "Proof by Author"
207209
- [One-sample z-test for independent observations](/P/ugkv-ztest1)
208210
- [Ordinary least squares for multiple linear regression](/P/mlr-ols)
209211
- [Ordinary least squares for multiple linear regression](/P/mlr-ols2)
210-
- [Ordinary least squares for simple linear regression](/P/slr-ols2)
211212
- [Ordinary least squares for simple linear regression](/P/slr-ols)
213+
- [Ordinary least squares for simple linear regression](/P/slr-ols2)
212214
- [Ordinary least squares for the general linear model](/P/glm-ols)
213215
- [Paired t-test for dependent observations](/P/ug-ttestp)
214216
- [Paired z-test for dependent observations](/P/ugkv-ztestp)
@@ -293,6 +295,7 @@ title: "Proof by Author"
293295
- [Relation of mutual information to joint and conditional entropy](/P/dmi-jce)
294296
- [Relation of mutual information to marginal and conditional entropy](/P/dmi-mce)
295297
- [Relation of mutual information to marginal and joint entropy](/P/dmi-mje)
298+
- [Relationship between chi-squared distribution and beta distribution](/P/beta-chi2)
296299
- [Relationship between coefficient of determination and correlation coefficient in simple linear regression](/P/slr-rsq)
297300
- [Relationship between correlation coefficient and slope estimate in simple linear regression](/P/slr-corr)
298301
- [Relationship between covariance and correlation](/P/cov-corr)
@@ -341,10 +344,10 @@ title: "Proof by Author"
341344
- [Variance of the normal distribution](/P/norm-var)
342345
- [Variance of the Poisson distribution](/P/poiss-var)
343346
- [Variance of the sum of two random variables](/P/var-sum)
344-
- [Weighted least squares for multiple linear regression](/P/mlr-wls2)
345347
- [Weighted least squares for multiple linear regression](/P/mlr-wls)
346-
- [Weighted least squares for simple linear regression](/P/slr-wls2)
348+
- [Weighted least squares for multiple linear regression](/P/mlr-wls2)
347349
- [Weighted least squares for simple linear regression](/P/slr-wls)
350+
- [Weighted least squares for simple linear regression](/P/slr-wls2)
348351
- [Weighted least squares for the general linear model](/P/glm-wls)
349352

350353
### kantundpeterpan (1 proof)

I/PbN.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,13 @@ title: "Proof by Number"
354354
| P346 | ng-samp | [Sampling from the normal-gamma distribution](/P/ng-samp) | JoramSoch | 2022-09-22 |
355355
| P347 | covmat-inv | [Invariance of the covariance matrix under addition of constant vector](/P/covmat-inv) | JoramSoch | 2022-09-22 |
356356
| P348 | covmat-scal | [Scaling of the covariance matrix upon multiplication with constant matrix](/P/covmat-scal) | JoramSoch | 2022-09-22 |
357-
| P349 | covmat-sum | [Covariance of the sum of two random vectors](/P/covmat-sum) | JoramSoch | 2022-09-26 |
357+
| P349 | covmat-sum | [Covariance matrix of the sum of two random vectors](/P/covmat-sum) | JoramSoch | 2022-09-26 |
358358
| P350 | covmat-symm | [Symmetry of the covariance matrix](/P/covmat-symm) | JoramSoch | 2022-09-26 |
359359
| P351 | covmat-psd | [Positive semi-definiteness of the covariance matrix](/P/covmat-psd) | JoramSoch | 2022-09-26 |
360360
| P352 | cov-var | [Self-covariance equals variance](/P/cov-var) | JoramSoch | 2022-09-26 |
361361
| P353 | cov-symm | [Symmetry of the covariance](/P/cov-symm) | JoramSoch | 2022-09-26 |
362362
| P354 | lognorm-mean | [Mean of the log-normal distribution](/P/lognorm-mean) | majapavlo | 2022-10-02 |
363363
| P355 | lognorm-var | [Variance of the log-normal distribution](/P/lognorm-var) | majapavlo | 2022-10-02 |
364+
| P356 | beta-chi2 | [Relationship between chi-squared distribution and beta distribution](/P/beta-chi2) | JoramSoch | 2022-10-07 |
365+
| P357 | betabin-mome | [Method of moments for beta-binomial data](/P/betabin-mome) | JoramSoch | 2022-10-07 |
366+
| P358 | bin-margcond | [Marginal distribution of a conditional binomial distribution](/P/bin-margcond) | JoramSoch | 2022-10-07 |

I/PbT.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ title: "Proof by Topic"
5252
- [Covariance matrix of the categorical distribution](/P/cat-cov)
5353
- [Covariance matrix of the multinomial distribution](/P/mult-cov)
5454
- [Covariance matrix of the multivariate normal distribution](/P/mvn-cov)
55+
- [Covariance matrix of the sum of two random vectors](/P/covmat-sum)
5556
- [Covariance of independent random variables](/P/cov-ind)
56-
- [Covariance of the sum of two random vectors](/P/covmat-sum)
5757
- [Cross-validated log Bayes factor for the univariate Gaussian with known variance](/P/ugkv-cvlbf)
5858
- [Cross-validated log model evidence for the univariate Gaussian with known variance](/P/ugkv-cvlme)
5959
- [Cumulative distribution function in terms of probability density function of a continuous random variable](/P/cdf-pdf)
@@ -179,6 +179,7 @@ title: "Proof by Topic"
179179

180180
### M
181181

182+
- [Marginal distribution of a conditional binomial distribution](/P/bin-margcond)
182183
- [Marginal distributions for the matrix-normal distribution](/P/matn-marg)
183184
- [Marginal distributions of the multivariate normal distribution](/P/mvn-marg)
184185
- [Marginal distributions of the normal-gamma distribution](/P/ng-marg)
@@ -187,8 +188,8 @@ title: "Proof by Topic"
187188
- [Maximum likelihood estimation for Dirichlet-distributed data](/P/dir-mle)
188189
- [Maximum likelihood estimation for multiple linear regression](/P/mlr-mle)
189190
- [Maximum likelihood estimation for Poisson-distributed data](/P/poiss-mle)
190-
- [Maximum likelihood estimation for simple linear regression](/P/slr-mle2)
191191
- [Maximum likelihood estimation for simple linear regression](/P/slr-mle)
192+
- [Maximum likelihood estimation for simple linear regression](/P/slr-mle2)
192193
- [Maximum likelihood estimation for the general linear model](/P/glm-mle)
193194
- [Maximum likelihood estimation for the Poisson distribution with exposure values](/P/poissexp-mle)
194195
- [Maximum likelihood estimation for the univariate Gaussian](/P/ug-mle)
@@ -215,6 +216,7 @@ title: "Proof by Topic"
215216
- [Median of the exponential distribution](/P/exp-med)
216217
- [Median of the log-normal distribution](/P/lognorm-med)
217218
- [Median of the normal distribution](/P/norm-med)
219+
- [Method of moments for beta-binomial data](/P/betabin-mome)
218220
- [Method of moments for beta-distributed data](/P/beta-mome)
219221
- [Mode of the continuous uniform distribution](/P/cuni-med)
220222
- [Mode of the exponential distribution](/P/exp-mode)
@@ -238,8 +240,8 @@ title: "Proof by Topic"
238240
- [Non-invariance of the differential entropy under change of variables](/P/dent-noninv)
239241
- [(Non-)Multiplicativity of the expected value](/P/mean-mult)
240242
- [Non-negativity of the expected value](/P/mean-nonneg)
241-
- [Non-negativity of the Kullback-Leibler divergence](/P/kl-nonneg2)
242243
- [Non-negativity of the Kullback-Leibler divergence](/P/kl-nonneg)
244+
- [Non-negativity of the Kullback-Leibler divergence](/P/kl-nonneg2)
243245
- [Non-negativity of the Shannon entropy](/P/ent-nonneg)
244246
- [Non-negativity of the variance](/P/var-nonneg)
245247
- [Non-symmetry of the Kullback-Leibler divergence](/P/kl-nonsymm)
@@ -253,8 +255,8 @@ title: "Proof by Topic"
253255
- [One-sample z-test for independent observations](/P/ugkv-ztest1)
254256
- [Ordinary least squares for multiple linear regression](/P/mlr-ols)
255257
- [Ordinary least squares for multiple linear regression](/P/mlr-ols2)
256-
- [Ordinary least squares for simple linear regression](/P/slr-ols2)
257258
- [Ordinary least squares for simple linear regression](/P/slr-ols)
259+
- [Ordinary least squares for simple linear regression](/P/slr-ols2)
258260
- [Ordinary least squares for the general linear model](/P/glm-ols)
259261

260262
### P
@@ -352,6 +354,7 @@ title: "Proof by Topic"
352354
- [Relation of mutual information to joint and conditional entropy](/P/dmi-jce)
353355
- [Relation of mutual information to marginal and conditional entropy](/P/dmi-mce)
354356
- [Relation of mutual information to marginal and joint entropy](/P/dmi-mje)
357+
- [Relationship between chi-squared distribution and beta distribution](/P/beta-chi2)
355358
- [Relationship between coefficient of determination and correlation coefficient in simple linear regression](/P/slr-rsq)
356359
- [Relationship between correlation coefficient and slope estimate in simple linear regression](/P/slr-corr)
357360
- [Relationship between covariance and correlation](/P/cov-corr)
@@ -416,8 +419,8 @@ title: "Proof by Topic"
416419

417420
### W
418421

419-
- [Weighted least squares for multiple linear regression](/P/mlr-wls2)
420422
- [Weighted least squares for multiple linear regression](/P/mlr-wls)
421-
- [Weighted least squares for simple linear regression](/P/slr-wls2)
423+
- [Weighted least squares for multiple linear regression](/P/mlr-wls2)
422424
- [Weighted least squares for simple linear regression](/P/slr-wls)
425+
- [Weighted least squares for simple linear regression](/P/slr-wls2)
423426
- [Weighted least squares for the general linear model](/P/glm-wls)

I/PwS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ title: "Proofs without Source"
5555
- [Maximum likelihood estimation can result in biased estimates](/P/mle-bias)
5656
- [Maximum likelihood estimation for multiple linear regression](/P/mlr-mle)
5757
- [Maximum likelihood estimation for Poisson-distributed data](/P/poiss-mle)
58-
- [Maximum likelihood estimation for simple linear regression](/P/slr-mle2)
5958
- [Maximum likelihood estimation for simple linear regression](/P/slr-mle)
59+
- [Maximum likelihood estimation for simple linear regression](/P/slr-mle2)
6060
- [Maximum likelihood estimation for the general linear model](/P/glm-mle)
6161
- [Maximum likelihood estimation for the Poisson distribution with exposure values](/P/poissexp-mle)
6262
- [Mean of the categorical distribution](/P/cat-mean)
@@ -117,6 +117,6 @@ title: "Proofs without Source"
117117
- [Transposition of a matrix-normal random variable](/P/matn-trans)
118118
- [Variance of the Wald distribution](/P/wald-var)
119119
- [Weighted least squares for multiple linear regression](/P/mlr-wls2)
120-
- [Weighted least squares for simple linear regression](/P/slr-wls2)
121120
- [Weighted least squares for simple linear regression](/P/slr-wls)
121+
- [Weighted least squares for simple linear regression](/P/slr-wls2)
122122
- [Weighted least squares for the general linear model](/P/glm-wls)

I/ToC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ title: "Table of Contents"
424424
&emsp;&ensp; 3.6.2. **[Probability density function](/P/lognorm-pdf)** <br>
425425
&emsp;&ensp; 3.6.3. **[Cumulative distribution function](/P/lognorm-cdf)** <br>
426426
&emsp;&ensp; 3.6.4. **[Quantile Function](/P/lognorm-qf)** <br>
427-
&emsp;&ensp; 3.6.5. **[Mean](/P/lognorm-mean)** <br>
427+
&emsp;&ensp; 3.6.5. **[Mean](/P/lognorm-mean)** <br>
428428
&emsp;&ensp; 3.6.6. **[Median](/P/lognorm-med)** <br>
429429
&emsp;&ensp; 3.6.7. **[Mode](/P/lognorm-mode)** <br>
430430
&emsp;&ensp; 3.6.8. **[Variance](/P/lognorm-var)** <br>

P/betabin-mome.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ username: "JoramSoch"
3636
**Theorem:** Let $y = \left\lbrace y_1, \ldots, y_N \right\rbrace$ be a set of observed counts independent and identically distributed according to a [beta-binomial distribution](/D/betabin) with number of trials $n$ as well as parameters $\alpha$ and $\beta$:
3737

3838
$$ \label{eq:binbeta}
39-
y_i \sim \mathrm{BinBet}(n, \alpha, \beta), \quad i = 1, \ldots, N \; .
39+
y_i \sim \mathrm{BetBin}(n, \alpha, \beta), \quad i = 1, \ldots, N \; .
4040
$$
4141

4242
Then, the [method-of-moments estimates](/D/mome) for the parameters $\alpha$ and $\beta$ are given by

P/bin-margcond.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ $$ \label{eq:bin-th}
9191
(x+y)^n = \sum_{k=0}^{n} {n \choose k} \, x^{n-k} \, y^k \; ,
9292
$$
9393

94-
the sum is equal to
94+
the sum in equation \eqref{eq:Y-dist-s6} is equal to
9595

9696
$$ \label{eq:Y-dist-sum}
9797
\sum_{i=0}^{n-m} {n-m \choose i} \, \left( p - pq \right)^{i} \, (1-p)^{n-m-i} = \left( (p-pq)+(1-p) \right)^{n-m} \; .

P/covmat-sum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ affiliation: "BCCN Berlin"
77
e_mail: "joram.soch@bccn-berlin.de"
88
date: 2022-09-26 10:37:00
99

10-
title: "Covariance of the sum of two random vectors"
10+
title: "Covariance matrix of the sum of two random vectors"
1111
chapter: "General Theorems"
1212
section: "Probability theory"
1313
topic: "Covariance"

P/f-pdf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ $$ \label{eq:f-XY}
9494
f_{X,Y}(x,y) = f_X(x) \cdot f_Y(y) \; .
9595
$$
9696

97-
With the [probability density function of an invertible function](/P/pdf-invfct), the [joint density](/D/dist-joint) of $T$ and $W$ can be derived as:
97+
With the [probability density function of an invertible function](/P/pdf-invfct), the [joint density](/D/dist-joint) of $F$ and $W$ can be derived as:
9898

9999
$$ \label{eq:f-FW-s1}
100100
f_{F,W}(f,w) = f_{X,Y}(x,y) \cdot \lvert J \rvert \; .

P/lognorm-cdf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ From this point forward, the proof is similar to the derivation of the [cumulati
6666

6767
$$ \label{eq:lognorm-cdf-s2}
6868
\begin{split}
69-
F_X(x) &= \frac{1}{\sigma \sqrt{2 \pi}} \int_{(-\infty-\mu)/(\sqrt{2} \sigma)}^{(\ln x-\mu)/(\sqrt{2} \sigma)} \frac{1}{\exp( \sqrt{2} \sigma t + \mu)} \cdot \exp \left(-t^2 \right) \, \mathrm{d} \left( \exp \left( \sqrt{2} \sigma t + \mu \right) \right) \\
69+
F_X(x) &= \frac{1}{\sigma \sqrt{2 \pi}} \int_{(-\infty-\mu)/(\sqrt{2} \sigma)}^{(\ln x-\mu)/(\sqrt{2} \sigma)} \frac{1}{\exp( \sqrt{2} \sigma t + \mu)} \cdot \exp \left(-t^2 \right) \, \mathrm{d} \left[ \exp \left( \sqrt{2} \sigma t + \mu \right) \right] \\
7070
&=\frac{\sqrt{2} \sigma}{\sigma \sqrt{2 \pi}} \int_{-\infty}^{\frac{\ln x-\mu}{\sqrt{2} \sigma}} \frac{1}{\exp( \sqrt{2} \sigma t + \mu)} \cdot
7171
\exp(-t^2) \cdot \exp \left( \sqrt{2} \sigma t + \mu \right) \, \mathrm{d}t \\
7272
&= \frac{1}{\sqrt{\pi}} \int_{-\infty}^{\frac{\ln x-\mu}{\sqrt{2} \sigma}} \exp(-t^2) \, \mathrm{d}t \\

0 commit comments

Comments
 (0)