We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Smit-create can you take a look at the additive_functionals lecture
additive_functionals
AttributeError: module 'quantecon' has no attribute 'lss'
Must be due to a change in quantecon package?
quantecon
coming from this block
------------------ ϕ_1, ϕ_2, ϕ_3, ϕ_4 = 0.5, -0.2, 0, 0.5 σ = 0.01 ν = 0.01 # Growth rate # A matrix should be n x n A = np.array([[ϕ_1, ϕ_2, ϕ_3, ϕ_4], [ 1, 0, 0, 0], [ 0, 1, 0, 0], [ 0, 0, 1, 0]]) # B matrix should be n x k B = np.array([[σ, 0, 0, 0]]).T D = np.array([1, 0, 0, 0]) @ A F = np.array([1, 0, 0, 0]) @ B amf = AMF_LSS_VAR(A, B, D, F, ν=ν) T = 150 x, y = amf.lss.simulate(T) fig, ax = plt.subplots(2, 1, figsize=(10, 9)) ax[0].plot(np.arange(T), y[amf.nx, :], color='k') ax[0].set_title('Path of $y_t$') ax[1].plot(np.arange(T), y[0, :], color='g') ax[1].axhline(0, color='k', linestyle='-.') ax[1].set_title('Associated path of $x_t$') plt.show() ------------------
The text was updated successfully, but these errors were encountered:
qe.lss
Smit-create
Successfully merging a pull request may close this issue.
@Smit-create can you take a look at the
additive_functionals
lectureMust be due to a change in
quantecon
package?coming from this block
The text was updated successfully, but these errors were encountered: