Skip to content

Commit 95e9de3

Browse files
authored
Merge pull request #32 from QuantEcon/fix-kalman2
[Kalman] Fix minor issues in two Kalman Lectures
2 parents 9d2760e + a4fcdee commit 95e9de3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lectures/kalman.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ from scipy.linalg import eigvals
8989

9090
对于任意区域 $E$,积分 $\int_E p(x)dx$ 给出了我们认为导弹在该区域内的概率。
9191

92-
密度 $p$ 被称为随机变量 $x$ 的*先验*
92+
密度 $p$ 被称为随机变量 $x$ 的*先验分布*
9393

9494
为了使我们的例子便于处理,我们假设我们的先验分布是高斯分布。
9595

lectures/kalman_2.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ def cjk(text):
8888
:label: worker_model
8989
9090
\begin{aligned}
91-
h_{t+1} &= \alpha h_t + \beta u_t + c w_{t+1}, \quad c_{t+1} \sim {\mathcal N}(0,1) \\
91+
h_{t+1} &= \alpha h_t + \beta u_t + c w_{t+1}, \quad w_{t+1} \sim {N}(0,1) \\
9292
u_{t+1} & = u_t \\
93-
y_t & = g h_t + v_t , \quad v_t \sim {\mathcal N} (0, R)
93+
y_t & = g h_t + v_t , \quad v_t \sim {N} (0, R)
9494
\end{aligned}
9595
```
9696

@@ -99,8 +99,8 @@ y_t & = g h_t + v_t , \quad v_t \sim {\mathcal N} (0, R)
9999
* $h_t$ 是时间 $t$ 时的人力资本对数
100100
* $u_t$ 是时间 $t$ 时劳动者投入人力资本积累的努力程度的对数
101101
* $y_t$ 是时间 $t$ 时劳动者产出的对数
102-
* $h_0 \sim {\mathcal N}(\hat h_0, \sigma_{h,0})$
103-
* $u_0 \sim {\mathcal N}(\hat u_0, \sigma_{u,0})$
102+
* $h_0 \sim {N}(\hat h_0, \sigma_{h,0})$
103+
* $u_0 \sim {N}(\hat u_0, \sigma_{u,0})$
104104

105105
模型的参数包括 $\alpha, \beta, c, R, g, \hat h_0, \hat u_0, \sigma_h, \sigma_u$。
106106

@@ -110,7 +110,7 @@ y_t & = g h_t + v_t , \quad v_t \sim {\mathcal N} (0, R)
110110

111111
在时间 $0$ 开始时,公司既无法观察到劳动者的初始人力资本 $h_0$,也无法观察到其固有的永久努力水平 $u_0$。
112112

113-
公司认为特定劳动者的 $u_0$ 服从高斯概率分布,因此由 $u_0 \sim {\mathcal N}(\hat u_0, \sigma_{u,0})$ 描述。
113+
公司认为特定劳动者的 $u_0$ 服从高斯概率分布,因此由 $u_0 \sim {N}(\hat u_0, \sigma_{u,0})$ 描述。
114114

115115
劳动者"类型"中的 $h_t$ 部分随时间变化,但努力程度部分 $u_t = u_0$ 保持不变。
116116

@@ -156,7 +156,7 @@ y_t & = \begin{bmatrix} g & 0 \end{bmatrix} \begin{bmatrix} h_{t} \cr u_{t} \end
156156
\begin{aligned}
157157
x_{t+1} & = A x_t + C w_{t+1} \cr
158158
y_t & = G x_t + v_t \cr
159-
x_0 & \sim {\mathcal N}(\hat x_0, \Sigma_0)
159+
x_0 & \sim {N}(\hat x_0, \Sigma_0)
160160
\end{aligned}
161161
```
162162

0 commit comments

Comments
 (0)