Skip to content

Commit d7c0cd6

Browse files
authored
[olg] Translation Updates (#185)
1 parent 96f1b4c commit d7c0cd6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+446
-433
lines changed

lectures/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: Python数量经济学入门
1+
title: Python量化经济学入门
22
author: 托马斯·萨金特(Thomas J. Sargent)和约翰·斯塔胡斯基(John Stachurski)
33
logo: _static/qe-logo.png
44
description: 本课程是由托马斯·萨金特(Thomas J. Sargent)和约翰·斯塔胡斯基(John Stachurski)设计和撰写的计算经济学入门讲座。
Loading
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
digraph {
22
rankdir=LR
3-
Growth
4-
Stagnation
5-
Collapse
6-
Growth -> Growth [label=0.68]
7-
Growth -> Stagnation [label=0.12]
8-
Growth -> Collapse [label=0.20]
9-
Stagnation -> Stagnation [label=0.24]
10-
Stagnation -> Growth [label=0.50]
11-
Stagnation -> Collapse [label=0.26]
12-
Collapse -> Collapse [label=0.46]
13-
Collapse -> Stagnation [label=0.18]
14-
Collapse -> Growth [label=0.36]
3+
"增长"
4+
"停滞"
5+
"崩溃"
6+
"增长" -> "增长" [label=0.68]
7+
"增长" -> "停滞" [label=0.12]
8+
"增长" -> "崩溃" [label=0.20]
9+
"停滞" -> "停滞" [label=0.24]
10+
"停滞" -> "增长" [label=0.50]
11+
"停滞" -> "崩溃" [label=0.26]
12+
"崩溃" -> "崩溃" [label=0.46]
13+
"崩溃" -> "停滞" [label=0.18]
14+
"崩溃" -> "增长" [label=0.36]
1515
}
Loading

lectures/_static/lecture_specific/markov_chains_I/figures.ipynb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"name": "stdout",
1919
"output_type": "stream",
2020
"text": [
21-
"Requirement already satisfied: graphviz in /Users/mmcky/anaconda3/envs/quantecon/lib/python3.11/site-packages (0.20.3)\n"
21+
"Requirement already satisfied: graphviz in /home/humphrey/anaconda3/envs/quantecon/lib/python3.10/site-packages (0.20.3)\n"
2222
]
2323
}
2424
],
@@ -114,21 +114,21 @@
114114
"source": [
115115
"dot = Digraph(format='png')\n",
116116
"dot.attr(rankdir='LR')\n",
117-
"dot.node(\"Growth\")\n",
118-
"dot.node(\"Stagnation\")\n",
119-
"dot.node(\"Collapse\")\n",
117+
"dot.node(\"增长\")\n",
118+
"dot.node(\"停滞\")\n",
119+
"dot.node(\"崩溃\")\n",
120120
"\n",
121-
"dot.edge(\"Growth\", \"Growth\", label=\"0.68\")\n",
122-
"dot.edge(\"Growth\", \"Stagnation\", label=\"0.12\")\n",
123-
"dot.edge(\"Growth\", \"Collapse\", label=\"0.20\")\n",
121+
"dot.edge(\"增长\", \"增长\", label=\"0.68\")\n",
122+
"dot.edge(\"增长\", \"停滞\", label=\"0.12\")\n",
123+
"dot.edge(\"增长\", \"崩溃\", label=\"0.20\")\n",
124124
"\n",
125-
"dot.edge(\"Stagnation\", \"Stagnation\", label=\"0.24\")\n",
126-
"dot.edge(\"Stagnation\", \"Growth\", label=\"0.50\")\n",
127-
"dot.edge(\"Stagnation\", \"Collapse\", label=\"0.26\")\n",
125+
"dot.edge(\"停滞\", \"停滞\", label=\"0.24\")\n",
126+
"dot.edge(\"停滞\", \"增长\", label=\"0.50\")\n",
127+
"dot.edge(\"停滞\", \"崩溃\", label=\"0.26\")\n",
128128
"\n",
129-
"dot.edge(\"Collapse\", \"Collapse\", label=\"0.46\")\n",
130-
"dot.edge(\"Collapse\", \"Stagnation\", label=\"0.18\")\n",
131-
"dot.edge(\"Collapse\", \"Growth\", label=\"0.36\")\n",
129+
"dot.edge(\"崩溃\", \"崩溃\", label=\"0.46\")\n",
130+
"dot.edge(\"崩溃\", \"停滞\", label=\"0.18\")\n",
131+
"dot.edge(\"崩溃\", \"增长\", label=\"0.36\")\n",
132132
"\n",
133133
"dot\n",
134134
"\n",
@@ -146,7 +146,7 @@
146146
],
147147
"metadata": {
148148
"kernelspec": {
149-
"display_name": "Python 3 (ipykernel)",
149+
"display_name": "quantecon",
150150
"language": "python",
151151
"name": "python3"
152152
},
@@ -160,7 +160,7 @@
160160
"name": "python",
161161
"nbconvert_exporter": "python",
162162
"pygments_lexer": "ipython3",
163-
"version": "3.11.7"
163+
"version": "3.10.12"
164164
}
165165
},
166166
"nbformat": 4,
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
digraph {
22
rankdir=LR
3-
poor
4-
"middle class"
5-
rich
6-
poor -> poor [label=0.9]
7-
poor -> "middle class" [label=0.1]
8-
"middle class" -> poor [label=0.4]
9-
"middle class" -> "middle class" [label=0.4]
10-
"middle class" -> rich [label=0.2]
11-
rich -> poor [label=0.1]
12-
rich -> "middle class" [label=0.1]
13-
rich -> rich [label=0.8]
3+
"贫穷"
4+
"中产"
5+
"富裕"
6+
"贫穷" -> "贫穷" [label=0.9]
7+
"贫穷" -> "中产" [label=0.1]
8+
"中产" -> "贫穷" [label=0.4]
9+
"中产" -> "中产" [label=0.4]
10+
"中产" -> "富裕" [label=0.2]
11+
"富裕" -> "贫穷" [label=0.1]
12+
"富裕" -> "中产" [label=0.1]
13+
"富裕" -> "富裕" [label=0.8]
1414
}
Loading
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
digraph {
22
rankdir=LR
3-
poor
4-
"middle class"
5-
rich
6-
poor -> poor [label=1.0]
7-
"middle class" -> poor [label=0.1]
8-
"middle class" -> "middle class" [label=0.8]
9-
"middle class" -> rich [label=0.1]
10-
rich -> "middle class" [label=0.2]
11-
rich -> rich [label=0.8]
3+
"贫穷"
4+
"中产"
5+
"富裕"
6+
"贫穷" -> "贫穷" [label=1.0]
7+
"中产" -> "贫穷" [label=0.1]
8+
"中产" -> "中产" [label=0.8]
9+
"中产" -> "富裕" [label=0.1]
10+
"富裕" -> "中产" [label=0.2]
11+
"富裕" -> "富裕" [label=0.8]
1212
}
Loading
Loading

lectures/_static/lecture_specific/markov_chains_II/figures.ipynb

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,18 @@
6868
"source": [
6969
"dot = Digraph(format='png')\n",
7070
"dot.attr(rankdir='LR')\n",
71-
"dot.node(\"poor\")\n",
72-
"dot.node(\"middle class\")\n",
73-
"dot.node(\"rich\")\n",
71+
"dot.node(\"贫穷\")\n",
72+
"dot.node(\"中产\")\n",
73+
"dot.node(\"富裕\")\n",
7474
"\n",
75-
"dot.edge(\"poor\", \"poor\", label=\"0.9\")\n",
76-
"dot.edge(\"poor\", \"middle class\", label=\"0.1\")\n",
77-
"dot.edge(\"middle class\", \"poor\", label=\"0.4\")\n",
78-
"dot.edge(\"middle class\", \"middle class\", label=\"0.4\")\n",
79-
"dot.edge(\"middle class\", \"rich\", label=\"0.2\")\n",
80-
"dot.edge(\"rich\", \"poor\", label=\"0.1\")\n",
81-
"dot.edge(\"rich\", \"middle class\", label=\"0.1\")\n",
82-
"dot.edge(\"rich\", \"rich\", label=\"0.8\")\n",
75+
"dot.edge(\"贫穷\", \"贫穷\", label=\"0.9\")\n",
76+
"dot.edge(\"贫穷\", \"中产\", label=\"0.1\")\n",
77+
"dot.edge(\"中产\", \"贫穷\", label=\"0.4\")\n",
78+
"dot.edge(\"中产\", \"中产\", label=\"0.4\")\n",
79+
"dot.edge(\"中产\", \"富裕\", label=\"0.2\")\n",
80+
"dot.edge(\"富裕\", \"贫穷\", label=\"0.1\")\n",
81+
"dot.edge(\"富裕\", \"中产\", label=\"0.1\")\n",
82+
"dot.edge(\"富裕\", \"富裕\", label=\"0.8\")\n",
8383
"\n",
8484
"dot\n",
8585
"dot.render(filename='Irre_1')"
@@ -105,16 +105,16 @@
105105
"source": [
106106
"dot = Digraph(format='png')\n",
107107
"dot.attr(rankdir='LR')\n",
108-
"dot.node(\"poor\")\n",
109-
"dot.node(\"middle class\")\n",
110-
"dot.node(\"rich\")\n",
108+
"dot.node(\"贫穷\")\n",
109+
"dot.node(\"中产\")\n",
110+
"dot.node(\"富裕\")\n",
111111
"\n",
112-
"dot.edge(\"poor\", \"poor\", label=\"1.0\")\n",
113-
"dot.edge(\"middle class\", \"poor\", label=\"0.1\")\n",
114-
"dot.edge(\"middle class\", \"middle class\", label=\"0.8\")\n",
115-
"dot.edge(\"middle class\", \"rich\", label=\"0.1\")\n",
116-
"dot.edge(\"rich\", \"middle class\", label=\"0.2\")\n",
117-
"dot.edge(\"rich\", \"rich\", label=\"0.8\")\n",
112+
"dot.edge(\"贫穷\", \"贫穷\", label=\"1.0\")\n",
113+
"dot.edge(\"中产\", \"贫穷\", label=\"0.1\")\n",
114+
"dot.edge(\"中产\", \"中产\", label=\"0.8\")\n",
115+
"dot.edge(\"中产\", \"富裕\", label=\"0.1\")\n",
116+
"dot.edge(\"富裕\", \"中产\", label=\"0.2\")\n",
117+
"dot.edge(\"富裕\", \"富裕\", label=\"0.8\")\n",
118118
"\n",
119119
"dot\n",
120120
"dot.render(filename='Irre_2')"

lectures/_static/lecture_specific/networks/figures.ipynb

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,18 @@
109109
"source": [
110110
"dot = Digraph(format='png',engine = \"neato\")\n",
111111
"dot.attr(rankdir='LR')\n",
112-
"dot.node(\"poor\", pos='0,0!')\n",
113-
"dot.node(\"middle class\", pos='2,1!')\n",
114-
"dot.node(\"rich\", pos='4,0!')\n",
112+
"dot.node(\"贫困\", pos='0,0!')\n",
113+
"dot.node(\"中产\", pos='2,1!')\n",
114+
"dot.node(\"富裕\", pos='4,0!')\n",
115115
"\n",
116-
"dot.edge(\"poor\", \"poor\")\n",
117-
"dot.edge(\"poor\", \"middle class\")\n",
118-
"dot.edge(\"middle class\", \"poor\")\n",
119-
"dot.edge(\"middle class\", \"middle class\")\n",
120-
"dot.edge(\"middle class\", \"rich\")\n",
121-
"dot.edge(\"rich\", \"poor\")\n",
122-
"dot.edge(\"rich\", \"middle class\")\n",
123-
"dot.edge(\"rich\", \"rich\")\n",
116+
"dot.edge(\"贫困\", \"贫困\")\n",
117+
"dot.edge(\"贫困\", \"中产\")\n",
118+
"dot.edge(\"中产\", \"贫困\")\n",
119+
"dot.edge(\"中产\", \"中产\")\n",
120+
"dot.edge(\"中产\", \"富裕\")\n",
121+
"dot.edge(\"富裕\", \"贫困\")\n",
122+
"dot.edge(\"富裕\", \"中产\")\n",
123+
"dot.edge(\"富裕\", \"富裕\")\n",
124124
"\n",
125125
"dot\n",
126126
"dot.render(filename='poverty_trap_1')"
@@ -146,17 +146,17 @@
146146
"source": [
147147
"dot = Digraph(format='png',engine=\"neato\")\n",
148148
"dot.attr(rankdir='LR')\n",
149-
"dot.node(\"poor\", pos='0,0!')\n",
150-
"dot.node(\"middle class\", pos='2,1!')\n",
151-
"dot.node(\"rich\", pos='4,0!')\n",
149+
"dot.node(\"贫困\", pos='0,0!')\n",
150+
"dot.node(\"中产\", pos='2,1!')\n",
151+
"dot.node(\"富裕\", pos='4,0!')\n",
152152
"\n",
153-
"dot.edge(\"poor\", \"poor\")\n",
154-
"dot.edge(\"middle class\", \"poor\")\n",
155-
"dot.edge(\"middle class\", \"middle class\")\n",
156-
"dot.edge(\"middle class\", \"rich\")\n",
157-
"dot.edge(\"rich\", \"poor\")\n",
158-
"dot.edge(\"rich\", \"middle class\")\n",
159-
"dot.edge(\"rich\", \"rich\")\n",
153+
"dot.edge(\"贫困\", \"贫困\")\n",
154+
"dot.edge(\"中产\", \"贫困\")\n",
155+
"dot.edge(\"中产\", \"中产\")\n",
156+
"dot.edge(\"中产\", \"富裕\")\n",
157+
"dot.edge(\"富裕\", \"贫困\")\n",
158+
"dot.edge(\"富裕\", \"中产\")\n",
159+
"dot.edge(\"富裕\", \"富裕\")\n",
160160
"\n",
161161
"dot\n",
162162
"dot.render(filename='poverty_trap_2')"
@@ -191,18 +191,18 @@
191191
"dot = Digraph(format='png')\n",
192192
"\n",
193193
"dot.attr(rankdir='LR')\n",
194-
"dot.node(\"poor\")\n",
195-
"dot.node(\"middle class\")\n",
196-
"dot.node(\"rich\")\n",
194+
"dot.node(\"贫困\")\n",
195+
"dot.node(\"中产\")\n",
196+
"dot.node(\"富裕\")\n",
197197
"\n",
198-
"dot.edge(\"poor\", \"poor\", label='0.9')\n",
199-
"dot.edge(\"poor\", \"middle class\", label='0.1')\n",
200-
"dot.edge(\"middle class\", \"poor\", label='0.4')\n",
201-
"dot.edge(\"middle class\", \"middle class\", label='0.4')\n",
202-
"dot.edge(\"middle class\", \"rich\", label='0.2')\n",
203-
"dot.edge(\"rich\", \"poor\", label='0.1')\n",
204-
"dot.edge(\"rich\", \"middle class\", label='0.1')\n",
205-
"dot.edge(\"rich\", \"rich\", label='0.8')\n",
198+
"dot.edge(\"贫困\", \"贫困\", label='0.9')\n",
199+
"dot.edge(\"贫困\", \"中产\", label='0.1')\n",
200+
"dot.edge(\"中产\", \"贫困\", label='0.4')\n",
201+
"dot.edge(\"中产\", \"中产\", label='0.4')\n",
202+
"dot.edge(\"中产\", \"富裕\", label='0.2')\n",
203+
"dot.edge(\"富裕\", \"贫困\", label='0.1')\n",
204+
"dot.edge(\"富裕\", \"中产\", label='0.1')\n",
205+
"dot.edge(\"富裕\", \"富裕\", label='0.8')\n",
206206
"\n",
207207
"dot\n",
208208
"dot.render(filename='weighted')"
Loading
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
digraph {
22
rankdir=LR
3-
poor [pos="0,0!"]
4-
"middle class" [pos="2,1!"]
5-
rich [pos="4,0!"]
6-
poor -> poor
7-
poor -> "middle class"
8-
"middle class" -> poor
9-
"middle class" -> "middle class"
10-
"middle class" -> rich
11-
rich -> poor
12-
rich -> "middle class"
13-
rich -> rich
3+
"贫困" [pos="0,0!"]
4+
"中产" [pos="2,1!"]
5+
"富裕" [pos="4,0!"]
6+
"贫困" -> "贫困"
7+
"贫困" -> "中产"
8+
"中产" -> "贫困"
9+
"中产" -> "中产"
10+
"中产" -> "富裕"
11+
"富裕" -> "贫困"
12+
"富裕" -> "中产"
13+
"富裕" -> "富裕"
1414
}
Loading
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
digraph {
22
rankdir=LR
3-
poor [pos="0,0!"]
4-
"middle class" [pos="2,1!"]
5-
rich [pos="4,0!"]
6-
poor -> poor
7-
"middle class" -> poor
8-
"middle class" -> "middle class"
9-
"middle class" -> rich
10-
rich -> poor
11-
rich -> "middle class"
12-
rich -> rich
3+
"贫困" [pos="0,0!"]
4+
"中产" [pos="2,1!"]
5+
"富裕" [pos="4,0!"]
6+
"贫困" -> "贫困"
7+
"中产" -> "贫困"
8+
"中产" -> "中产"
9+
"中产" -> "富裕"
10+
"富裕" -> "贫困"
11+
"富裕" -> "中产"
12+
"富裕" -> "富裕"
1313
}
Loading
Loading
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
digraph {
22
rankdir=LR
3-
poor
4-
"middle class"
5-
rich
6-
poor -> poor [label=0.9]
7-
poor -> "middle class" [label=0.1]
8-
"middle class" -> poor [label=0.4]
9-
"middle class" -> "middle class" [label=0.4]
10-
"middle class" -> rich [label=0.2]
11-
rich -> poor [label=0.1]
12-
rich -> "middle class" [label=0.1]
13-
rich -> rich [label=0.8]
3+
"贫困"
4+
"中产"
5+
"富裕"
6+
"贫困" -> "贫困" [label=0.9]
7+
"贫困" -> "中产" [label=0.1]
8+
"中产" -> "贫困" [label=0.4]
9+
"中产" -> "中产" [label=0.4]
10+
"中产" -> "富裕" [label=0.2]
11+
"富裕" -> "贫困" [label=0.1]
12+
"富裕" -> "中产" [label=0.1]
13+
"富裕" -> "富裕" [label=0.8]
1414
}
Loading

0 commit comments

Comments
 (0)