You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: P/gam-sgam.md
+36-9Lines changed: 36 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,26 +34,53 @@ Y = b X \sim \mathrm{Gam}(a,1) \; .
34
34
$$
35
35
36
36
37
-
**Proof:** Rearranging to get $X$ in terms of $Y$, we have
37
+
**Proof:** Note that $Y$ is a function of $X$
38
+
39
+
$$ \label{eq:Y-X}
40
+
Y = g(X) = b X
41
+
$$
42
+
43
+
with the inverse function
38
44
39
45
$$ \label{eq:X-Y}
40
-
X = \frac{1}{b} Y \; .
46
+
X = g^{-1}(Y) = \frac{1}{b} Y \; .
47
+
$$
48
+
49
+
Because $b$ is positive, $g(X)$ is strictly increasing and we can calculate the [cumulative distribution function of a strictly increasing function](/P/cdf-sifct) as
50
+
51
+
$$ \label{eq:cdf-sifct}
52
+
F_Y(y) = \left\{
53
+
\begin{array}{rl}
54
+
0 \; , & \text{if} \; y < \mathrm{min}(\mathcal{Y}) \\
55
+
F_X(g^{-1}(y)) \; , & \text{if} \; y \in \mathcal{Y} \\
**Proof:** Rearranging to get $X$ in terms of $Z$, we have
37
+
**Proof:** Note that $Z$ is a function of $X$
38
+
39
+
$$ \label{eq:Z-X}
40
+
Z = g(X) = \frac{X-\mu}{\sigma}
41
+
$$
42
+
43
+
with the inverse function
38
44
39
45
$$ \label{eq:X-Z}
40
-
X = \sigma Z + \mu \; .
46
+
X = g^{-1}(Z) = \sigma Z + \mu \; .
47
+
$$
48
+
49
+
Because $\sigma$ is positive, $g(X)$ is strictly increasing and we can calculate the [cumulative distribution function of a strictly increasing function](/P/cdf-sifct) as
50
+
51
+
$$ \label{eq:cdf-sifct}
52
+
F_Y(y) = \left\{
53
+
\begin{array}{rl}
54
+
0 \; , & \text{if} \; y < \mathrm{min}(\mathcal{Y}) \\
55
+
F_X(g^{-1}(y)) \; , & \text{if} \; y \in \mathcal{Y} \\
0 commit comments