Skip to content

Commit f3aff97

Browse files
update book_content.md, construct_toc.py
1 parent df7a5ff commit f3aff97

3 files changed

Lines changed: 63 additions & 59 deletions

File tree

I/ToC.md

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ title: "Table of Contents"
55

66

77
**[Proofs](/P/-temp-)** are printed in **bold***[Definitions](/D/-temp-)* are set in *italics* <br>
8-
**Proofs**: [by Number](/I/PbN), [by Topic](/I/PbT)*Definitions*: [by Number](/I/DbN), [by Topic](/I/DbT) <br>
8+
**Proofs**: [by Number](/I/PbN), [by Topic](/I/PbT)*Definitions*: [by Number](/I/DbN), [by Topic](/D/DbT) <br>
99
<u>Specials:</u> [General Theorems](/S/ChI), [Probability Distributions](/S/ChII), [Statistical Models](/S/ChIII), [Model Selection Criteria](/S/ChIV) <br>
1010

1111

1212
<br>
1313
<h3 id="General Theorems">Chapter I: General Theorems</h3>
1414

15+
1516
1. <p id="Probability theory">Probability theory</p>
1617

1718
<p id="Random experiments"></p>
@@ -110,10 +111,10 @@ title: "Table of Contents"
110111
&emsp;&ensp; 1.8.5. **[Cumulative distribution function of discrete random variable](/P/cdf-pmf)** <br>
111112
&emsp;&ensp; 1.8.6. **[Cumulative distribution function of continuous random variable](/P/cdf-pdf)** <br>
112113
&emsp;&ensp; 1.8.7. **[Exceedance probability based on cumulative distribution function](/P/cdf-probexc)** <br>
113-
&emsp;&ensp; 1.8.7. **[Probability integral transform](/P/cdf-pit)** <br>
114-
&emsp;&ensp; 1.8.8. **[Inverse transformation method](/P/cdf-itm)** <br>
115-
&emsp;&ensp; 1.8.9. **[Distributional transformation](/P/cdf-dt)** <br>
116-
&emsp;&ensp; 1.8.10. *[Joint cumulative distribution function](/D/cdf-joint)* <br>
114+
&emsp;&ensp; 1.8.8. **[Probability integral transform](/P/cdf-pit)** <br>
115+
&emsp;&ensp; 1.8.9. **[Inverse transformation method](/P/cdf-itm)** <br>
116+
&emsp;&ensp; 1.8.10. **[Distributional transformation](/P/cdf-dt)** <br>
117+
&emsp;&ensp; 1.8.11. *[Joint cumulative distribution function](/D/cdf-joint)* <br>
117118

118119
<p id="Moment-generating function"></p>
119120
1.9. Moment-generating function <br>
@@ -166,16 +167,16 @@ title: "Table of Contents"
166167
&emsp;&ensp; 1.13.1. *[Definition](/D/var)* <br>
167168
&emsp;&ensp; 1.13.2. *[Sample variance](/D/var-samp)* <br>
168169
&emsp;&ensp; 1.13.3. *[Pooled sample variance](/D/var-pool)* <br>
169-
&emsp;&ensp; 1.13.3. **[Partition into expected values](/P/var-mean)** <br>
170-
&emsp;&ensp; 1.13.4. **[Non-negativity](/P/var-nonneg)** <br>
171-
&emsp;&ensp; 1.13.5. **[Variance of a constant](/P/var-const)** <br>
172-
&emsp;&ensp; 1.13.6. **[Invariance under addition](/P/var-inv)** <br>
173-
&emsp;&ensp; 1.13.7. **[Scaling upon multiplication](/P/var-scal)** <br>
174-
&emsp;&ensp; 1.13.8. **[Variance of a sum](/P/var-sum)** <br>
175-
&emsp;&ensp; 1.13.9. **[Variance of linear combination](/P/var-lincomb)** <br>
176-
&emsp;&ensp; 1.13.10. **[Additivity under independence](/P/var-add)** <br>
177-
&emsp;&ensp; 1.13.11. **[Law of total variance](/P/var-tot)** <br>
178-
&emsp;&ensp; 1.13.12. *[Precision](/D/prec)* <br>
170+
&emsp;&ensp; 1.13.4. **[Partition into expected values](/P/var-mean)** <br>
171+
&emsp;&ensp; 1.13.5. **[Non-negativity](/P/var-nonneg)** <br>
172+
&emsp;&ensp; 1.13.6. **[Variance of a constant](/P/var-const)** <br>
173+
&emsp;&ensp; 1.13.7. **[Invariance under addition](/P/var-inv)** <br>
174+
&emsp;&ensp; 1.13.8. **[Scaling upon multiplication](/P/var-scal)** <br>
175+
&emsp;&ensp; 1.13.9. **[Variance of a sum](/P/var-sum)** <br>
176+
&emsp;&ensp; 1.13.10. **[Variance of linear combination](/P/var-lincomb)** <br>
177+
&emsp;&ensp; 1.13.11. **[Additivity under independence](/P/var-add)** <br>
178+
&emsp;&ensp; 1.13.12. **[Law of total variance](/P/var-tot)** <br>
179+
&emsp;&ensp; 1.13.13. *[Precision](/D/prec)* <br>
179180

180181
<p id="Skewness"></p>
181182
1.14. Skewness <br>
@@ -249,7 +250,7 @@ title: "Table of Contents"
249250
&emsp;&ensp; 1.21.7. **[First central moment is zero](/P/momcent-1st)** <br>
250251
&emsp;&ensp; 1.21.8. **[Second central moment is variance](/P/momcent-2nd)** <br>
251252
&emsp;&ensp; 1.21.9. *[Standardized moment](/D/mom-stand)* <br>
252-
253+
253254
2. <p id="Information theory">Information theory</p>
254255

255256
<p id="Shannon entropy"></p>
@@ -302,7 +303,7 @@ title: "Table of Contents"
302303
&emsp;&ensp; 2.5.8. **[Invariance under parameter transformation](/P/kl-inv)** <br>
303304
&emsp;&ensp; 2.5.9. **[Relation to discrete entropy](/P/kl-ent)** <br>
304305
&emsp;&ensp; 2.5.10. **[Relation to differential entropy](/P/kl-dent)** <br>
305-
306+
306307
3. <p id="Estimation theory">Estimation theory</p>
307308

308309
<p id="Basic concepts of estimation"></p>
@@ -319,7 +320,7 @@ title: "Table of Contents"
319320
3.3. Interval estimates <br>
320321
&emsp;&ensp; 3.3.1. *[Confidence interval](/D/ci)* <br>
321322
&emsp;&ensp; 3.3.2. **[Construction of confidence intervals using Wilks' theorem](/P/ci-wilks)** <br>
322-
323+
323324
4. <p id="Frequentist statistics">Frequentist statistics</p>
324325

325326
<p id="Likelihood theory"></p>
@@ -355,7 +356,7 @@ title: "Table of Contents"
355356
&emsp;&ensp; 4.3.11. **[Distribution of p-value under null hypothesis](/P/pval-h0)** <br>
356357
&emsp;&ensp; 4.3.12. *[Minimum detectable effect](/D/mde)* <br>
357358
&emsp;&ensp; 4.3.13. *[Minimum required sample size](/D/mrss)* <br>
358-
359+
359360
5. <p id="Bayesian statistics">Bayesian statistics</p>
360361

361362
<p id="Probabilistic modeling"></p>
@@ -397,7 +398,7 @@ title: "Table of Contents"
397398
&emsp;&ensp; 5.3.5. *[Variational Bayes](/D/vb)* <br>
398399
&emsp;&ensp; 5.3.6. **[Decomposition of the free energy](/P/fren-dec)** <br>
399400
&emsp;&ensp; 5.3.7. **[Free energy is lower bound on log model evidence](/P/fren-lme)** <br>
400-
401+
401402
6. <p id="Machine learning">Machine learning</p>
402403

403404
<p id="Scoring rules"></p>
@@ -414,6 +415,7 @@ title: "Table of Contents"
414415
<br>
415416
<h3 id="Probability Distributions">Chapter II: Probability Distributions</h3>
416417

418+
417419
1. <p id="Univariate discrete distributions">Univariate discrete distributions</p>
418420

419421
<p id="Discrete uniform distribution"></p>
@@ -465,7 +467,7 @@ title: "Table of Contents"
465467
&emsp;&ensp; 1.5.3. **[Mean](/P/poiss-mean)** <br>
466468
&emsp;&ensp; 1.5.4. **[Variance](/P/poiss-var)** <br>
467469
&emsp;&ensp; 1.5.5. **[Shannon entropy](/P/poiss-ent)** <br>
468-
470+
469471
2. <p id="Multivariate discrete distributions">Multivariate discrete distributions</p>
470472

471473
<p id="Categorical distribution"></p>
@@ -485,7 +487,7 @@ title: "Table of Contents"
485487
&emsp;&ensp; 2.2.5. **[Covariance](/P/mult-cov)** <br>
486488
&emsp;&ensp; 2.2.6. **[Shannon entropy](/P/mult-ent)** <br>
487489
&emsp;&ensp; 2.2.7. **[Marginal distributions](/P/mult-marg)** <br>
488-
490+
489491
3. <p id="Univariate continuous distributions">Univariate continuous distributions</p>
490492

491493
<p id="Continuous uniform distribution"></p>
@@ -635,7 +637,7 @@ title: "Table of Contents"
635637
&emsp;&ensp; 3.11.5. **[Variance](/P/exg-var)** <br>
636638
&emsp;&ensp; 3.11.6. **[Skewness](/P/exg-skew)** <br>
637639
&emsp;&ensp; 3.11.7. **[Method of moments](/P/exg-mome)** <br>
638-
640+
639641
4. <p id="Multivariate continuous distributions">Multivariate continuous distributions</p>
640642

641643
<p id="Multivariate normal distribution"></p>
@@ -694,7 +696,7 @@ title: "Table of Contents"
694696
&emsp;&ensp; 4.5.2. **[Probability density function](/P/dir-pdf)** <br>
695697
&emsp;&ensp; 4.5.3. **[Kullback-Leibler divergence](/P/dir-kl)** <br>
696698
&emsp;&ensp; 4.5.4. **[Exceedance probabilities](/P/dir-ep)** <br>
697-
699+
698700
5. <p id="Matrix-variate continuous distributions">Matrix-variate continuous distributions</p>
699701

700702
<p id="Matrix-normal distribution"></p>
@@ -728,6 +730,7 @@ title: "Table of Contents"
728730
<br>
729731
<h3 id="Statistical Models">Chapter III: Statistical Models</h3>
730732

733+
731734
1. <p id="Univariate normal data">Univariate normal data</p>
732735

733736
<p id="Univariate Gaussian"></p>
@@ -872,7 +875,7 @@ title: "Table of Contents"
872875
&emsp;&ensp; 1.7.4. **[Accuracy and complexity](/P/blrkc-anc)** <br>
873876

874877
2. <p id="Multivariate normal data">Multivariate normal data</p>
875-
878+
876879
<p id="Multivariate Gaussian"></p>
877880
2.1. Multivariate Gaussian <br>
878881
&emsp;&ensp; 2.1.1. *[Bivariate normally distributed data](/D/bvn-data)* <br>
@@ -912,7 +915,7 @@ title: "Table of Contents"
912915
&emsp;&ensp; 2.5.1. **[Conjugate prior distribution](/P/mblr-prior)** <br>
913916
&emsp;&ensp; 2.5.2. **[Posterior distribution](/P/mblr-post)** <br>
914917
&emsp;&ensp; 2.5.3. **[Log model evidence](/P/mblr-lme)** <br>
915-
918+
916919
3. <p id="Count data">Count data</p>
917920

918921
<p id="Binomial observations"></p>
@@ -958,7 +961,7 @@ title: "Table of Contents"
958961
&emsp;&ensp; 3.4.3. **[Conjugate prior distribution](/P/poissexp-prior)** <br>
959962
&emsp;&ensp; 3.4.4. **[Posterior distribution](/P/poissexp-post)** <br>
960963
&emsp;&ensp; 3.4.5. **[Log model evidence](/P/poissexp-lme)** <br>
961-
964+
962965
4. <p id="Frequency data">Frequency data</p>
963966

964967
<p id="Beta-distributed data"></p>
@@ -975,7 +978,7 @@ title: "Table of Contents"
975978
4.3. Beta-binomial data <br>
976979
&emsp;&ensp; 4.3.1. *[Definition](/D/betabin-data)* <br>
977980
&emsp;&ensp; 4.3.2. **[Method of moments](/P/betabin-mome)** <br>
978-
981+
979982
5. <p id="Categorical data">Categorical data</p>
980983

981984
<p id="Logistic regression"></p>
@@ -988,6 +991,7 @@ title: "Table of Contents"
988991
<br>
989992
<h3 id="Model Selection">Chapter IV: Model Selection</h3>
990993

994+
991995
1. <p id="Goodness-of-fit measures">Goodness-of-fit measures</p>
992996

993997
<p id="Residual variance"></p>
@@ -1020,7 +1024,7 @@ title: "Table of Contents"
10201024
&emsp;&ensp; 1.4.1. *[Definition](/D/snr)* <br>
10211025
&emsp;&ensp; 1.4.2. **[Relationship to coefficient of determination](/P/snr-rsq)** <br>
10221026
&emsp;&ensp; 1.4.3. **[Relationship to maximum log-likelihood](/P/snr-mll)** <br>
1023-
1027+
10241028
2. <p id="Classical information criteria">Classical information criteria</p>
10251029

10261030
<p id="Akaike information criterion"></p>
@@ -1039,7 +1043,7 @@ title: "Table of Contents"
10391043
2.3. Deviance information criterion <br>
10401044
&emsp;&ensp; 2.3.1. *[Definition](/D/dic)* <br>
10411045
&emsp;&ensp; 2.3.2. *[Deviance](/D/dev)* <br>
1042-
1046+
10431047
3. <p id="Bayesian model selection">Bayesian model selection</p>
10441048

10451049
<p id="Model evidence"></p>
@@ -1088,4 +1092,4 @@ title: "Table of Contents"
10881092
3.5. Bayesian model averaging <br>
10891093
&emsp;&ensp; 3.5.1. *[Definition](/D/bma)* <br>
10901094
&emsp;&ensp; 3.5.2. **[Derivation](/P/bma-der)** <br>
1091-
&emsp;&ensp; 3.5.3. **[Calculation from log model evidences](/P/bma-lme)** <br>
1095+
&emsp;&ensp; 3.5.3. **[Calculation from log model evidences](/P/bma-lme)** <br>

book_content.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@
3333
- **[Probability under exclusivity](/P/prob-exc)**
3434
### Probability axioms
3535
- *[Axioms of probability](/D/prob-ax)*
36-
- **[Monotonicity of probability](/P/prob-mon)**
37-
- **[Monotonicity of probability](/P/prob-mon2)**
38-
- **[Probability of the empty set](/P/prob-emp)**
39-
- **[Probability of the empty set](/P/prob-emp2)**
36+
- **[Monotonicity of probability](/P/prob-mon)** (1)
37+
- **[Monotonicity of probability](/P/prob-mon2)** (2)
38+
- **[Probability of the empty set](/P/prob-emp)** (1)
39+
- **[Probability of the empty set](/P/prob-emp2)** (2)
4040
- **[Probability of the complement](/P/prob-comp)**
4141
- **[Range of probability](/P/prob-range)**
4242
- **[Addition law of probability](/P/prob-add)**
4343
- **[Bonferroni's inequality](/P/bonf-ineq)**
4444
- **[Boole's inequality](/P/bool-ineq)**
4545
- **[Law of total probability](/P/prob-tot)**
46-
- **[Probability of exhaustive events](/P/prob-exh)**
47-
- **[Probability of exhaustive events](/P/prob-exh2)**
46+
- **[Probability of exhaustive events](/P/prob-exh)** (1)
47+
- **[Probability of exhaustive events](/P/prob-exh2)** (2)
4848
### Probability distributions
4949
- *[Probability distribution](/D/dist)*
5050
- *[Joint distribution](/D/dist-joint)*
@@ -227,9 +227,9 @@
227227
- **[Relation to joint and conditional differential entropy](/P/cmi-jcde)**
228228
### Kullback-Leibler divergence
229229
- *[Definition](/D/kl)*
230-
- **[Non-negativity](/P/kl-nonneg)**
231-
- **[Non-negativity](/P/kl-nonneg2)**
232-
- **[Non-negativity](/P/kl-nonneg3)**
230+
- **[Non-negativity](/P/kl-nonneg)** (1)
231+
- **[Non-negativity](/P/kl-nonneg2)** (2)
232+
- **[Non-negativity](/P/kl-nonneg3)** (3)
233233
- **[Non-symmetry](/P/kl-nonsymm)**
234234
- **[Convexity](/P/kl-conv)**
235235
- **[Additivity for independent distributions](/P/kl-add)**
@@ -395,9 +395,9 @@
395395
- *[Definition](/D/norm)*
396396
- **[Special case of multivariate normal distribution](/P/norm-mvn)**
397397
- *[Standard normal distribution](/D/snorm)*
398-
- **[Relationship to standard normal distribution](/P/norm-snorm)**
399-
- **[Relationship to standard normal distribution](/P/norm-snorm2)**
400-
- **[Relationship to standard normal distribution](/P/norm-snorm3)**
398+
- **[Relationship to standard normal distribution](/P/norm-snorm)** (1)
399+
- **[Relationship to standard normal distribution](/P/norm-snorm2)** (2)
400+
- **[Relationship to standard normal distribution](/P/norm-snorm3)** (3)
401401
- **[Relationship to chi-squared distribution](/P/norm-chi2)**
402402
- **[Relationship to t-distribution](/P/norm-t)**
403403
- **[Gaussian integral](/P/norm-gi)**
@@ -430,8 +430,8 @@
430430
- *[Definition](/D/gam)*
431431
- **[Special case of Wishart distribution](/P/gam-wish)**
432432
- *[Standard gamma distribution](/D/sgam)*
433-
- **[Relationship to standard gamma distribution](/P/gam-sgam)**
434-
- **[Relationship to standard gamma distribution](/P/gam-sgam2)**
433+
- **[Relationship to standard gamma distribution](/P/gam-sgam)** (1)
434+
- **[Relationship to standard gamma distribution](/P/gam-sgam2)** (2)
435435
- **[Scaling of a gamma random variable](/P/gam-scal)**
436436
- **[Probability density function](/P/gam-pdf)**
437437
- **[Moment-generating function](/P/gam-mgf)**
@@ -564,8 +564,8 @@
564564
- **[Transposition](/P/matn-trans)**
565565
- **[Linear transformation](/P/matn-ltt)**
566566
- **[Marginal distributions](/P/matn-marg)**
567-
- **[Redundancy of parameters](/P/matn-red)**
568-
- **[Redundancy of parameters](/P/matn-red2)**
567+
- **[Redundancy of parameters](/P/matn-red)** (1)
568+
- **[Redundancy of parameters](/P/matn-red2)** (2)
569569
- **[Drawing samples](/P/matn-samp)**
570570
### Wishart distribution
571571
- *[Definition](/D/wish)*
@@ -626,8 +626,8 @@
626626
### Simple linear regression
627627
- *[Definition](/D/slr)*
628628
- **[Special case of multiple linear regression](/P/slr-mlr)**
629-
- **[Ordinary least squares](/P/slr-ols)**
630-
- **[Ordinary least squares](/P/slr-ols2)**
629+
- **[Ordinary least squares](/P/slr-ols)** (1)
630+
- **[Ordinary least squares](/P/slr-ols2)** (2)
631631
- **[Expectation of estimates](/P/slr-olsmean)**
632632
- **[Variance of estimates](/P/slr-olsvar)**
633633
- **[Distribution of estimates](/P/slr-olsdist)**
@@ -639,10 +639,10 @@
639639
- **[Sums of squares](/P/slr-sss)**
640640
- **[Partition of sums of squares](/P/slr-pss)**
641641
- **[Transformation matrices](/P/slr-mat)**
642-
- **[Weighted least squares](/P/slr-wls)**
643-
- **[Weighted least squares](/P/slr-wls2)**
644-
- **[Maximum likelihood estimation](/P/slr-mle)**
645-
- **[Maximum likelihood estimation](/P/slr-mle2)**
642+
- **[Weighted least squares](/P/slr-wls)** (1)
643+
- **[Weighted least squares](/P/slr-wls2)** (2)
644+
- **[Maximum likelihood estimation](/P/slr-mle)** (1)
645+
- **[Maximum likelihood estimation](/P/slr-mle2)** (2)
646646
- **[t-test for intercept parameter](/P/slr-tint)**
647647
- **[t-test for slope parameter](/P/slr-tslo)**
648648
- **[F-test for model comparison](/P/slr-fcomp)**
@@ -654,9 +654,9 @@
654654
### Multiple linear regression
655655
- *[Definition](/D/mlr)*
656656
- **[Special case of general linear model](/P/mlr-glm)**
657-
- **[Ordinary least squares](/P/mlr-ols)**
658-
- **[Ordinary least squares](/P/mlr-ols2)**
659-
- **[Ordinary least squares](/P/mlr-ols3)**
657+
- **[Ordinary least squares](/P/mlr-ols)** (1)
658+
- **[Ordinary least squares](/P/mlr-ols2)** (2)
659+
- **[Ordinary least squares](/P/mlr-ols3)** (3)
660660
- **[Ordinary least squares for two regressors](/P/mlr-olstr)**
661661
- *[Total sum of squares](/D/tss)*
662662
- *[Explained sum of squares](/D/ess)*
@@ -672,8 +672,8 @@
672672
- **[Distribution of OLS estimates, signal and residuals](/P/mlr-olsdist)**
673673
- **[Distribution of WLS estimates, signal and residuals](/P/mlr-wlsdist)**
674674
- **[Distribution of residual sum of squares](/P/mlr-rssdist)**
675-
- **[Weighted least squares](/P/mlr-wls)**
676-
- **[Weighted least squares](/P/mlr-wls2)**
675+
- **[Weighted least squares](/P/mlr-wls)** (1)
676+
- **[Weighted least squares](/P/mlr-wls2)** (2)
677677
- **[Maximum likelihood estimation](/P/mlr-mle)**
678678
- **[Maximum log-likelihood](/P/mlr-mll)**
679679
- **[Log-likelihood ratio](/P/mlr-llr)**

construct_toc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def to_roman(num):
100100

101101
if __name__ == '__main__':
102102

103-
with open('./structure.md', 'r') as f:
103+
with open('./book_content.md', 'r') as f:
104104
md = f.read()
105105

106106
with open("./I/ToC.md", 'w') as f:

0 commit comments

Comments
 (0)