Skip to content

Commit 4ba467e

Browse files
committed
[mle] spelling and example admonition
- change 'log-normal' to 'lognormal' for consistency - add one example admonition.
1 parent d9c0bb6 commit 4ba467e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lectures/mle.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@ $$
3939

4040
where $w$ is wealth.
4141

42+
```{prf:example}
43+
:label: mle_ex_wt
4244
4345
For example, if $a = 0.05$, $b = 0.1$, and $\bar w = 2.5$, this means
4446
4547
* a 5% tax on wealth up to 2.5 and
4648
* a 10% tax on wealth in excess of 2.5.
4749
4850
The unit is 100,000, so $w= 2.5$ means 250,000 dollars.
49-
51+
```
5052
Let's go ahead and define $h$:
5153

5254
```{code-cell} ipython3
@@ -242,7 +244,7 @@ num = (ln_sample - μ_hat)**2
242244
σ_hat
243245
```
244246
245-
Let's plot the log-normal pdf using the estimated parameters against our sample data.
247+
Let's plot the lognormal pdf using the estimated parameters against our sample data.
246248
247249
```{code-cell} ipython3
248250
dist_lognorm = lognorm(σ_hat, scale = exp(μ_hat))

0 commit comments

Comments
 (0)