Skip to content

Add Equalizing Difference Model #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lectures/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ parts:
chapters:
- file: pv
- file: cons_smooth
- file: equalizing_difference
- file: cagan_ree
- file: geom_series
- caption: Probability and Distributions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ kernelspec:
name: python3
---

+++ {"user_expressions": []}

### Equalizing Difference Model
# Equalizing Difference Model

This notebook presents a model of the college-high-school wage gap in which the
"time to build" a college graduate plays a key role.
Expand All @@ -31,8 +29,6 @@ import numpy as np
import matplotlib.pyplot as plt
```

+++ {"user_expressions": []}

Let

* $R > 0$ be the gross rate of return on a one-period bond
Expand Down Expand Up @@ -114,7 +110,7 @@ $$
$$


#### Tweaked Model: Workers and Entrepreneurs
## Tweaked Model: Workers and Entrepreneurs


We can add a parameter and reinterpret variables to get a model of entrepreuneurs versus workers.
Expand Down Expand Up @@ -165,7 +161,7 @@ class equalizing_diff:
return ϕ
```

+++ {"user_expressions": []}


We can build some functions to help do comparative statics using vectorization instead of loops.

Expand Down Expand Up @@ -216,7 +212,7 @@ gap1 = ex1.compute_gap()
print(gap1)
```

+++ {"user_expressions": []}


Let us plot $\phi$ against some parameters.

Expand Down