QuantEcon · GitHub

Commit 0d8ef61

jstacclaudemmcky

authored

Add Job Search V lecture on risk-sensitive preferences (#760)

* Add new Job Search V lecture on risk-sensitive preferences This commit adds a new lecture on risk-sensitive preferences in the job search context, positioned after the fitted VFI lecture. The lecture introduces entropic risk-adjusted expectations and applies them to the McCall search model. Changes: - Add mccall_risk.md: New lecture on risk-sensitive preferences - Update _toc.yml: Insert mccall_risk after mccall_fitted_vfi - Renumber subsequent lectures (V→VI, VI→VII, VII→VIII, VIII→IX, IX→X) - mccall_persist_trans: V → VI - career: VI → VII - jv: VII → VIII - odu: VIII → IX - mccall_q: IX → X Key features of the new lecture: - Introduction to risk-sensitive preferences via entropic risk measure - Examples with Gaussian and Beta distributions - Mean-preserving spread analysis - Application to McCall job search model with risk aversion - Analysis of reservation wages and unemployment rates vs risk aversion - All code verified to run successfully with JAX 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Fix exercise admonition syntax and labels in mccall_risk - Convert first exercise from backtick to MyST curly brace syntax - Add labels to both exercises (mcr_ex0, mcr_ex1) - Add exercise references to solution-start directives - Add dropdown class to solutions for consistency - Ensure all exercise/solution pairs are properly matched * Clean up markdown cell separators in mccall_risk * Address @jstac feedback: hide pip output and remove print statements - Add :tags: [hide-output] to pip install cell - Remove print statements from Beta distribution example - Remove print loops for reservation wage values - Remove print loops for unemployment rate values * Fix spelling and grammar in mccall_risk lecture - Add parentheses around MGF abbreviation for clarity - Fix subject-verb agreement: change 'decrease' to 'decreases' --------- Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: Matt McKay <mmcky@users.noreply.github.com>

7 files changed

Lines changed: 777 additions & 5 deletions

File tree

  • lectures

Lines changed: 1 addition & 0 deletions

Original file line numberDiff line numberDiff line change

@@ -78,6 +78,7 @@ parts:

7878

- file: mccall_model_with_separation

7979

- file: mccall_model_with_sep_markov

8080

- file: mccall_fitted_vfi

81+

- file: mccall_risk

8182

- file: mccall_persist_trans

8283

- file: career

8384

- file: jv

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -18,7 +18,7 @@ kernelspec:

1818

</div>

1919

```

2020
21-

# Job Search VI: Modeling Career Choice

21+

# Job Search VII: Modeling Career Choice

2222
2323

```{index} single: Modeling; Career Choice

2424

```

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -18,7 +18,7 @@ kernelspec:

1818

</div>

1919

```

2020
21-

# {index}`Job Search VII: On-the-Job Search <single: Job Search VII: On-the-Job Search>`

21+

# {index}`Job Search VIII: On-the-Job Search <single: Job Search VIII: On-the-Job Search>`

2222
2323

```{index} single: Models; On-the-Job Search

2424

```

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -19,7 +19,7 @@ kernelspec:

1919

</div>

2020

```

2121
22-

# Job Search V: Persistent and Transitory Wage Shocks

22+

# Job Search VI: Persistent and Transitory Wage Shocks

2323
2424

```{include} _admonition/gpu.md

2525

```

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -11,7 +11,7 @@ kernelspec:

1111

name: python3

1212

---

1313
14-

# Job Search IX: Search with Q-Learning

14+

# Job Search X: Search with Q-Learning

1515
1616

## Overview

1717

Read the original on github.com ↗