Skip to content

Commit a1303f4

Browse files
authored
Merge pull request #7 from rickecon/chaps
Merging
2 parents 3bc8d28 + 186bcab commit a1303f4

File tree

10 files changed

+903
-15
lines changed

10 files changed

+903
-15
lines changed

docs/book/_toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ parts:
3636
- caption: Appendix
3737
chapters:
3838
- file: appendix/glossary
39-
- file: appendix/intro
39+
- file: appendix/appendix
4040
- caption: References
4141
chapters:
4242
- file: CompMethods_references

docs/book/appendix/appendix.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
(Chap_Appendix)=
2+
# Appendix
3+
4+
Put Appendix intro here.
5+
6+
(SecAppendixTruncNormal)=
7+
## Truncated normal distribution
8+
9+
The truncated normal distribution with parameters $\mu$ and $\sigma$ and lower-bound cutoff $c_{lb}$ and upper-bound cutoff $c_{ub}$ is simply the normal distribution of values of the random variable $x$ defined only on the interval $x\in[c_{lb}, c_{ub}]$ rather than on the full real line. And the probability distribution function values are upweighted by the probability (less than one) under the normal distribution on the interval $[c_{lb}, c_{ub}]$.
10+
```{math}
11+
:label: EqAppendix_TruncNorm
12+
\text{truncated normal:}\quad &f(x|\mu,\sigma,c_{lb},c_{ub}) = \frac{\phi(x|\mu,\sigma)}{\Phi(c_{ub}|\mu,\sigma) - \Phi(c_{ub}|\mu,\sigma)} \\
13+
&\text{where}\quad \phi(x|\mu,\sigma) \equiv \frac{1}{\sqrt{2\pi\sigma^2}}e^{-\frac{x - \mu}{2\sigma^2}} \\
14+
&\text{and}\quad \Phi(x|\mu,\sigma) \equiv \int_{-\infty}^x\phi(x|\mu,\sigma) dx
15+
```
16+
17+
The function $\phi(x|\mu,\sigma)$ is the probability distribution function of the normal distribution with mean $\mu$ and variance $\sigma^2$. And the function $\Phi(x|\mu,\sigma)$ is the cummulative distribution function of the normal distribution with mean $\mu$ and variance $\sigma^2$.
18+
19+
20+
(SecAppendixFootnotes)=
21+
## Footnotes
22+
23+
The footnotes from this appendix.

docs/book/appendix/intro.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/book/struct_est/SMM.md

Lines changed: 877 additions & 4 deletions
Large diffs are not rendered by default.

docs/book/struct_est/intro.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,6 @@ A good introduction to structural estimation is to compare it to other types of
9898
(SecStructEstIntroFootnotes)=
9999
## Footnotes
100100

101+
The footnotes from this chapter.
102+
101103
[^MACSScourses]: I taught a course, entitled Structural Estimation, to graduate students, with a few advanced undergradutates, in the Masters in Computational Social Science program at the University of Chicago four times from 2017 to 2020. The content of each course is in the following GitHub repositories, with syllabi, lecture slides, Jupyter notebooks, tests, and problem sets: [Winter 2017](https://github.com/rickecon/StructEst_W17), [Winter 2018](https://github.com/rickecon/StructEst_W18), [Winter 2019](https://github.com/rickecon/StructEst_W19), and [Winter 2020](https://github.com/rickecon/StructEst_W20).

images/smm/Econ381_crit1.png

358 KB
Loading

images/smm/Econ381scores_sim1.png

175 KB
Loading

images/smm/Econ381scores_smm1.png

134 KB
Loading
238 KB
Loading

images/smm/MLEplots.png

-45 KB
Binary file not shown.

0 commit comments

Comments
 (0)