Skip to content

Commit bfbda4e

Browse files
jstacclaude
andcommitted
Standardize notation: Use capitals for random variables in Job Search I-V
Updated notation in Job Search lectures I-V to use uppercase letters for random variables and lowercase for realizations: - Job Search I (mccall_model.md): w_t → W_t in wage offer sequences - Job Search II (mccall_model_with_separation.md): w_t → W_t for wage offers - Job Search III (mccall_model_with_sep_markov.md): (s_t, w_t) → (S_t, W_t) for state variables - Job Search IV (mccall_fitted_vfi.md): Already using correct notation - Job Search V (mccall_persist_trans.md): w_t → W_t, z_t → Z_t, y_t → Y_t for wage components Lowercase notation remains for realizations in sums (e.g., sum_w v(w) q(w)) and for standard normal shocks (zeta_t, epsilon_t). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 60a9857 commit bfbda4e

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

lectures/mccall_model.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,19 @@ from quantecon.distributions import BetaBinomial
7777
```{index} single: Models; McCall
7878
```
7979

80-
An unemployed agent receives in each period a job offer at wage $w_t$.
80+
An unemployed agent receives in each period a job offer at wage $W_t$.
8181

8282
In this lecture, we adopt the following simple environment:
8383

84-
* The offer sequence $\{w_t\}_{t \geq 0}$ is IID, with $q(w)$ being the probability of observing wage $w$ in finite set $\mathbb{W}$.
85-
* The agent observes $w_t$ at the start of $t$.
86-
* The agent knows that $\{w_t\}$ is IID with common distribution $q$ and can use this when computing expectations.
84+
* The offer sequence $\{W_t\}_{t \geq 0}$ is IID, with $q(w)$ being the probability of observing wage $w$ in finite set $\mathbb{W}$.
85+
* The agent observes $W_t$ at the start of $t$.
86+
* The agent knows that $\{W_t\}$ is IID with common distribution $q$ and can use this when computing expectations.
8787

8888
(In later lectures, we will relax these assumptions.)
8989

9090
At time $t$, our agent has two choices:
9191

92-
1. Accept the offer and work permanently at constant wage $w_t$.
92+
1. Accept the offer and work permanently at constant wage $W_t$.
9393
1. Reject the offer, receive unemployment compensation $c$, and reconsider next period.
9494

9595
The agent is infinitely lived and aims to maximize the expected discounted
@@ -107,7 +107,7 @@ The smaller is $\beta$, the more the agent discounts future earnings relative to
107107

108108
The variable $y_t$ is income, equal to
109109

110-
* his/her wage $w_t$ when employed
110+
* his/her wage $W_t$ when employed
111111
* unemployment compensation $c$ when unemployed
112112

113113

lectures/mccall_model_with_sep_markov.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,8 @@ This is implemented via `jnp.searchsorted` on the precomputed cumulative sum
406406

407407
The function `update_agent` advances the agent's state by one period.
408408

409-
The agent's state is a pair $(s_t, w_t)$, where $s_t$ is employment status (0 if
410-
unemployed, 1 if employed) and $w_t$ is
409+
The agent's state is a pair $(S_t, W_t)$, where $S_t$ is employment status (0 if
410+
unemployed, 1 if employed) and $W_t$ is
411411

412412
* their current wage offer, if unemployed, or
413413
* their current wage, if employed.
@@ -569,10 +569,10 @@ fraction of time an agent spends unemployed over a long time series.
569569
We will see that these two values are approximately equal -- if fact they are
570570
exactly equal in the limit.
571571

572-
The reason is that the process $(s_t, w_t)$, where
572+
The reason is that the process $(S_t, W_t)$, where
573573

574-
- $s_t$ is the employment status and
575-
- $w_t$ is the wage
574+
- $S_t$ is the employment status and
575+
- $W_t$ is the wage
576576

577577
is Markovian, since the next pair depends only on the current pair and iid
578578
randomness, and ergodic.
@@ -595,7 +595,7 @@ In particular, the fraction of time a single agent spends unemployed (across all
595595
wage states) converges to the cross-sectional unemployment rate:
596596

597597
$$
598-
\lim_{T \to \infty} \frac{1}{T} \sum_{t=1}^{T} \mathbb{1}\{s_t = \text{unemployed}\} = \sum_{w=1}^{n} \pi(\text{unemployed}, w)
598+
\lim_{T \to \infty} \frac{1}{T} \sum_{t=1}^{T} \mathbb{1}\{S_t = \text{unemployed}\} = \sum_{w=1}^{n} \pi(\text{unemployed}, w)
599599
$$
600600

601601
This holds regardless of initial conditions -- provided that we burn in the

lectures/mccall_model_with_separation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ introducing a utility function $u$.
9090

9191
It satisfies $u'> 0$ and $u'' < 0$.
9292

93-
Wage offers $\{ w_t \}$ are IID with common distribution $q$.
93+
Wage offers $\{ W_t \}$ are IID with common distribution $q$.
9494

9595
The set of possible wage values is denoted by $\mathbb W$.
9696

@@ -106,9 +106,9 @@ If currently employed at wage $w$, the worker
106106
1. receives utility $u(w)$ from their current wage and
107107
1. is fired with some (small) probability $\alpha$, becoming unemployed next period.
108108

109-
If currently unemployed, the worker receives random wage offer $w_t$ and either accepts or rejects.
109+
If currently unemployed, the worker receives random wage offer $W_t$ and either accepts or rejects.
110110

111-
If he accepts, then he begins work immediately at wage $w_t$.
111+
If he accepts, then he begins work immediately at wage $W_t$.
112112

113113
If he rejects, then he receives unemployment compensation $c$.
114114

lectures/mccall_persist_trans.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,20 @@ from typing import NamedTuple
6868
Wages at each point in time are given by
6969

7070
$$
71-
w_t = \exp(z_t) + y_t
71+
W_t = \exp(Z_t) + Y_t
7272
$$
7373

7474
where
7575

7676
$$
77-
y_t \sim \exp(\mu + s \zeta_t)
77+
Y_t \sim \exp(\mu + s \zeta_t)
7878
\quad \text{and} \quad
79-
z_{t+1} = d + \rho z_t + \sigma \epsilon_{t+1}
79+
Z_{t+1} = d + \rho Z_t + \sigma \epsilon_{t+1}
8080
$$
8181

8282
Here $\{ \zeta_t \}$ and $\{ \epsilon_t \}$ are both IID and standard normal.
8383

84-
Here $\{y_t\}$ is a transitory component and $\{z_t\}$ is persistent.
84+
Here $\{Y_t\}$ is a transitory component and $\{Z_t\}$ is persistent.
8585

8686
As before, the worker can either
8787

@@ -327,7 +327,7 @@ at all state values.
327327

328328
Next, we study how mean unemployment duration varies with unemployment compensation.
329329

330-
For simplicity, we'll fix the initial state at $z_t = 0$.
330+
For simplicity, we'll fix the initial state at $Z_0 = 0$.
331331

332332
```{code-cell} ipython
333333
@jax.jit

0 commit comments

Comments
 (0)