Skip to content

Commit d58fc29

Browse files
mmckyclaude
andauthored
[action-translation] resync: ge_arrow.md (#112)
* 🔄 resync ge_arrow.md * Restore trailing newline (engine issue tracked in QuantEcon/action-translation#116) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent fc4c40d commit d58fc29

2 files changed

Lines changed: 37 additions & 3 deletions

File tree

.translate/state/ge_arrow.md.yml

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

lectures/ge_arrow.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,35 @@ kernelspec:
1010
display_name: Python 3 (ipykernel)
1111
language: python
1212
name: python3
13+
translation:
14+
title: 带有阿罗证券的竞争均衡
15+
headings:
16+
Introduction: 引言
17+
The setting: 设定
18+
The setting::Preferences and endowments: 偏好和禀赋
19+
Recursive Formulation: 递归表述
20+
State Variable Degeneracy: 状态变量退化
21+
Markov Asset Prices: 马尔可夫资产价格
22+
Markov Asset Prices::Exogenous Pricing Kernel: 外生定价核
23+
Markov Asset Prices::Multi-Step-Forward Transition Probabilities and Pricing Kernels: 多步前向转移概率和定价核
24+
Markov Asset Prices::Laws of Iterated Expectations and Iterated Values: 迭代期望法则和迭代值法则
25+
General Equilibrium: 一般均衡
26+
General Equilibrium::Inputs: 输入
27+
General Equilibrium::Outputs: 输出
28+
General Equilibrium::$Q$ is the Pricing Kernel: $Q$ 是定价核
29+
General Equilibrium::Values: 数值
30+
General Equilibrium::Continuation Wealth: 延续财富
31+
General Equilibrium::Optimal Portfolios: 最优投资组合
32+
General Equilibrium::Equilibrium Wealth Distribution $\alpha$: 均衡财富分布 $\alpha$
33+
Finite Horizon: 有限期限
34+
Finite Horizon::Continuation Wealths: 延续财富
35+
Python Code: Python代码
36+
Examples: 示例
37+
Examples::Example 1: 示例 1
38+
Examples::Example 2: 示例 2
39+
Examples::Example 3: 示例 3
40+
Examples::Example 4: 示例 4
41+
Examples::Finite Horizon Example: 有限期限示例
1342
---
1443

1544
# 带有阿罗证券的竞争均衡
@@ -854,15 +883,15 @@ class RecurCompetitive:
854883
def price_risk_free_bond(self):
855884
"给定Q,计算一期无风险债券价格"
856885
857-
PRF = np.sum(self.Q, 0)
886+
PRF = np.sum(self.Q, axis=1)
858887
self.PRF = PRF
859888
860889
return PRF
861890
862891
def risk_free_rate(self):
863892
"给定Q,计算一期无风险利率R"
864893
865-
R = np.sum(self.Q, 0)
894+
R = np.sum(self.Q, axis=1)
866895
R = np.reciprocal(R)
867896
self.R = R
868897
@@ -1272,4 +1301,3 @@ ex1.ψ, ex1_large.ψ[-1]
12721301
ex1_large.value_functionss()
12731302
ex1.J, ex1_large.J[-1]
12741303
```
1275-

0 commit comments

Comments
 (0)