Skip to content

Commit edfc975

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

2 files changed

Lines changed: 23 additions & 4 deletions

File tree

P/mvn-ind.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,31 @@ $$ \label{eq:x-ind-dev}
6969
\end{split}
7070
$$
7171

72-
which, given the laws for matrix determinants and matrix inverses, is only fulfilled if
72+
which is only fulfilled by a diagonal covariance matrix
7373

7474
$$ \label{eq:Sigma-diag-qed}
75-
\Sigma = \mathrm{diag}\left( \left[ \sigma^2_1, \ldots, \sigma^2_n \right] \right) \; .
75+
\Sigma = \mathrm{diag}\left( \left[ \sigma^2_1, \ldots, \sigma^2_n \right] \right) \; ,
76+
$$
77+
78+
because the determinant of a diagonal matrix is a product
79+
80+
$$ \label{eq:diag-det}
81+
| \mathrm{diag}\left( \left[ a_1, \ldots, a_n \right] \right) | = \prod_{i=1}^n a_i \; ,
7682
$$
7783

84+
the inverse of a diagonal matrix is a diagonal matrix
85+
86+
$$ \label{eq:diag-inv}
87+
\mathrm{diag}\left( \left[ a_1, \ldots, a_n \right] \right)^{-1} = \mathrm{diag}\left( \left[ 1/a_1, \ldots, 1/a_n \right] \right)
88+
$$
89+
90+
and the squared form with a diagonal matrix is
91+
92+
$$ \label{eq:diag-sqr}
93+
x^\mathrm{T} \mathrm{diag}\left( \left[ a_1, \ldots, a_n \right] \right) x = \sum_{i=1}^n a_i x_i^2 \; .
94+
$$
95+
96+
7897
<br>
7998
2) Let
8099

P/ug-ttest2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ $$ \label{eq:t}
4848
t = \frac{(\bar{y}_1-\bar{y}_2)-\mu_\Delta}{s_p \cdot \sqrt{\frac{1}{n_1}+\frac{1}{n_2}}}
4949
$$
5050

51-
with [sample means](/D/mean-samp) $\bar{y}_1$ and $\bar{y}_2$ and [pooled standard deviation](/D/std-pool) $s_p$ follows a [Student's t-distribution](/D/t) with $n_1+n_2-1$ [degrees of freedom](/D/dof)
51+
with [sample means](/D/mean-samp) $\bar{y}_1$ and $\bar{y}_2$ and [pooled standard deviation](/D/std-pool) $s_p$ follows a [Student's t-distribution](/D/t) with $n_1+n_2-2$ [degrees of freedom](/D/dof)
5252

5353
$$ \label{eq:t-dist}
54-
t \sim \mathrm{t}(n_1+n_2-1)
54+
t \sim \mathrm{t}(n_1+n_2-2)
5555
$$
5656

5757
under the [null hypothesis](/D/h0)

0 commit comments

Comments
 (0)