Skip to content

Commit 7076182

Browse files
authored
added 3 proofs
1 parent e5faac5 commit 7076182

3 files changed

Lines changed: 215 additions & 0 deletions

File tree

P/cdf-sifct.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
layout: proof
3+
mathjax: true
4+
5+
author: "Joram Soch"
6+
affiliation: "BCCN Berlin"
7+
e_mail: "joram.soch@bccn-berlin.de"
8+
date: 2020-10-29 05:35:00
9+
10+
title: "Cumulative distribution function of a strictly increasing function of a random variable"
11+
chapter: "General Theorems"
12+
section: "Probability theory"
13+
topic: "Probability functions"
14+
theorem: "Cumulative distribution function of strictly increasing function"
15+
16+
sources:
17+
- authors: "Taboga, Marco"
18+
year: 2017
19+
title: "Functions of random variables and their distribution"
20+
in: "Lectures on probability and mathematical statistics"
21+
pages: "retrieved on 2020-10-29"
22+
url: "https://www.statlect.com/fundamentals-of-probability/functions-of-random-variables-and-their-distribution#hid2"
23+
24+
proof_id: "P183"
25+
shortcut: "cdf-sifct"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X$ be a [random variable](/D/rvar) with possible outcomes $\mathcal{X}$ and let $g(x)$ be a strictly increasing function on the support of $X$. Then, the [cumulative distribution function](/D/cdf) of $Y = g(X)$ is given by
31+
32+
$$ \label{eq:cdf-sifct}
33+
F_Y(y) = \left\{
34+
\begin{array}{rl}
35+
0 \; , & \text{if} \; y < \mathrm{min}(\mathcal{Y}) \\
36+
F_X(g^{-1}(y)) \; , & \text{if} \; y \in \mathcal{Y} \\
37+
1 \; , & \text{if} \; y > \mathrm{max}(\mathcal{Y})
38+
\end{array}
39+
\right.
40+
$$
41+
42+
where $g^{-1}(y)$ is the inverse function of $g(x)$ and $\mathcal{Y}$ is the set of possible outcomes of $Y$:
43+
44+
$$ \label{eq:Y-range}
45+
\mathcal{Y} = \left\lbrace y = g(x): x \in \mathcal{X} \right\rbrace \; .
46+
$$
47+
48+
49+
**Proof:** The support of $Y$ is determined by $g(x)$ and by the set of possible outcomes of $X$. Moreover, if $g(x)$ is strictly increasing, then $g^{-1}(y)$ is also strictly increasing. Therefore, the [cumulative distribution function](/D/cdf) of $Y$ can be derived as follows:
50+
51+
1) If $y$ is lower than the [lowest value](/D/min) $Y$ can take, then $\mathrm{Pr}(Y \leq y) = 0$, so
52+
53+
$$ \label{eq:cdf-sifct-p1}
54+
F_Y(y) = 0, \quad \text{if} \quad y < \mathrm{min}(\mathcal{Y}) \; .
55+
$$
56+
57+
2) If $y$ belongs to the support of $Y$, then $F_Y(y)$ can be derived as follows:
58+
59+
$$ \label{eq:cdf-sifct-p2}
60+
\begin{split}
61+
F_Y(y) &= \mathrm{Pr}(Y \leq y) \\
62+
&= \mathrm{Pr}(g(X) \leq y) \\
63+
&= \mathrm{Pr}(X \leq g^{-1}(y)) \\
64+
&= F_X(g^{-1}(y)) \; .
65+
\end{split}
66+
$$
67+
68+
3) If $y$ is higher than the [highest value](/D/max) $Y$ can take, then $\mathrm{Pr}(Y \leq y) = 1$, so
69+
70+
$$ \label{eq:cdf-sifct-p3}
71+
F_Y(y) = 1, \quad \text{if} \quad y > \mathrm{max}(\mathcal{Y}) \; .
72+
$$
73+
74+
Taking together \eqref{eq:cdf-sifct-p1}, \eqref{eq:cdf-sifct-p2}, \eqref{eq:cdf-sifct-p3}, eventually proves \eqref{eq:cdf-sifct}.

P/pdf-sifct.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
layout: proof
3+
mathjax: true
4+
5+
author: "Joram Soch"
6+
affiliation: "BCCN Berlin"
7+
e_mail: "joram.soch@bccn-berlin.de"
8+
date: 2020-10-29 06:21:00
9+
10+
title: "Probability density function of a strictly increasing function of a continuous random variable"
11+
chapter: "General Theorems"
12+
section: "Probability theory"
13+
topic: "Probability functions"
14+
theorem: "Probability density function of strictly increasing function"
15+
16+
sources:
17+
- authors: "Taboga, Marco"
18+
year: 2017
19+
title: "Functions of random variables and their distribution"
20+
in: "Lectures on probability and mathematical statistics"
21+
pages: "retrieved on 2020-10-29"
22+
url: "https://www.statlect.com/fundamentals-of-probability/functions-of-random-variables-and-their-distribution#hid4"
23+
24+
proof_id: "P185"
25+
shortcut: "pdf-sifct"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X$ be a [continuous](/D/rvar-disc) [random variable](/D/rvar) with possible outcomes $\mathcal{X}$ and let $g(x)$ be a strictly increasing function on the support of $X$. Then, the [probability density function](/D/pdf) of $Y = g(X)$ is given by
31+
32+
$$ \label{eq:pdf-sifct}
33+
f_Y(y) = \left\{
34+
\begin{array}{rl}
35+
f_X(g^{-1}(y)) \, \frac{\mathrm{d}g^{-1}(y)}{\mathrm{d}y} \; , & \text{if} \; y \in \mathcal{Y} \\
36+
0 \; , & \text{if} \; y \notin \mathcal{Y}
37+
\end{array}
38+
\right.
39+
$$
40+
41+
where $g^{-1}(y)$ is the inverse function of $g(x)$ and $\mathcal{Y}$ is the set of possible outcomes of $Y$:
42+
43+
$$ \label{eq:Y-range}
44+
\mathcal{Y} = \left\lbrace y = g(x): x \in \mathcal{X} \right\rbrace \; .
45+
$$
46+
47+
48+
**Proof:** The [cumulative distribution function of a strictly increasing function](/P/cdf-sifct) is
49+
50+
$$ \label{eq:cdf-sifct}
51+
F_Y(y) = \left\{
52+
\begin{array}{rl}
53+
0 \; , & \text{if} \; y < \mathrm{min}(\mathcal{Y}) \\
54+
F_X(g^{-1}(y)) \; , & \text{if} \; y \in \mathcal{Y} \\
55+
1 \; , & \text{if} \; y > \mathrm{max}(\mathcal{Y})
56+
\end{array}
57+
\right.
58+
$$
59+
60+
Because the [probability density function is the first derivative of the cumulative distribution function](/P/pdf-cdf)
61+
62+
$$ \label{eq:pdf-cdf}
63+
f_X(x) = \frac{\mathrm{d}F_X(x)}{\mathrm{d}x} \; ,
64+
$$
65+
66+
the [probability density function](/D/pdf) of $Y$ can be derived as follows:
67+
68+
1) If $y$ does not belong to the support of $Y$, $F_Y(y)$ is constant, such that
69+
70+
$$ \label{eq:pdf-sifct-p1}
71+
f_Y(y) = 0, \quad \text{if} \quad y \notin \mathcal{Y} \; .
72+
$$
73+
74+
2) If $y$ belongs to the support of $Y$, then $f_Y(y)$ can be derived using the chain rule:
75+
76+
\begin{equation} \label{eq:pdf-sifct-p2}
77+
\begin{split}
78+
f_Y(y) &\overset{\eqref{eq:pdf-cdf}}{=} \frac{\mathrm{d}}{\mathrm{d}y} F_Y(y) \\
79+
&\overset{\eqref{eq:cdf-sifct}}{=} \frac{\mathrm{d}}{\mathrm{d}y} F_X(g^{-1}(y)) \\
80+
&= f_X(g^{-1}(y)) \, \frac{\mathrm{d}g^{-1}(y)}{\mathrm{d}y} \; .
81+
\end{split}
82+
\end{equation}
83+
84+
Taking together \eqref{eq:pdf-sifct-p1} and \eqref{eq:pdf-sifct-p2}, eventually proves \eqref{eq:pdf-sifct}.

P/pmf-sifct.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
layout: proof
3+
mathjax: true
4+
5+
author: "Joram Soch"
6+
affiliation: "BCCN Berlin"
7+
e_mail: "joram.soch@bccn-berlin.de"
8+
date: 2020-10-29 05:55:00
9+
10+
title: "Probability mass function of a strictly increasing function of a discrete random variable"
11+
chapter: "General Theorems"
12+
section: "Probability theory"
13+
topic: "Probability functions"
14+
theorem: "Probability mass function of strictly increasing function"
15+
16+
sources:
17+
- authors: "Taboga, Marco"
18+
year: 2017
19+
title: "Functions of random variables and their distribution"
20+
in: "Lectures on probability and mathematical statistics"
21+
pages: "retrieved on 2020-10-29"
22+
url: "https://www.statlect.com/fundamentals-of-probability/functions-of-random-variables-and-their-distribution#hid3"
23+
24+
proof_id: "P184"
25+
shortcut: "pmf-sifct"
26+
username: "JoramSoch"
27+
---
28+
29+
30+
**Theorem:** Let $X$ be a [discrete](/D/rvar-disc) [random variable](/D/rvar) with possible outcomes $\mathcal{X}$ and let $g(x)$ be a strictly increasing function on the support of $X$. Then, the [probability mass function](/D/pmf) of $Y = g(X)$ is given by
31+
32+
$$ \label{eq:pmf-sifct}
33+
f_Y(y) = \left\{
34+
\begin{array}{rl}
35+
f_X(g^{-1}(y)) \; , & \text{if} \; y \in \mathcal{Y} \\
36+
0 \; , & \text{if} \; y \notin \mathcal{Y}
37+
\end{array}
38+
\right.
39+
$$
40+
41+
where $g^{-1}(y)$ is the inverse function of $g(x)$ and $\mathcal{Y}$ is the set of possible outcomes of $Y$:
42+
43+
$$ \label{eq:Y-range}
44+
\mathcal{Y} = \left\lbrace y = g(x): x \in \mathcal{X} \right\rbrace \; .
45+
$$
46+
47+
48+
**Proof:** Because a strictly increasing function is invertible, the [probability mass function](/D/pmf) of $Y$ can be derived as follows:
49+
50+
$$ \label{eq:pmf-sifct-qed}
51+
\begin{split}
52+
f_Y(y) &= \mathrm{Pr}(Y = y) \\
53+
&= \mathrm{Pr}(g(X) = y) \\
54+
&= \mathrm{Pr}(X = g^{-1}(y)) \\
55+
&= f_X(g^{-1}(y)) \; .
56+
\end{split}
57+
$$

0 commit comments

Comments
 (0)