Skip to content

Commit 1b35026

Browse files
committed
corrected one proof
More required steps were added to the proof "matn-trans" using information from the proof "pdf-invfct".
1 parent 9a06da1 commit 1b35026

1 file changed

Lines changed: 71 additions & 7 deletions

File tree

P/matn-trans.md

Lines changed: 71 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ username: "JoramSoch"
2121
---
2222

2323

24-
**Theorem:** Let $X$ be a [random matrix](/D/rmat) following a [matrix-normal distribution](/D/matn):
24+
**Theorem:** Let $X$ be an $n \times p$ [random matrix](/D/rmat) following a [matrix-normal distribution](/D/matn):
2525

2626
$$ \label{eq:matn}
2727
X \sim \mathcal{MN}(M, U, V) \; .
@@ -34,28 +34,92 @@ X^\mathrm{T} \sim \mathcal{MN}(M^\mathrm{T}, V, U) \; .
3434
$$
3535

3636

37-
**Proof:** The [probability density function of the matrix-normal distribution](/P/matn-pdf) is:
37+
**Proof:** For a [random vector](/P/rvec) $X \in \mathbb{R}^n$ with [probability density function](/D/pdf) $f_X(x)$, the [probability density function of the invertible function](/P/pdf-invfct) $Y = g(X)$ is
38+
39+
$$ \label{eq:pdf-invfct}
40+
f_Y(y) = \left\{
41+
\begin{array}{rl}
42+
f_X(g^{-1}(y)) \, \left| J_{g^{-1}}(y) \right| \; , & \text{if} \; y \in \mathcal{Y} \\
43+
0 \; , & \text{if} \; y \notin \mathcal{Y}
44+
\end{array}
45+
\right.
46+
$$
47+
48+
where $\left| J_{g^{-1}}(y) \right|$ is the determinant of the Jacobian matrix
49+
50+
$$ \label{eq:jac}
51+
J_{g^{-1}}(y) = \left[ \begin{matrix}
52+
\frac{\mathrm{d}x_1}{\mathrm{d}y_1} & \ldots & \frac{\mathrm{d}x_1}{\mathrm{d}y_n} \\
53+
\vdots & \ddots & \vdots \\
54+
\frac{\mathrm{d}x_n}{\mathrm{d}y_1} & \ldots & \frac{\mathrm{d}x_n}{\mathrm{d}y_n}
55+
\end{matrix} \right]
56+
$$
57+
58+
and $\mathcal{Y}$ is the set of possible outcomes of $Y$:
59+
60+
$$ \label{eq:Y-range}
61+
\mathcal{Y} = \left\lbrace y = g(x): x \in \mathcal{X} \right\rbrace \; .
62+
$$
63+
64+
In the present case, we have $Y = g(X) = X^\mathrm{T}$ and $X = g^{-1}(Y) = Y^\mathrm{T}$ and all $Y \in \mathcal{Y} = \mathbb{R}^{p \times n}$. For the vectorized matrices $X$ and $Y$, the Jacobian matrix is
65+
66+
$$ \label{eq:XY-jac}
67+
J_{g^{-1}}(Y) = \left[ \begin{matrix}
68+
\frac{\mathrm{d}x_{11}}{\mathrm{d}y_{11}} & \frac{\mathrm{d}x_{11}}{\mathrm{d}y_{21}} & \ldots & \frac{\mathrm{d}x_{11}}{\mathrm{d}y_{pn}} \\
69+
\frac{\mathrm{d}x_{21}}{\mathrm{d}y_{11}} & \frac{\mathrm{d}x_{21}}{\mathrm{d}y_{21}} & \ldots & \frac{\mathrm{d}x_{21}}{\mathrm{d}y_{pn}} \\
70+
\vdots & \vdots & \ddots & \vdots \\
71+
\frac{\mathrm{d}x_{np}}{\mathrm{d}y_{11}} & \frac{\mathrm{d}x_{np}}{\mathrm{d}y_{21}} & \ldots & \frac{\mathrm{d}x_{np}}{\mathrm{d}y_{pn}}
72+
\end{matrix} \right] \in \mathbb{R}^{np} \; .
73+
$$
74+
75+
Because by transposition, $y_{ji} = x_{ij}$, we have
76+
77+
$$ \label{eq:dxij-dyji}
78+
\frac{\mathrm{d}x_{ij}}{\mathrm{d}y_{kl}} = \left\{
79+
\begin{array}{rl}
80+
1 \; , & \text{if} \; k = j \; \text{and} \; l = i \\
81+
0 \; , & \text{otherwise} \; .
82+
\end{array}
83+
\right.
84+
$$
85+
86+
Thus, $J_{g^{-1}}(Y)$ is row-equivalent to $I_{np}$ and $\left| J_{g^{-1}}(Y) \right| = \left| I_{np} \right| = 1$. Therefore, we have:
87+
88+
$$
89+
\begin{split}
90+
f_Y(Y)
91+
&= f_X(g^{-1}(Y)) \, \left| J_{g^{-1}}(Y) \right| \\
92+
&= \mathcal{MN}(Y^\mathrm{T}; M, U, V) \, \left| I_{np} \right| \\
93+
&= \mathcal{MN}(Y^\mathrm{T}; M, U, V) \; .
94+
\end{split}
95+
$$
96+
97+
The [probability density function of the matrix-normal distribution](/P/matn-pdf) is:
3898

3999
$$ \label{eq:matn-pdf-X}
40100
f(X) = \mathcal{MN}(X; M, U, V) = \frac{1}{\sqrt{(2\pi)^{np} |V|^n |U|^p}} \cdot \exp\left[-\frac{1}{2} \mathrm{tr}\left( V^{-1} (X-M)^\mathrm{T} \, U^{-1} (X-M) \right) \right] \; .
41101
$$
42102

43-
Define $Y = X^\mathrm{T}$. Then, $X = Y^\mathrm{T}$ and we can substitute:
103+
Thus, substituting $X = Y^\mathrm{T}$, we get:
44104

45105
$$ \label{eq:matn-pdf-Y-s1}
46-
f(Y) = \frac{1}{\sqrt{(2\pi)^{np} |V|^n |U|^p}} \cdot \exp\left[-\frac{1}{2} \mathrm{tr}\left( V^{-1} (Y^\mathrm{T}-M)^\mathrm{T} \, U^{-1} (Y^\mathrm{T}-M) \right) \right] \; .
106+
f(Y) = \frac{1}{\sqrt{(2\pi)^{np} |U|^p |V|^n}} \cdot \exp\left[-\frac{1}{2} \mathrm{tr}\left( V^{-1} (Y^\mathrm{T}-M)^\mathrm{T} \, U^{-1} (Y^\mathrm{T}-M) \right) \right] \; .
47107
$$
48108

49109
Using $(A+B)^\mathrm{T} = (A^\mathrm{T} + B^\mathrm{T})$, we have:
50110

51111
$$ \label{eq:matn-pdf-Y-s2}
52-
f(Y) = \frac{1}{\sqrt{(2\pi)^{np} |V|^n |U|^p}} \cdot \exp\left[-\frac{1}{2} \mathrm{tr}\left( V^{-1} (Y-M^\mathrm{T}) \, U^{-1} (Y-M^\mathrm{T})^\mathrm{T} \right) \right] \; .
112+
f(Y) = \frac{1}{\sqrt{(2\pi)^{np} |U|^p |V|^n}} \cdot \exp\left[-\frac{1}{2} \mathrm{tr}\left( V^{-1} (Y-M^\mathrm{T}) \, U^{-1} (Y-M^\mathrm{T})^\mathrm{T} \right) \right] \; .
53113
$$
54114

55115
Using $\mathrm{tr}(ABC) = \mathrm{tr}(CAB)$, we obtain
56116

57117
$$ \label{eq:matn-pdf-Y-s3}
58-
f(Y) = \frac{1}{\sqrt{(2\pi)^{np} |V|^n |U|^p}} \cdot \exp\left[-\frac{1}{2} \mathrm{tr}\left( U^{-1} (Y-M^\mathrm{T})^\mathrm{T} \, V^{-1} (Y-M^\mathrm{T}) \right) \right]
118+
f(Y) = \frac{1}{\sqrt{(2\pi)^{np} |U|^p |V|^n}} \cdot \exp\left[-\frac{1}{2} \mathrm{tr}\left( U^{-1} (Y-M^\mathrm{T})^\mathrm{T} \, V^{-1} (Y-M^\mathrm{T}) \right) \right]
59119
$$
60120

61-
which is the [probability density function of a matrix-normal distribution](/P/matn-pdf) with mean $M^T$, covariance across rows $V$ and covariance across columns $U$.
121+
which is the [probability density function of a matrix-normal distribution](/P/matn-pdf) with mean $M^T$, covariance across rows $V$ and covariance across columns $U$:
122+
123+
$$ \label{eq:matn-pdf-Y-s4}
124+
f(Y) = \mathcal{MN}(Y; M^\mathrm{T}, V, U) \; .
125+
$$

0 commit comments

Comments
 (0)