Skip to content

Commit 98b23d7

Browse files
committed
Added figure to SMM.md
1 parent 8e5f959 commit 98b23d7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/book/struct_est/SMM.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,15 @@ In this section, we will use SMM to estimate parameters of the models from the {
317317
(SecSMM_CodeExmp_MacrTest)=
318318
### Fitting a truncated normal to intermediate macroeconomics test scores
319319

320-
Let's revisit the problem from the MLE and GMM notebooks of fitting a truncated normal distribution to intermediate macroeconomics test scores. The data are in the text file `Econ381totpts.txt`. Recall that these test scores are between 0 and 450. The figure below shows a histogram of the data, as well as three truncated normal PDF's. The black line is the ML estimate of $\mu$ and $\sigma$ of the truncated normal pdf. The red and the green lines are just the PDF's of two "arbitrarily" chosen combinations of the truncated normal parameters $\mu$ and $\sigma$.
320+
Let's revisit the problem from the MLE and GMM notebooks of fitting a truncated normal distribution to intermediate macroeconomics test scores. The data are in the text file [`Econ381totpts.txt`](https://github.com/OpenSourceEcon/CompMethods/blob/main/data/smm/Econ381totpts.txt). Recall that these test scores are between 0 and 450. The figure below shows a histogram of the data, as well as three truncated normal PDF's with different values for $\mu$ and $\sigma$. The black line is the maximum likelihood estimate of $\mu$ and $\sigma$ of the truncated normal pdf from the {ref}`Chap_MaxLikeli` chapter. The red and the green lines are just the PDF's of two "arbitrarily" chosen combinations of the truncated normal parameters $\mu$ and $\sigma$.
321+
322+
```{figure} ../../../images/smm/MLEplots.png
323+
---
324+
height: 500px
325+
name: FigMLEplots
326+
---
327+
Macroeconomic midterm scores and three truncated normal distributions
328+
```
321329

322330

323331
(SecSMM_CodeExmp_BM72)=

0 commit comments

Comments
 (0)