Skip to content

Commit e609076

Browse files
committed
misc
1 parent 326b343 commit e609076

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

lectures/mccall_model.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -947,21 +947,24 @@ workers can protect themselves against downside risk by rejecting low offers.
947947

948948
This option value translates into higher expected lifetime utility.
949949

950-
To demonstrate this, we'll:
950+
To demonstrate this, we will:
951+
951952
1. Compute the reservation wage for each volatility level
952-
2. Simulate the worker's job search process following the optimal policy
953-
3. Calculate the expected discounted lifetime income
953+
3. Calculate the expected discounted value of the lifetime income stream
954+
associated with that reservation wage, using Monte Carlo.
955+
956+
The simulation works as follows:
954957

955-
The simulation works as follows: we draw 100 wage offers and track the worker's
956-
earnings at each date. The worker accepts the first offer that exceeds their
957-
reservation wage and earns that wage in all subsequent periods. We then compute
958-
the discounted sum of earnings over these 100 periods.
958+
1. Compute the present discounted value of one lifetime earnings path, from a given wage path.
959+
2. Average over a large number of such calculations to approximate expected discounted value.
960+
961+
We truncate each path at $T=100$, which provides sufficient resolution for our purposes.
959962

960963
```{code-cell} ipython3
961964
@jax.jit
962965
def simulate_lifetime_value(key, model, w_bar, n_periods=100):
963966
"""
964-
Simulate one realization of the job search and compute lifetime value.
967+
Simulate one realization of the wage path and compute lifetime value.
965968
966969
Parameters:
967970
-----------
@@ -1081,9 +1084,6 @@ The plot confirms that despite workers setting higher reservation wages when fac
10811084
more volatile wage offers (as shown above), they achieve higher expected lifetime
10821085
values due to the option value of search.
10831086

1084-
This demonstrates a key insight from the McCall model: volatility in wage offers
1085-
benefits workers who can optimally time their job acceptance decision.
1086-
10871087

10881088
## Exercises
10891089

0 commit comments

Comments
 (0)