Skip to content

Commit 4555031

Browse files
committed
update_exercise_fix
1 parent a242004 commit 4555031

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

lectures/heavy_tails.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,30 @@ $$ G_P(x) = x^{- \alpha} $$
424424

425425
This function goes to zero as $x \to \infty$, but much slower than $G_E$.
426426

427+
```{exercise}
428+
:label: ht_ex_x1
429+
430+
Show how the CCDF of the Pareto distribution can be derived from the CCDF of the exponential distribution.
431+
```
432+
433+
```{solution-start} ht_ex_x1
434+
:class: dropdown
435+
```
436+
Letting $G_E$ and $G_P$ be defined as above yields
437+
438+
$$
439+
\begin{aligned}
440+
G_P(y) & = \mathbb P\{Y > y\} \\
441+
& = \mathbb P\{\exp(X) > y\} \\
442+
& = \mathbb P\{X > \ln y\} \\
443+
& = G_E(\ln y) \\
444+
& = \exp( - \alpha \ln y) \\
445+
& = y^{-\alpha}
446+
\end{aligned}
447+
$$
448+
```{solution-end}
449+
```
450+
427451
Here's a plot that illustrates how $G_E$ goes to zero faster than $G_P$.
428452

429453
```{code-cell} ipython3

0 commit comments

Comments
 (0)