Skip to content

Commit 2e57dfd

Browse files
authored
Merge branch 'main' into download-nb
2 parents 59d0e50 + f397e51 commit 2e57dfd

File tree

12 files changed

+1708
-175
lines changed

12 files changed

+1708
-175
lines changed

lectures/_toc.yml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format: jb-book
22
root: intro
33
parts:
4-
- caption: 基础工具
4+
- caption: 工具与技术
55
numbered: true
66
chapters:
77
- file: sir_model
@@ -11,6 +11,18 @@ parts:
1111
- file: svd_intro
1212
- file: var_dmd
1313
- file: newton_method
14+
- caption: 基础统计学
15+
numbered: true
16+
chapters:
17+
- file: prob_matrix
18+
- file: lln_clt
19+
- file: prob_meaning
20+
- file: multi_hyper
21+
- file: multivariate_normal
22+
- file: hoist_failure
23+
- file: back_prop
24+
- file: rand_resp
25+
- file: util_rand_resp
1426
- caption: 线性规划
1527
numbered: true
1628
chapters:
@@ -27,7 +39,7 @@ parts:
2739
- file: wealth_dynamics
2840
- file: kalman
2941
- file: kalman_2
30-
- caption: 搜索理论
42+
- caption: 搜索
3143
numbered: true
3244
chapters:
3345
- file: mccall_model
@@ -52,6 +64,12 @@ parts:
5264
- file: egm_policy_iter
5365
- file: ifp
5466
- file: ifp_advanced
67+
- caption: 贝叶斯定律
68+
numbered: true
69+
chapters:
70+
- file: bayes_nonconj
71+
- file: ar1_bayes
72+
- file: ar1_turningpts
5573
- caption: 信息论
5674
numbered: true
5775
chapters:
@@ -61,6 +79,7 @@ parts:
6179
- file: wald_friedman
6280
- file: exchangeable
6381
- file: likelihood_bayes
82+
- file: mix_model
6483
- file: navy_captain
6584
- caption: LQ控制
6685
numbered: true
@@ -80,6 +99,23 @@ parts:
8099
- file: markov_perf
81100
- file: uncertainty_traps
82101
- file: aiyagari
102+
- caption: 资产定价与金融
103+
numbered: true
104+
chapters:
105+
- file: markov_asset
106+
- file: ge_arrow
107+
- file: harrison_kreps
108+
- caption: 数据与实证
109+
numbered: true
110+
chapters:
111+
- file: pandas_panel
112+
- file: ols
113+
- file: mle
114+
- caption: 拍卖
115+
numbered: true
116+
chapters:
117+
- file: two_auctions
118+
- file: house_auction
83119
- caption: 其他
84120
numbered: true
85121
chapters:

lectures/harrison_kreps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ mca.stationary_distributions
138138
```
139139

140140
```{code-cell} ipython3
141-
mcb.平稳分布
141+
mcb.stationary_distributions
142142
```
143143

144144
$P_a$ 的平稳分布约为 $\pi_a = \begin{bmatrix} .57 & .43 \end{bmatrix}$。

lectures/house_auction.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -459,19 +459,19 @@ def check_terminal_condition(bid_info, p, v):
459459
```
460460

461461
```{code-cell} ipython3
462-
分配,获胜者列表,失败者列表 = 检查终止条件(出价信息, p, v)
462+
allocation, winner_list, loser_list = check_terminal_condition(bid_info, p, v)
463463
```
464464

465465
```{code-cell} ipython3
466466
present_dict(allocation)
467467
```
468468

469469
```{code-cell} ipython3
470-
获胜者列表
470+
winner_list
471471
```
472472

473473
```{code-cell} ipython3
474-
失败者列表
474+
loser_list
475475
```
476476

477477
### 第二轮
@@ -549,7 +549,7 @@ present_dict(bid_info)
549549
```
550550

551551
```{code-cell} ipython3
552-
分配,获胜者列表,失败者列表 = 检查终止条件(出价信息, p, v)
552+
allocation, winner_list, loser_list = check_terminal_condition(bid_info, p, v)
553553
```
554554

555555
```{code-cell} ipython3
@@ -571,7 +571,7 @@ present_dict(bid_info)
571571
```
572572

573573
```{code-cell} ipython3
574-
分配,获胜者列表,失败者列表 = 检查终止条件(出价信息, p, v)
574+
allocation, winner_list, loser_list = check_terminal_condition(bid_info, p, v)
575575
```
576576

577577
```{code-cell} ipython3

lectures/markov_asset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ consol_price(apm, ζ)
10091009
```
10101010
10111011
```{code-cell} ipython3
1012-
看涨期权(apm, ζ, p_s)
1012+
call_option(apm, ζ, p_s)
10131013
```
10141014
10151015
让我们将最后两个函数绘制成图表

lectures/multivariate_normal.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,6 @@ $$
789789
那么我们可以写作
790790

791791
```{math}
792-
793792
:label: mnv_1
794793
795794
\theta = \mu_{\theta} + c_1 \epsilon_1 + c_2 \epsilon_2 + \dots + c_n \epsilon_n + c_{n+1} \epsilon_{n+1}

lectures/ols.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ $$
520520
如果$\alpha$在统计上显著(p值<0.05),那么我们就拒绝原假设,得出$avexpr_i$是内生的结论。
521521
522522
使用上述信息,估算豪斯曼检验并解释你的结果。
523+
```
523524

524525
```{solution-start} ols_ex1
525526
:class: dropdown
@@ -589,6 +590,7 @@ $$
589590
使用上述信息,计算模型1中的 $\hat{\beta}$
590591
591592
使用 `numpy` - 你的结果应该与讲座前面 `statsmodels` 的输出结果相同。
593+
```
592594

593595
```{solution-start} ols_ex2
594596
:class: dropdown

0 commit comments

Comments
 (0)