-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
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
Unify tauchen
and rouwenhorst
API
#664
Conversation
Maybe add a note after this? QuantEcon.py/quantecon/markov/approximation.py Lines 25 to 55 in e1c08e0
Something like "where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me!
Nice work @Smit-create ! This looks good to me too but please coordinate with @mmcky to make sure the lectures are suitably modified. |
Thanks for the review. Once this is merged, I will quickly start fixing the lecture codes. |
Thanks @Smit-create , that would be great. As you know, there is also https://github.com/QuantEcon/book-dp1/tree/main/source_code_py It would be great if you could also help modify https://github.com/QuantEcon/cbc_workshops so the code there continues to work. |
@jstac Sure, I'll fix that too. |
@Smit-create the best way to go here is to install this branch version on a PR marked |
@@ -12,11 +12,11 @@ | |||
from numba import njit | |||
|
|||
|
|||
def rouwenhorst(n, ybar, sigma, rho): | |||
def rouwenhorst(n, rho, sigma, mu=0.): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Smit-create while it is difficult in this change to preserve backward compatibility, can you add a deprecation
notice to the doctoring at the bottom.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks!
tauchen
and rouwenhorst
APItauchen
and rouwenhorst
API
@Smit-create I will merge this into |
Fixes #363
#663