We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87f8437 commit 2d3fdc3Copy full SHA for 2d3fdc3
lectures/linear_models.md
@@ -734,7 +734,7 @@ sample_size = 500_000
734
ar = LinearStateSpace(A_2, C_2, G_2, mu_0=np.ones(4))
735
fig, ax = plt.subplots()
736
x, y = ar.simulate(sample_size)
737
-mu_x, mu_y, Sigma_x, Sigma_y = ar.stationary_distributions()
+mu_x, mu_y, Sigma_x, Sigma_y, Sigma_yx = ar.stationary_distributions()
738
f_y = norm(loc=float(mu_y), scale=float(np.sqrt(Sigma_y)))
739
y = y.flatten()
740
ygrid = np.linspace(ymin, ymax, 150)
@@ -920,7 +920,7 @@ def cross_plot(A,
920
ar = LinearStateSpace(A, C, G, mu_0=np.ones(4))
921
922
if steady_state == 'True':
923
- μ_x, μ_y, Σ_x, Σ_y = ar.stationary_distributions()
+ μ_x, μ_y, Σ_x, Σ_y, Σ_yx = ar.stationary_distributions()
924
ar_state = LinearStateSpace(A, C, G, mu_0=μ_x, Sigma_0=Σ_x)
925
926
ymin, ymax = -0.6, 0.6
lectures/perm_income_cons.md
@@ -345,7 +345,7 @@ G = np.array([[0., 1., 0.]])
345
μ_z0 = np.array([[1.0], [0.0], [0.0]])
346
Σ_z0 = np.zeros((3, 3))
347
Lz = qe.LinearStateSpace(A, C, G, mu_0=μ_z0, Sigma_0=Σ_z0)
348
-μ_z, μ_y, Σ_z, Σ_y = Lz.stationary_distributions()
+μ_z, μ_y, Σ_z, Σ_y, Σ_yx = Lz.stationary_distributions()
349
350
# Mean vector of state for the savings problem
351
mxo = np.vstack([μ_z, 0.0])
lectures/samuelson.md
@@ -1316,7 +1316,7 @@ class SamuelsonLSS(LinearStateSpace):
1316
# values for simulation
1317
if stationary == True:
1318
try:
1319
- self.μ_x, self.μ_y, self.σ_x, self.σ_y = \
+ self.μ_x, self.μ_y, self.σ_x, self.σ_y, self.σ_yx = \
1320
self.stationary_distributions()
1321
self.μ_0 = self.μ_y
1322
self.Σ_0 = self.σ_y
0 commit comments