Repository navigation
Commit 6de87b7
Add policy_counterfactuals and policy_regimes lectures; correct markov_jump_lq Riccati equations (#392)
* Add policy_counterfactuals lecture: McKay-Wolf counterfactuals and invertibility
New lecture placed after induced_priors. It adds a price-stabilizing tax rule
to the supply_demand_var market and uses the extended market as a laboratory
for McKay and Wolf (2023):
- solves the market in sequence space and verifies McKay-Wolf Proposition 1
exactly, with comparisons to Sims-Zha and to Leeper-Zha's "modest policy
interventions", and least-squares approximation with few policy shocks
- shows that a price-stabilizing rule is observationally equivalent (for
prices and quantities) to more flexible suppliers, and uses this to explain
why invertibility of the supply shock depends on the policy rule
- contrasts a structural modeler's induced prior over the counterfactual with
McKay-Wolf sufficient statistics
- sorts procedures by whether they need invertibility: external instruments
recover the supply-shock response that VAR rotations cannot; the Wold-route
counterfactual second moments are exact only under invertibility
- relates McKay-Wolf to the dynamic programming squared lectures (calvo,
calvo_abreu, dyn_stack, opt_tax_recur, dovis_accounting_mf) and states the
credibility, belief-neutrality, linearity, and rules-versus-institutions
assumptions behind their counterfactuals
- exercises on optimal policy, time inconsistency, Wold-route errors,
zeroing-out counterfactuals, and sign restrictions under different rules
Also adds cross-references from supply_demand_var and induced_priors, a TOC
entry, and bibliography entries for McKay-Wolf, Lucas (1976), Sims-Zha,
Leeper-Zha, Stock-Watson, Plagborg-Moller-Wolf, Bernanke-Gertler-Watson, and
Svensson.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* policy_counterfactuals: address review comments (style manual, accuracy)
- figures: add mystnb captions/names to main-text figures; drop embedded
titles and explicit figsize on single-axis figures; lw=2 on line charts
- notation: plain letters for stacked time paths instead of bold, with the
convention stated once; \mathbb{E} for expectations (also in
supply_demand_var, for consistency between the two lectures)
- citations: {cite:t} where author names are part of the sentence
- bib: add DOIs to the eight new entries; type Plagborg-Møller directly
- overview: condense the "two responses to the Lucas critique" subsection
to a pointer to the full treatment in pc_dp2
- bold only for definitions
- reuse a single rng
- correct the description of how the Sims-Zha error varies with g_s, and
name the denominators of the Sims-Zha error figures in the summary table
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Add policy_regimes lecture; revise policy_counterfactuals and markov_jump_lq
policy_regimes (new): a supply-demand market whose tax rule switches
regimes by a Markov chain, solved as a Markov jump LQ planning problem
with a correct linked-Riccati solver. Covers the two levels of the Lucas
critique, reversible vs permanent reforms, McKay-Wolf counterfactuals
from regime-switching data, and VARs fit to regime-switching data.
policy_counterfactuals: rule-based scenario analysis section, a pointer
to policy_regimes, corrections from fresh-eyes reviews (uniqueness
assumption, cost-parameter equivalence, limited-shock errors, relative
error scales), trimmed repetition, voice and style fixes, and citations
for Romer-Romer, Gertler-Karadi, and Ben Zeev-Khan.
markov_jump_lq: correct the Bellman equation and linked Riccati formula
(conditional expectation of next-period value matrices inside the
inverse), fix sign and transpose errors, note that quantecon.LQMarkov
currently implements the averaged recursion, and combine looped figures
into multi-panel figures.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: thomassargent30 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>1 parent 9722b22 commit 6de87b7
7 files changed
Lines changed: 2906 additions & 88 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3335 | 3335 | | |
3336 | 3336 | | |
3337 | 3337 | | |
| 3338 | + | |
| 3339 | + | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
| 3364 | + | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
| 3384 | + | |
| 3385 | + | |
| 3386 | + | |
| 3387 | + | |
| 3388 | + | |
| 3389 | + | |
| 3390 | + | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
| 3396 | + | |
| 3397 | + | |
| 3398 | + | |
| 3399 | + | |
| 3400 | + | |
| 3401 | + | |
| 3402 | + | |
| 3403 | + | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
| 3412 | + | |
| 3413 | + | |
| 3414 | + | |
| 3415 | + | |
| 3416 | + | |
| 3417 | + | |
| 3418 | + | |
| 3419 | + | |
| 3420 | + | |
| 3421 | + | |
| 3422 | + | |
| 3423 | + | |
| 3424 | + | |
| 3425 | + | |
| 3426 | + | |
| 3427 | + | |
| 3428 | + | |
| 3429 | + | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
| 3438 | + | |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
| 3443 | + | |
| 3444 | + | |
| 3445 | + | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
| 3449 | + | |
| 3450 | + | |
| 3451 | + | |
| 3452 | + | |
| 3453 | + | |
| 3454 | + | |
| 3455 | + | |
| 3456 | + | |
| 3457 | + | |
| 3458 | + | |
| 3459 | + | |
| 3460 | + | |
| 3461 | + | |
| 3462 | + | |
| 3463 | + | |
| 3464 | + | |
| 3465 | + | |
| 3466 | + | |
| 3467 | + | |
| 3468 | + | |
| 3469 | + | |
| 3470 | + | |
| 3471 | + | |
| 3472 | + | |
| 3473 | + | |
| 3474 | + | |
| 3475 | + | |
| 3476 | + | |
| 3477 | + | |
| 3478 | + | |
| 3479 | + | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
| 3502 | + | |
| 3503 | + | |
| 3504 | + | |
| 3505 | + | |
| 3506 | + | |
| 3507 | + | |
| 3508 | + | |
| 3509 | + | |
| 3510 | + | |
| 3511 | + | |
| 3512 | + | |
| 3513 | + | |
| 3514 | + | |
| 3515 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
995 | 995 | | |
996 | 996 | | |
997 | 997 | | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
998 | 1004 | | |
999 | 1005 | | |
1000 | 1006 | | |
| |||
0 commit comments