Skip to content

Commit ea8a926

Browse files
authored
Fix minor typo in Making a Custom Statespace Model.ipynb. (pymc-devs#417)
Change x_{t+1} to x_t on the left-hand side and x_t to x_{t-1} on the right-hand side of eq (1).
1 parent 90e2b7a commit ea8a926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks/Making a Custom Statespace Model.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"\n",
7474
"The statespace module is designed to make it easy for users to create their own statespace models. At its core, a statspace model is just a system of two linear equatons:\n",
7575
"\n",
76-
"$$\\begin{align} x_{t+1} &= A_t x_t + c_t + R_t \\varepsilon_t, & \\varepsilon_t &\\sim N(0, Q_t) \\\\\n",
76+
"$$\\begin{align} x_{t} &= A_t x_{t-1} + c_t + R_t \\varepsilon_t, & \\varepsilon_t &\\sim N(0, Q_t) \\\\\n",
7777
"y_t &= Z_t x_t + d_t + \\eta_t, & \\eta_t &\\sim N(0, H_t) \\\\\n",
7878
"x_0 &\\sim N(\\bar x, P)\\end{align}$$\n",
7979
"\n",

0 commit comments

Comments
 (0)