Skip to content

Commit 09498bb

Browse files
committed
replaced vector notation
The phrase "$n \times 1$" was replaced by "$n$-dimensional" throughout, except in places where it is important to explicitly denote vectors as column vectors, especially in relation with matrices having the same number of rows.
1 parent 4ec7a80 commit 09498bb

38 files changed

Lines changed: 41 additions & 41 deletions

D/cdf-joint.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 \in \mathbb{R}^n$ be an $n \times 1$ [random vector](/D/rvec). Then, the [joint](/D/dist-joint) [cumulative distribution function](/D/cdf) of $X$ is defined as the [probability](/D/prob) that each entry $X_i$ is smaller than a specific value $x_i$ for $i = 1, \ldots, n$:
30+
**Definition:** Let $X \in \mathbb{R}^n$ be an $n$-dimensional [random vector](/D/rvec). Then, the [joint](/D/dist-joint) [cumulative distribution function](/D/cdf) of $X$ is defined as the [probability](/D/prob) that each entry $X_i$ is smaller than a specific value $x_i$ for $i = 1, \ldots, n$:
3131

3232
$$ \label{eq:cdf-joint}
3333
F_X(x) = \mathrm{Pr}(X_1 \leq x_1, \ldots, X_n \leq x_n) \; .

D/mean-rvec.md

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

3535

36-
**Definition:** Let $X$ be an $n \times 1$ [random vector](/D/rvec). Then, the [expected value](/D/mean) of $X$ is an $n \times 1$ vector whose entries correspond to the expected values of the entries of the random vector:
36+
**Definition:** Let $X$ be an $n$-dimensional [random vector](/D/rvec). Then, the [expected value](/D/mean) of $X$ is an $n$-dimensional vector whose entries correspond to the expected values of the entries of the random vector:
3737

3838
$$ \label{eq:mean-rvec}
3939
\mathrm{E}(X) = \mathrm{E}\left( \left[ \begin{array}{c} X_1 \\ \vdots \\ X_n \end{array} \right] \right) = \left[ \begin{array}{c} \mathrm{E}(X_1) \\ \vdots \\ \mathrm{E}(X_n) \end{array} \right] \; .

D/mvn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ username: "JoramSoch"
2828
---
2929

3030

31-
**Definition:** Let $X$ be an $n \times 1$ [random vector](/D/rvec). Then, $X$ is said to be multivariate normally distributed with mean $\mu$ and covariance $\Sigma$
31+
**Definition:** Let $X$ be an $n$-dimensional [random vector](/D/rvec). Then, $X$ is said to be multivariate normally distributed with mean $\mu$ and covariance $\Sigma$
3232

3333
$$ \label{eq:mvn}
3434
X \sim \mathcal{N}(\mu, \Sigma) \; ,
@@ -40,4 +40,4 @@ $$ \label{eq:mvn-pdf}
4040
\mathcal{N}(x; \mu, \Sigma) = \frac{1}{\sqrt{(2 \pi)^n |\Sigma|}} \cdot \exp \left[ -\frac{1}{2} (x-\mu)^\mathrm{T} \Sigma^{-1} (x-\mu) \right]
4141
$$
4242

43-
where $\mu$ is an $n \times 1$ real vector and $\Sigma$ is an $n \times n$ positive-definite matrix.
43+
where $\mu$ is an $n$-dimensional real vector and $\Sigma$ is an $n \times n$ positive-definite matrix.

D/mvt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ username: "JoramSoch"
2828
---
2929

3030

31-
**Definition:** Let $X$ be an $n \times 1$ [random vector](/D/rvec). Then, $X$ is said to follow a multivariate $t$-distribution with mean $\mu$, scale matrix $\Sigma$ and degrees of freedom $\nu$
31+
**Definition:** Let $X$ be an $n$-dimensional [random vector](/D/rvec). Then, $X$ is said to follow a multivariate $t$-distribution with mean $\mu$, scale matrix $\Sigma$ and degrees of freedom $\nu$
3232

3333
$$ \label{eq:mvt}
3434
X \sim t(\mu, \Sigma, \nu) \; ,
@@ -40,4 +40,4 @@ $$ \label{eq:mvt-pdf}
4040
t(x; \mu, \Sigma, \nu) = \sqrt{\frac{1}{(\nu \pi)^{n} |\Sigma|}} \, \frac{\Gamma([\nu+n]/2)}{\Gamma(\nu/2)} \, \left[ 1 + \frac{1}{\nu} (x-\mu)^\mathrm{T} \Sigma^{-1} (x-\mu) \right]^{-(\nu+n)/2}
4141
$$
4242

43-
where $\mu$ is an $n \times 1$ real vector, $\Sigma$ is an $n \times n$ positive-definite matrix and $\nu > 0$.
43+
where $\mu$ is an $n$-dimensional real vector, $\Sigma$ is an $n \times n$ positive-definite matrix and $\nu > 0$.

D/ng.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ username: "JoramSoch"
2828
---
2929

3030

31-
**Definition:** Let $X$ be an $n \times 1$ [random vector](/D/rvec) and let $Y$ be a positive [random variable](/D/rvar). Then, $X$ and $Y$ are said to follow a normal-gamma distribution
31+
**Definition:** Let $X$ be an $n$-dimensional [random vector](/D/rvec) and let $Y$ be a positive [random variable](/D/rvar). Then, $X$ and $Y$ are said to follow a normal-gamma distribution
3232

3333
$$ \label{eq:ng}
3434
X,Y \sim \mathrm{NG}(\mu, \Lambda, a, b) \; ,

P/anova1-f.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ $$ \label{eq:cochran-p2}
141141
Q_j \sim \chi^2(r_j), \; j = 1, \ldots, m \; .
142142
$$
143143

144-
Let $U$ be the $n \times 1$ column vector of all observations
144+
Let $U$ be the $n$-dimensional column vector of all observations
145145

146146
$$ \label{eq:U}
147147
U = \left[ \begin{matrix} u_1 \\ \vdots \\ u_k \end{matrix} \right]

P/anova2-cochran.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ $$ \label{eq:cochran-p2}
190190
Q_j \sim \chi^2(r_j), \; j = 1, \ldots, m \; .
191191
$$
192192

193-
First, we define the $n \times 1$ vector $U$:
193+
First, we define the $n$-dimensional vector $U$:
194194

195195
$$ \label{eq:U}
196196
U = \left[ \begin{matrix} u_{1 \bullet} \\ \vdots \\ u_{a \bullet} \end{matrix} \right] \quad \text{where} \quad u_{i \bullet} = \left[ \begin{matrix} u_{i1} \\ \vdots \\ u_{ib} \end{matrix} \right] \quad \text{where} \quad u_{ij} = \left[ \begin{matrix} (y_{i,j,1} - \mu - \alpha_i - \beta_j - \gamma_{ij})/\sigma \\ \vdots \\ (y_{i,j,n_{ij}} - \mu - \alpha_i - \beta_j - \gamma_{ij})/\sigma \end{matrix} \right] \; .

P/blr-anc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $$ \label{eq:GLM}
4747
m: \; y = X \beta + \varepsilon, \; \varepsilon \sim \mathcal{N}(0, \sigma^2 V)
4848
$$
4949

50-
be a [linear regression model](/D/mlr) with measured $n \times 1$ data vector $y$, known $n \times p$ design matrix $X$, known $n \times n$ covariance structure $V$ as well as unknown $p \times 1$ regression coefficients $\beta$ and unknown noise variance $\sigma^2$. Moreover, assume a [normal-gamma prior distribution](/P/blr-prior) over the model parameters $\beta$ and $\tau = 1/\sigma^2$:
50+
be a [linear regression model](/D/mlr) with measured $n$-dimensional data vector $y$, known $n \times p$ design matrix $X$, known $n \times n$ covariance structure $V$ as well as unknown $p \times 1$ regression coefficients $\beta$ and unknown noise variance $\sigma^2$. Moreover, assume a [normal-gamma prior distribution](/P/blr-prior) over the model parameters $\beta$ and $\tau = 1/\sigma^2$:
5151

5252
$$ \label{eq:GLM-NG-prior}
5353
p(\beta,\tau) = \mathcal{N}(\beta; \mu_0, (\tau \Lambda_0)^{-1}) \cdot \mathrm{Gam}(\tau; a_0, b_0) \; .

P/blr-lbf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ username: "JoramSoch"
2121
---
2222

2323

24-
**Theorem:** Let $y = \left[ y_1, \ldots, y_n \right]^\mathrm{T}$ be an $n \times 1$ vector of a [measured univariate signal](/D/data) and consider two [linear regression models](/D/mlr) with [design matrices](/D/mlr) $X_1, X_2$ and [precision matrices](/P/blr-prior) $P_1, P_2$, entailing potentially different [regression coefficients](/D/mlr) $\beta_1, \beta_2$ and [noise precisions](/P/blr-prior) $\tau_1, \tau_2$:
24+
**Theorem:** Let $y = \left[ y_1, \ldots, y_n \right]^\mathrm{T}$ be an $n$-dimensional vector of a [measured univariate signal](/D/data) and consider two [linear regression models](/D/mlr) with [design matrices](/D/mlr) $X_1, X_2$ and [precision matrices](/P/blr-prior) $P_1, P_2$, entailing potentially different [regression coefficients](/D/mlr) $\beta_1, \beta_2$ and [noise precisions](/P/blr-prior) $\tau_1, \tau_2$:
2525

2626
$$ \label{eq:GLM-NG-12}
2727
\begin{split}

P/blr-lme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $$ \label{eq:GLM}
3333
m: \; y = X \beta + \varepsilon, \; \varepsilon \sim \mathcal{N}(0, \sigma^2 V)
3434
$$
3535

36-
be a [linear regression model](/D/mlr) with measured $n \times 1$ data vector $y$, known $n \times p$ design matrix $X$, known $n \times n$ covariance structure $V$ as well as unknown $p \times 1$ regression coefficients $\beta$ and unknown noise variance $\sigma^2$. Moreover, assume a [normal-gamma prior distribution](/P/blr-prior) over the model parameters $\beta$ and $\tau = 1/\sigma^2$:
36+
be a [linear regression model](/D/mlr) with measured $n$-dimensional data vector $y$, known $n \times p$ design matrix $X$, known $n \times n$ covariance structure $V$ as well as unknown $p \times 1$ regression coefficients $\beta$ and unknown noise variance $\sigma^2$. Moreover, assume a [normal-gamma prior distribution](/P/blr-prior) over the model parameters $\beta$ and $\tau = 1/\sigma^2$:
3737

3838
$$ \label{eq:GLM-NG-prior}
3939
p(\beta,\tau) = \mathcal{N}(\beta; \mu_0, (\tau \Lambda_0)^{-1}) \cdot \mathrm{Gam}(\tau; a_0, b_0) \; .

0 commit comments

Comments
 (0)