You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- writing: 43 fixes
Rules addressed:
- qe-writing-008: Remove excessive whitespace between words
- qe-writing-008: Remove excessive whitespace between words
- qe-writing-008: Remove excessive whitespace between words
- qe-writing-008: Remove excessive whitespace between words
- qe-writing-008: Remove excessive whitespace between words
- qe-writing-008: Remove excessive whitespace between words
- qe-writing-008: Remove excessive whitespace between words
- qe-writing-008: Remove excessive whitespace between words
- qe-writing-001: Use one sentence per paragraph
- qe-writing-001: Use one sentence per paragraph
- ... and 33 more
Copy file name to clipboardExpand all lines: lectures/additive_functionals.md
+15-20Lines changed: 15 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Asymptotic stationarity and ergodicity are key assumptions needed to make it pos
43
43
44
44
But there are good ways to model time series that have persistent growth that still enable statistical learning based on a law of large numbers for an asymptotically stationary and ergodic process.
45
45
46
-
Thus, {cite}`Hansen_2012_Eca`described two classes of time series models that accommodate growth.
46
+
Thus, {cite}`Hansen_2012_Eca` described two classes of time series models that accommodate growth.
47
47
48
48
They are
49
49
@@ -65,7 +65,7 @@ We also describe and compute decompositions of additive and multiplicative proce
65
65
66
66
We describe how to construct, simulate, and interpret these components.
67
67
68
-
More details about these concepts and algorithms can be found in Hansen {cite}`Hansen_2012_Eca` and Hansen and Sargent {cite}`Hans_Sarg_book`.
68
+
More details about these concepts and algorithms can be found in Hansen {cite}`Hansen_2012_Eca` and Hansen and Sargent {cite}`Hans_Sarg_book`.
69
69
70
70
Let's start with some imports:
71
71
@@ -83,10 +83,9 @@ from scipy.stats import norm, lognorm
83
83
84
84
This lecture focuses on a subclass of these: a scalar process $\{y_t\}_{t=0}^\infty$ whose increments are driven by a Gaussian vector autoregression.
85
85
86
-
Our special additive functional displays interesting time series behavior while also being easy to construct, simulate, and analyze
87
-
by using linear state-space tools.
86
+
Our special additive functional displays interesting time series behavior while also being easy to construct, simulate, and analyze by using linear state-space tools.
88
87
89
-
We construct our additive functional from two pieces, the first of which is a **first-order vector autoregression** (VAR)
88
+
We construct our additive functional from two pieces, the first of which is a **first-order vector autoregression** (VAR)
90
89
91
90
```{math}
92
91
:label: old1_additive_functionals
@@ -102,8 +101,7 @@ Here
102
101
* $B$ is an $n \times m$ matrix, and
103
102
* $x_0 \sim {\cal N}(\mu_0, \Sigma_0)$ is a random initial condition for $x$
104
103
105
-
The second piece is an equation that expresses increments
106
-
of $\{y_t\}_{t=0}^\infty$ as linear functions of
104
+
The second piece is an equation that expresses increments of $\{y_t\}_{t=0}^\infty$ as linear functions of
@@ -714,16 +712,14 @@ Notice the irregular but persistent growth in $y_t$.
714
712
715
713
### Decomposition
716
714
717
-
Hansen and Sargent {cite}`Hans_Sarg_book` describe how to construct a decomposition of
718
-
an additive functional into four parts:
715
+
Hansen and Sargent {cite}`Hans_Sarg_book` describe how to construct a decomposition of an additive functional into four parts:
719
716
720
717
- a constant inherited from initial values $x_0$ and $y_0$
721
718
- a linear trend
722
719
- a martingale
723
720
- an (asymptotically) stationary component
724
721
725
-
To attain this decomposition for the particular class of additive
726
-
functionals defined by {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals`, we first construct the matrices
722
+
To attain this decomposition for the particular class of additive functionals defined by {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals`, we first construct the matrices
727
723
728
724
$$
729
725
\begin{aligned}
@@ -759,8 +755,7 @@ A convenient way to do this is to construct an appropriate instance of a [linear
759
755
760
756
This will allow us to use the routines in [LinearStateSpace](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/lss.py) to study dynamics.
761
757
762
-
To start, observe that, under the dynamics in {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals` and with the
763
-
definitions just given,
758
+
To start, observe that, under the dynamics in {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals` and with the definitions just given,
0 commit comments