Skip to content

Commit d1c3da6

Browse files
authored
Merge pull request #104 from StatProofBook/master
update to master
2 parents ecd3db7 + c6f4d43 commit d1c3da6

12 files changed

Lines changed: 35 additions & 11 deletions

File tree

D/iass.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ $$ \label{eq:iass}
4242
\end{split}
4343
$$
4444

45-
Here, $\bar{y}_{i j \bullet}$ is the mean for the $(i,j)$-th cell (out of $a \times b$ cells), computed from $n_{ij}$ values $y_{ijk}$, $\bar{y}_{i \bullet \bullet}$ and $\bar{y}_{\bullet j \bullet}$ are the level means for the two factors and and $\bar{y}_{\bullet \bullet \bullet}$ is the mean across all values $y_{ijk}$.
45+
Here, $\bar{y} _{i j \bullet}$ is the mean for the $(i,j)$-th cell (out of $a \times b$ cells), computed from $n_{ij}$ values $y_{ijk}$, $\bar{y} _{i \bullet \bullet}$ and $\bar{y} _{\bullet j \bullet}$ are the level means for the two factors and and $\bar{y} _{\bullet \bullet \bullet}$ is the mean across all values $y_{ijk}$.

D/trss.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ $$ \label{eq:trss}
3939
\mathrm{SS}_\mathrm{treat} = \sum_{i=1}^{k} \sum_{j=1}^{n_i} (\bar{y}_i - \bar{y})^2 \; .
4040
$$
4141

42-
Here, $\bar{y} _i$ is the mean for the $i$-th level of the factor (out of $k$ levels), computed from $n_i$ values $y_{ij}$, and $\bar{y}$ is the mean across all values $y_{ij}$.
42+
Here, $\bar{y}_i$ is the mean for the $i$-th level of the factor (out of $k$ levels), computed from $n_i$ values $y_{ij}$, and $\bar{y}$ is the mean across all values $y_{ij}$.

I/DbA.md

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

99
- [Sample covariance](/D/cov-samp)
1010

11-
### JoramSoch (178 definitions)
11+
### JoramSoch (180 definitions)
1212

1313
- [Akaike information criterion](/D/aic)
1414
- [Alternative hypothesis](/D/h1)
@@ -65,6 +65,7 @@ title: "Definition by Author"
6565
- [Expected value of a random vector](/D/mean-rvec)
6666
- [Explained sum of squares](/D/ess)
6767
- [Exponential distribution](/D/exp)
68+
- [F-contrast for contrast-based inference in multiple linear regression](/D/fcon)
6869
- [F-distribution](/D/f)
6970
- [Family evidence](/D/fe)
7071
- [Flat, hard and soft prior distribution](/D/prior-flat)
@@ -173,6 +174,7 @@ title: "Definition by Author"
173174
- [Statistical hypothesis](/D/hyp)
174175
- [Statistical hypothesis test](/D/test)
175176
- [Statistical independence](/D/ind)
177+
- [t-contrast for contrast-based inference in multiple linear regression](/D/tcon)
176178
- [t-distribution](/D/t)
177179
- [Test statistic](/D/tstat)
178180
- [Total sum of squares](/D/tss)

I/DbN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,5 @@ title: "Definition by Number"
191191
| D182 | anova2 | [Two-way analysis of variance](/D/anova2) | JoramSoch | 2022-11-06 |
192192
| D183 | trss | [Treatment sum of squares](/D/trss) | JoramSoch | 2022-12-14 |
193193
| D184 | iass | [Interaction sum of squares](/D/iass) | JoramSoch | 2022-12-14 |
194+
| D185 | tcon | [t-contrast for contrast-based inference in multiple linear regression](/D/tcon) | JoramSoch | 2022-12-16 |
195+
| D186 | fcon | [F-contrast for contrast-based inference in multiple linear regression](/D/fcon) | JoramSoch | 2022-12-16 |

I/DbT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ title: "Definition by Topic"
8080

8181
### F
8282

83+
- [F-contrast for contrast-based inference in multiple linear regression](/D/fcon)
8384
- [F-distribution](/D/f)
8485
- [Family evidence](/D/fe)
8586
- [Flat, hard and soft prior distribution](/D/prior-flat)
@@ -229,6 +230,7 @@ title: "Definition by Topic"
229230

230231
### T
231232

233+
- [t-contrast for contrast-based inference in multiple linear regression](/D/tcon)
232234
- [t-distribution](/D/t)
233235
- [Test statistic](/D/tstat)
234236
- [Total sum of squares](/D/tss)

I/PbA.md

Lines changed: 7 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 (369 proofs)
11+
### JoramSoch (375 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)
@@ -83,9 +83,11 @@ title: "Proof by Author"
8383
- [Differential entropy of the normal distribution](/P/norm-dent)
8484
- [Differential entropy of the normal-gamma distribution](/P/ng-dent)
8585
- [Distribution of parameter estimates for simple linear regression](/P/slr-olsdist)
86+
- [Distribution of residual sum of squares in multiple linear regression with weighted least squares](/P/mlr-rssdist)
8687
- [Distribution of the inverse general linear model](/P/iglm-dist)
8788
- [Distribution of the transformed general linear model](/P/tglm-dist)
8889
- [Distributional transformation using cumulative distribution function](/P/cdf-dt)
90+
- [Distributions of estimated parameters, fitted signal and residuals in multiple linear regression upon weighted least squares](/P/mlr-wlsdist)
8991
- [Effects of mean-centering on parameter estimates for simple linear regression](/P/slr-meancent)
9092
- [Entropy of the Bernoulli distribution](/P/bern-ent)
9193
- [Entropy of the binomial distribution](/P/bin-ent)
@@ -112,12 +114,15 @@ title: "Proof by Author"
112114
- [F-test for interaction in two-way analysis of variance](/P/anova2-fia)
113115
- [F-test for main effect in one-way analysis of variance](/P/anova1-f)
114116
- [F-test for main effect in two-way analysis of variance](/P/anova2-fme)
117+
- [F-test for multiple linear regression using contrast-based inference](/P/mlr-f)
115118
- [First central moment is zero](/P/momcent-1st)
116119
- [First raw moment is mean](/P/momraw-1st)
117120
- [Full width at half maximum for the normal distribution](/P/norm-fwhm)
118121
- [Gamma distribution is a special case of Wishart distribution](/P/gam-wish)
119122
- [Gaussian integral](/P/norm-gi)
120123
- [Gibbs' inequality](/P/gibbs-ineq)
124+
- [Independence of estimated parameters and residuals in multiple linear regression](/P/mlr-ind)
125+
- [Independence of products of multivariate normal random vector](/P/mvn-indprod)
121126
- [Inflection points of the probability density function of the normal distribution](/P/norm-infl)
122127
- [Invariance of the covariance matrix under addition of constant vector](/P/covmat-inv)
123128
- [Invariance of the differential entropy under addition of a constant](/P/dent-inv)
@@ -353,6 +358,7 @@ title: "Proof by Author"
353358
- [Symmetry of the covariance](/P/cov-symm)
354359
- [Symmetry of the covariance matrix](/P/covmat-symm)
355360
- [t-distribution is a special case of multivariate t-distribution](/P/t-mvt)
361+
- [t-test for multiple linear regression using contrast-based inference](/P/mlr-t)
356362
- [The p-value follows a uniform distribution under the null hypothesis](/P/pval-h0)
357363
- [The regression line goes through the center of mass point](/P/slr-comp)
358364
- [The residuals and the covariate are uncorrelated in simple linear regression](/P/slr-rescorr)

I/PbN.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,3 +394,9 @@ title: "Proof by Number"
394394
| P386 | mult-mll | [Maximum log-likelihood for multinomial observations](/P/mult-mll) | JoramSoch | 2022-12-02 |
395395
| P387 | mult-lbf | [Log Bayes factor for multinomial observations](/P/mult-lbf) | JoramSoch | 2022-12-02 |
396396
| P388 | mult-pp | [Posterior probability of the alternative model for multinomial observations](/P/mult-pp) | JoramSoch | 2022-12-02 |
397+
| P389 | mlr-wlsdist | [Distributions of estimated parameters, fitted signal and residuals in multiple linear regression upon weighted least squares](/P/mlr-wlsdist) | JoramSoch | 2022-12-13 |
398+
| P390 | mlr-rssdist | [Distribution of residual sum of squares in multiple linear regression with weighted least squares](/P/mlr-rssdist) | JoramSoch | 2022-12-13 |
399+
| P391 | mlr-t | [t-test for multiple linear regression using contrast-based inference](/P/mlr-t) | JoramSoch | 2022-12-13 |
400+
| P392 | mlr-f | [F-test for multiple linear regression using contrast-based inference](/P/mlr-f) | JoramSoch | 2022-12-13 |
401+
| P393 | mlr-ind | [Independence of estimated parameters and residuals in multiple linear regression](/P/mlr-ind) | JoramSoch | 2022-12-13 |
402+
| P394 | mvn-indprod | [Independence of products of multivariate normal random vector](/P/mvn-indprod) | JoramSoch | 2022-12-13 |

I/PbT.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@ title: "Proof by Topic"
9191
- [Differential entropy of the normal distribution](/P/norm-dent)
9292
- [Differential entropy of the normal-gamma distribution](/P/ng-dent)
9393
- [Distribution of parameter estimates for simple linear regression](/P/slr-olsdist)
94+
- [Distribution of residual sum of squares in multiple linear regression with weighted least squares](/P/mlr-rssdist)
9495
- [Distribution of the inverse general linear model](/P/iglm-dist)
9596
- [Distribution of the transformed general linear model](/P/tglm-dist)
9697
- [Distributional transformation using cumulative distribution function](/P/cdf-dt)
98+
- [Distributions of estimated parameters, fitted signal and residuals in multiple linear regression upon weighted least squares](/P/mlr-wlsdist)
9799

98100
### E
99101

@@ -127,6 +129,7 @@ title: "Proof by Topic"
127129
- [F-test for interaction in two-way analysis of variance](/P/anova2-fia)
128130
- [F-test for main effect in one-way analysis of variance](/P/anova1-f)
129131
- [F-test for main effect in two-way analysis of variance](/P/anova2-fme)
132+
- [F-test for multiple linear regression using contrast-based inference](/P/mlr-f)
130133
- [First central moment is zero](/P/momcent-1st)
131134
- [First raw moment is mean](/P/momraw-1st)
132135
- [Full width at half maximum for the normal distribution](/P/norm-fwhm)
@@ -139,6 +142,8 @@ title: "Proof by Topic"
139142

140143
### I
141144

145+
- [Independence of estimated parameters and residuals in multiple linear regression](/P/mlr-ind)
146+
- [Independence of products of multivariate normal random vector](/P/mvn-indprod)
142147
- [Inflection points of the probability density function of the normal distribution](/P/norm-infl)
143148
- [Invariance of the covariance matrix under addition of constant vector](/P/covmat-inv)
144149
- [Invariance of the differential entropy under addition of a constant](/P/dent-inv)
@@ -419,6 +424,7 @@ title: "Proof by Topic"
419424
### T
420425

421426
- [t-distribution is a special case of multivariate t-distribution](/P/t-mvt)
427+
- [t-test for multiple linear regression using contrast-based inference](/P/mlr-t)
422428
- [The p-value follows a uniform distribution under the null hypothesis](/P/pval-h0)
423429
- [The regression line goes through the center of mass point](/P/slr-comp)
424430
- [The residuals and the covariate are uncorrelated in simple linear regression](/P/slr-rescorr)

P/anova2-pss.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ $$ \label{eq:anova2-tss}
5454
\mathrm{SS}_\mathrm{tot} = \sum_{i=1}^{a} \sum_{j=1}^{b} \sum_{k=1}^{n_{ij}} (y_{ijk} - \bar{y}_{\bullet \bullet \bullet})^2
5555
$$
5656

57-
where $\bar{y}_{\bullet \bullet \bullet}$ is the mean across all values $y_{ijk}$. This can be rewritten as
57+
where $\bar{y} _{\bullet \bullet \bullet}$ is the mean across all values $y_{ijk}$. This can be rewritten as
5858

5959
$$ \label{eq:anova2-pss-s1}
6060
\begin{split}

P/mlr-f.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ F &\overset{\eqref{eq:mlr-f-s1}}{=} \left( \hat{\gamma} - C^\mathrm{T} \hat{\be
171171
&\overset{\eqref{eq:mlr-f-h0}}{=} \hat{\gamma}^\mathrm{T} \left( \frac{n-p}{\hat{\varepsilon}^\mathrm{T} \hat{\varepsilon}} Q \right) \hat{\gamma} / q \\
172172
&\overset{\eqref{eq:fcon}}{=} \hat{\beta}^\mathrm{T} C \left( \frac{n-p}{\hat{\varepsilon}^\mathrm{T} \hat{\varepsilon}} Q \right) C^\mathrm{T} \hat{\beta} / q \\
173173
&\overset{\eqref{eq:g-est-tau-dist-cond}}{=} \hat{\beta}^\mathrm{T} C \left( \frac{n-p}{\hat{\varepsilon}^\mathrm{T} \hat{\varepsilon}} \left( C^\mathrm{T} (X^\mathrm{T} V^{-1} X)^{-1} C \right)^{-1} \right) C^\mathrm{T} \hat{\beta} / q \\
174-
&\overset{\eqref{eq:g-est-tau-dist-cond}}{=} \hat{\beta}^\mathrm{T} C \left( \frac{n-p}{(y-X\hat{\beta})^\mathrm{T} V^{-1} (y-X\hat{\beta})} \left( C^\mathrm{T} (X^\mathrm{T} V^{-1} X)^{-1} C \right)^{-1} \right) C^\mathrm{T} \hat{\beta} / q \\
174+
&\overset{\eqref{eq:mlr-rss}}{=} \hat{\beta}^\mathrm{T} C \left( \frac{n-p}{(y-X\hat{\beta})^\mathrm{T} V^{-1} (y-X\hat{\beta})} \left( C^\mathrm{T} (X^\mathrm{T} V^{-1} X)^{-1} C \right)^{-1} \right) C^\mathrm{T} \hat{\beta} / q \\
175175
&\overset{\eqref{eq:mlr-est}}{=} \hat{\beta}^\mathrm{T} C \left( \frac{1}{\hat{\sigma}^2} \left( C^\mathrm{T} (X^\mathrm{T} V^{-1} X)^{-1} C \right)^{-1} \right) C^\mathrm{T} \hat{\beta} / q \\
176176
&= \hat{\beta}^\mathrm{T} C \left( \hat{\sigma}^2 C^\mathrm{T} (X^\mathrm{T} V^{-1} X)^{-1} C \right)^{-1} C^\mathrm{T} \hat{\beta} / q \; .
177177
\end{split}

0 commit comments

Comments
 (0)