GitHub

Original file line numberDiff line numberDiff line change

@@ -116,10 +116,10 @@ $$

116116

Using the laws of probability, we can always factor such a joint density into a product of conditional densities:

117117
118118

$$

119-

\begin{align}

119+

\begin{aligned}

120120

p(W_T, W_{T-1}, \ldots, W_1, W_0) = & p(W_T | W_{T-1}, \ldots, W_0) p(W_{T-1} | W_{T-2}, \ldots, W_0) \cdots \cr

121121

& \quad \quad \cdots p(W_1 | W_0) p(W_0)

122-

\end{align}

122+

\end{aligned}

123123

$$

124124
125125

In general,

Original file line numberDiff line numberDiff line change

@@ -195,8 +195,8 @@ Temporarily pessimistic believe the transition matrix

195195

$$

196196

P_p =

197197

\begin{bmatrix}

198-

\frac{1}{2} & \frac{1}{2} \\

199-

\frac{1}{4} & \frac{3}{4}

198+

\frac{2}{3} & \frac{1}{3} \\

199+

\frac{2}{3} & \frac{1}{3}

200200

\end{bmatrix}

201201

$$

202202
Original file line numberDiff line numberDiff line change

@@ -141,8 +141,7 @@ To form the matrices $R, Q, N$ in an LQ dynamic programming problem, we note tha

141141

time $t$ function can be expressed

142142
143143

$$

144-

\begin{equation}

145-

\begin{split}

144+

\begin{aligned}

146145

\pi_{t} =&p_{t}S_{t}-c\left(Q_{t}\right)-d\left(I_{t},S_{t}\right) \\

147146

=&\left(a_{0}-a_{1}S_{t}+v_{t}\right)S_{t}-c_{1}Q_{t}-c_{2}Q_{t}^{2}-d_{1}I_{t}-d_{2}\left(S_{t}-I_{t}\right)^{2} \\

148147

=&a_{0}S_{t}-a_{1}S_{t}^{2}+Gz_{t}S_{t}-c_{1}Q_{t}-c_{2}Q_{t}^{2}-d_{1}I_{t}-d_{2}S_{t}^{2}-d_{2}I_{t}^{2}+2d_{2}S_{t}I_{t} \\

@@ -170,8 +169,7 @@ Q_{t} & S_{t}\end{array}\right]\underset{\equiv N}{\underbrace{\left[\begin{arra

170169

I_{t}\\

171170

z_{t}

172171

\end{array}\right]\right)

173-

\end{split}

174-

\end{equation}

172+

\end{aligned}

175173

$$

176174
177175

where $S_{c}=\left[1,0\right]$.

Original file line numberDiff line numberDiff line change

@@ -563,7 +563,7 @@ In the module, the various updating, simulation and fixed point methods

563563

are wrapped in a class called `LQ`, which includes

564564
565565

* Instance data:

566-

* The required parameters $Q, R, A, B$ and optional parameters C, β, T, R_f, N specifying a given LQ model

566+

* The required parameters $Q, R, A, B$ and optional parameters $C, \beta, T, R_f, N$ specifying a given LQ model

567567

* set $T$ and $R_f$ to `None` in the infinite horizon case

568568

* set `C = None` (or zero) in the deterministic case

569569

* the value function and policy data

Read the original on github.com ↗