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
There can be multiple stationary distributions (different absorbing states for example) in a discrete markov transition matrix. The current code in mc_tools/mc_compute_stationary.py cannot handle this example. We can solve this using eigenvalues instead and this possibly could solve #18 as well. Creating a separate branch and will update on progress.
import numpy as np
import quantecon as qe
P = np.array([[1, 0], [0, 1]])
qe.mc_tools.mc_compute_stationary(P)
>>> LinAlgError: Singular matrix
The text was updated successfully, but these errors were encountered:
There can be multiple stationary distributions (different absorbing states for example) in a discrete markov transition matrix. The current code in
mc_tools/mc_compute_stationary.py
cannot handle this example. We can solve this using eigenvalues instead and this possibly could solve #18 as well. Creating a separate branch and will update on progress.The text was updated successfully, but these errors were encountered: