Skip to content

Commit 1fe9682

Browse files
jstacclaude
andcommitted
[time_series_with_matrices] Replace tilde A indirection with A^{-1}
Drops the relabeling block 'let \tilde A = A^{-1}' (it appeared twice) and uses A^{-1} directly in the population-moments and moving-average formulas. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 29b5e23 commit 1fe9682

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

lectures/time_series_with_matrices.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -370,14 +370,6 @@ $$
370370
371371
You can read about multivariate normal distributions in this lecture [Multivariate Normal Distribution](https://python.quantecon.org/multivariate_normal.html).
372372
373-
Let's write our model as
374-
375-
$$
376-
y = \tilde A (b + u)
377-
$$
378-
379-
where $\tilde A = A^{-1}$.
380-
381373
Because linear combinations of normal random variables are normal, we know that
382374
383375
$$
@@ -387,13 +379,13 @@ $$
387379
where
388380
389381
$$
390-
\mu_y = \tilde A b
382+
\mu_y = A^{-1} b
391383
$$
392384
393385
and
394386
395387
$$
396-
\Sigma_y = \tilde A (\sigma_u^2 I_{T \times T} ) \tilde A^T
388+
\Sigma_y = A^{-1} (\sigma_u^2 I_{T \times T} ) (A^{-1})^T
397389
$$
398390
399391
Let's write a Python class that computes the mean vector $\mu_y$ and covariance matrix $\Sigma_y$.
@@ -566,12 +558,10 @@ Since $A^{-1}$ is lower triangular, each row represents $ y_t$ for a particul
566558
- a time-dependent function $A^{-1} b$ of the initial conditions incorporated in $b$, and
567559
- a weighted sum of current and past values of the IID shocks $\{u_t\}$.
568560
569-
Thus, let $\tilde{A}=A^{-1}$.
570-
571561
Evidently, for $t\geq0$,
572562
573563
$$
574-
y_{t+1}=\sum_{i=1}^{t+1}\tilde{A}_{t+1,i}b_{i}+\sum_{i=1}^{t}\tilde{A}_{t+1,i}u_{i}+u_{t+1}
564+
y_{t+1}=\sum_{i=1}^{t+1}(A^{-1})_{t+1,i}b_{i}+\sum_{i=1}^{t}(A^{-1})_{t+1,i}u_{i}+u_{t+1}
575565
$$
576566
577567
This is a **moving average** representation with time-varying coefficients.

0 commit comments

Comments
 (0)