Skip to content

Commit 78b8ca7

Browse files
mmckyclaude
andauthored
[action-translation] resync: rational_expectations.md (#164)
* 🔄 resync rational_expectations.md * Restore trailing newline (engine issue tracked in QuantEcon/action-translation#116) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Add missing bibtex key Lucas_Prescott_1971 to fix dangling citation The resync of rational_expectations.md pulled in {cite}`Lucas_Prescott_1971` (3 uses) from upstream, but the shared quant-econ.bib was not synced, so the strict build (-W) failed on "could not find bibtex key". Entry copied verbatim from QuantEcon/lecture-python.myst. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 10ffa8c commit 78b8ca7

3 files changed

Lines changed: 61 additions & 21 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source-sha: a8966965b2649d470ea144150ca5fd5d520b5345
2+
synced-at: "2026-07-18"
3+
model: claude-sonnet-5
4+
mode: RESYNC
5+
section-count: 4
6+
tool-version: 0.17.0

lectures/_static/quant-econ.bib

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2645,3 +2645,14 @@ @article{fischer2024improving
26452645
journal={arXiv preprint arXiv:2410.16076},
26462646
year={2024}
26472647
}
2648+
2649+
@article{Lucas_Prescott_1971,
2650+
author = {Lucas, Robert E., Jr. and Prescott, Edward C.},
2651+
title = {Investment under Uncertainty},
2652+
journal = {Econometrica},
2653+
volume = {39},
2654+
number = {5},
2655+
pages = {659--681},
2656+
year = {1971}
2657+
}
2658+

lectures/rational_expectations.md

Lines changed: 44 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@ kernelspec:
77
display_name: Python 3
88
language: python
99
name: python3
10+
translation:
11+
title: 理性预期均衡
12+
headings:
13+
Overview: 概述
14+
Overview::The Big Y, little y Trick: 大 $Y$,小 $y$ 技巧
15+
Overview::The Big Y, little y Trick::A Simple Static Example of the Big Y, little y Trick: '"大 $Y$,小 $y$" 技巧的简单静态示例'
16+
Overview::Related Planning Problem: 相关的规划问题
17+
Overview::Further Reading: 延伸阅读
18+
Rational Expectations Equilibrium: 理性预期均衡
19+
Rational Expectations Equilibrium::Competitive Equilibrium with Adjustment Costs: 带调整成本的竞争均衡
20+
Rational Expectations Equilibrium::Competitive Equilibrium with Adjustment Costs::The Firm's Problem: 企业的问题
21+
Rational Expectations Equilibrium::Competitive Equilibrium with Adjustment Costs::Prices and Aggregate Output: 价格和总产出
22+
Rational Expectations Equilibrium::Competitive Equilibrium with Adjustment Costs::Representative Firm's Beliefs: 代表性企业的信念
23+
Rational Expectations Equilibrium::Competitive Equilibrium with Adjustment Costs::Optimal Behavior Given Beliefs: 给定信念下的最优行为
24+
Rational Expectations Equilibrium::Competitive Equilibrium with Adjustment Costs::Characterization with First-Order Necessary Conditions: 使用一阶必要条件的特征化
25+
Rational Expectations Equilibrium::Competitive Equilibrium with Adjustment Costs::The Actual Law of Motion for Output: 产出的实际动态规律
26+
Rational Expectations Equilibrium::Definition of Rational Expectations Equilibrium: 理性预期均衡的定义
27+
Rational Expectations Equilibrium::Definition of Rational Expectations Equilibrium::Fixed Point Characterization: 不动点表征
28+
Computing an Equilibrium: 计算均衡
29+
Computing an Equilibrium::Failure of Contractivity: 收缩性的失效
30+
Computing an Equilibrium::A Planning Problem Approach: 规划问题方法
31+
Computing an Equilibrium::Solution of Planning Problem: 规划问题的求解
32+
Computing an Equilibrium::Key Insight: 关键洞见
33+
Computing an Equilibrium::Key Insight::Structure of the Law of Motion: 动态规律的结构
34+
Exercises: 练习
1035
---
1136

1237
(ree)=
@@ -41,7 +66,7 @@ tags: [hide-output]
4166

4267
本讲义介绍*理性预期均衡*的概念。
4368

44-
为加以说明,我们描述了一个由Lucas和Prescott提出的线性二次模型的版本{cite}`LucasPrescott1971`
69+
为加以说明,我们描述了一个由Lucas和Prescott提出的线性二次模型的版本{cite}`Lucas_Prescott_1971`
4570

4671
这篇1971年的论文是引发*理性预期革命*的少数几篇研究文章之一。
4772

@@ -51,7 +76,7 @@ tags: [hide-output]
5176

5277
我们将学习代表性个体问题与计划者问题的差异,以及如何通过计划问题来求得理性预期均衡中的数量与价格。
5378

54-
我们还将学习如何将理性预期均衡表示为从*感知的动态规律**实际的动态规律*的映射的[不动点](https://baike.baidu.com/item/%E4%B8%8D%E5%8A%A8%E7%82%B9/8535695)
79+
我们还将学习如何将理性预期均衡表示为从*感知的动态规律**实际的动态规律*的映射的[不动点](https://en.wikipedia.org/wiki/Fixed_point_%28mathematics%29)
5580

5681
当市场内生变量的感知动态规律与实际动态规律相等时,即构成理性预期均衡的核心思想。
5782

@@ -137,7 +162,7 @@ p = a_0 - a_1 Y
137162

138163
$$
139164
c(y) = c_1 y + 0.5 c_2 y^2,
140-
\qquad c_i > 0, \quad i = 1,2
165+
\qquad c_i > 0 \text{ for } i = 1,2
141166
$$
142167

143168
一个代表性企业的利润是 $p y - c(y)$。
@@ -206,7 +231,7 @@ $$
206231

207232
本讲义的参考文献包括
208233

209-
* {cite}`LucasPrescott1971`
234+
* {cite}`Lucas_Prescott_1971`
210235
* {cite}`Sargent1987`, 第XIV章
211236
* {cite}`Ljungqvist2012`, 第7章
212237

@@ -311,7 +336,7 @@ Y_{t+1} = H(Y_t)
311336

312337
其中 $Y_0$ 是已知的初始条件。
313338

314-
*信念函数* $H$ 是一个均衡对象,因此还有待确定。
339+
**信念函数** $H$ 是一个均衡对象,因此还有待确定。
315340

316341
#### 给定信念下的最优行为
317342

@@ -358,13 +383,13 @@ h(y, Y) := \textrm{argmax}_{y'}
358383
-\gamma (y' - y) + \beta v_y(y', H(Y) ) = 0
359384
```
360385

361-
Benveniste-Scheinkman {cite}`BenvenisteScheinkman1979`包络定理表明,要对 $v$ 关于 $y$ 求导,我们可以直接对{eq}`comp4`右侧进行求导,得到
386+
Benveniste-Scheinkman {cite}`BenvenisteScheinkman1979`的一个重要且有用的包络定理表明,要对 $v$ 关于 $y$ 求导,我们可以直接对{eq}`comp4`右侧进行求导,得到
362387

363388
$$
364389
v_y(y,Y) = a_0 - a_1 Y + \gamma (y' - y)
365390
$$
366391

367-
将此方程代入 {eq}`comp5` 得到*欧拉方程*
392+
将此方程代入 {eq}`comp5` 得到**欧拉方程**
368393

369394
```{math}
370395
:label: ree_comp7
@@ -377,7 +402,7 @@ $$
377402
* 初始条件 $(y_0, Y_0)$,
378403
* 终端条件 $\lim_{t \rightarrow \infty } \beta^t y_t v_y(y_{t}, Y_t) = 0$。
379404

380-
最后这个条件被称为*横截条件*,其作用相当于"无穷远处"的一阶必要条件。
405+
最后这个条件被称为**横截条件**,其作用相当于"无穷远处"的一阶必要条件。
381406

382407
代表性企业的决策规则需在给定初始条件 $y_0$ 和横截条件下,求解差分方程 {eq}`ree_comp7`
383408

@@ -387,7 +412,7 @@ $$
387412

388413
如前所述,给定的信念会转化为特定的决策规则 $h$。
389414

390-
回想一下,在均衡中,由于 $Y_t = y_t$,市场整体产出的*实际动态规律*
415+
回想一下,在均衡中,由于 $Y_t = y_t$,市场整体产出的**实际动态规律**
391416

392417
```{math}
393418
:label: ree_comp9a
@@ -400,7 +425,7 @@ Y_{t+1} = h(Y_t, Y_t)
400425
(ree_def)=
401426
### 理性预期均衡的定义
402427

403-
在带调整成本的模型中,*理性预期均衡**递归竞争均衡*是一对决策规则 $h$ 和总体动态规律 $H$,使得:
428+
在带调整成本的模型中,**理性预期均衡****递归竞争均衡**是一对决策规则 $h$ 和总体动态规律 $H$,使得:
404429

405430
1. 在给定信念 $H$ 的情况下,映射 $h$ 是企业的最优政策函数。
406431
1. 运动规律 $H$ 满足对所有 $Y$ 都有 $H(Y)= h(Y,Y)$。
@@ -436,7 +461,7 @@ Y_{t+1} = h(Y_t, Y_t)
436461

437462
该方法利用了福利经济学基本定理中所表达的均衡与帕累托最优之间的联系(参见{cite}`MCWG1995`)。
438463

439-
Lucas和Prescott {cite}`LucasPrescott1971` 使用这种方法构建了理性预期均衡。
464+
Lucas和Prescott {cite}`Lucas_Prescott_1971` 使用这种方法构建了理性预期均衡。
440465

441466
以下是一些细节。
442467

@@ -465,7 +490,7 @@ s(Y_t, Y_{t+1})
465490

466491
第一项是需求曲线下的面积,而第二项衡量的是产出变化的社会成本。
467492

468-
*规划问题*是选择一个生产计划 $\{Y_t\}$ 来最大化
493+
**规划问题**是选择一个生产计划 $\{Y_t\}$ 来最大化
469494

470495
$$
471496
\sum_{t=0}^\infty \beta^t s(Y_t, Y_{t+1})
@@ -497,7 +522,6 @@ V(Y) = \max_{Y'}
497522
应用相同的Benveniste-Scheinkman公式得到
498523

499524
$$
500-
501525
V'(Y) = a_0 - a_1 Y + \gamma (Y' - Y)
502526
$$
503527

@@ -520,7 +544,7 @@ $$
520544
1. 找到代表性企业的欧拉方程,并且
521545
1. 代入 $Y_t = y_t$ 以确保代表性企业确实代表整个行业。
522546

523-
如果对这两个差分方程应用相同的终端条件,那么规划问题的解也就是理性预期均衡的产出序列
547+
如果对这两个差分方程应用相同的终端条件(事实也确实如此),那么我们就验证了规划问题的解也是理性预期均衡的产出序列
524548

525549
因此,对于这个例子,我们可以通过构建与贝尔曼方程{eq}`comp12`相应的最优线性调节器问题来计算均衡产出量。
526550

@@ -562,7 +586,7 @@ y_{t+1} = h_0 + h_1 y_t + h_2 Y_t
562586
563587
将企业的问题表述为一个贴现最优线性调节器问题,注意要详细描述所需的所有对象。
564588
565-
使用[QuantEcon.py](http://quantecon.org/quantecon-py)包中的`LQ`类来解决以下参数值的企业问题:
589+
使用[QuantEcon.py](https://quantecon.org/quantecon-py/)包中的`LQ`类来解决以下参数值的企业问题:
566590
567591
$$
568592
a_0= 100, a_1= 0.05, \beta = 0.95, \gamma=10, \kappa_0 = 95.5, \kappa_1 = 0.95
@@ -633,7 +657,7 @@ $$
633657

634658
参考代码:
635659

636-
```{code-cell} ipython3
660+
```{code-cell} python3
637661
# 模型参数
638662
639663
a0 = 100
@@ -721,7 +745,7 @@ $$
721745

722746
以下代码实现了这个检验
723747

724-
```{code-cell} ipython3
748+
```{code-cell} python3
725749
candidates = ((94.0886298678, 0.923409232937),
726750
(93.2119845412, 0.984323478873),
727751
(95.0818452486, 0.952459076301))
@@ -812,7 +836,7 @@ $$
812836

813837
解决此问题的Python代码如下:
814838

815-
```{code-cell} ipython3
839+
```{code-cell} python3
816840
# 构建规划者的LQ问题
817841
818842
A = np.array([[1, 0], [0, 1]])
@@ -874,7 +898,7 @@ $$
874898

875899
问题可以按如下方式求解:
876900

877-
```{code-cell} ipython3
901+
```{code-cell} python3
878902
A = np.array([[1, 0], [0, 1]])
879903
B = np.array([[1], [0]])
880904
R = np.array([[a1, -a0 / 2], [-a0 / 2, 0]])
@@ -905,5 +929,4 @@ $Y_{t+1} = 95.0818 + 0.9525 Y_t$。
905929
```{solution-end}
906930
```
907931

908-
[^fn_im]: 有一类文献研究:当模型中的个体具有学习行为时,这些个体是否能收敛到理性预期。该文献探讨的核心是对映射 $\Phi$ 的修正型迭代,其可近似表示为 $\gamma \Phi + (1-\gamma)I$。这里 $I$ 是恒等算子,$\gamma \in (0,1)$ 是一个*松弛参数*。参见 {cite}`MarcetSargent1989` 和 {cite}`EvansHonkapohja2001` 中关于这种方法的阐述和应用,该方法用于确定在什么条件下使用最小二乘学习的自适应代理群体会收敛到理性预期均衡。
909-
932+
[^fn_im]: 有一类文献研究:当模型中的个体具有学习行为时,这些个体是否能收敛到理性预期均衡。该文献探讨的核心是对映射 $\Phi$ 的修正型迭代,其可近似表示为 $\gamma \Phi + (1-\gamma)I$。这里 $I$ 是恒等算子,$\gamma \in (0,1)$ 是一个*松弛参数*。参见 {cite}`MarcetSargent1989` 和 {cite}`EvansHonkapohja2001` 中关于这种方法的阐述和应用,该方法用于确定在什么条件下使用最小二乘学习的自适应代理群体会收敛到理性预期均衡。

0 commit comments

Comments
 (0)