Created
April 28, 2020 14:23
-
-
Save sbenthall/67cb74c91e3e290308908f5d09ac5931 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Changes to HARK code to adjust for 0.10.6 changes | |
## Some functions have been moved from HARK. utilities and HARK.simulation to HARK.distribution | |
WAS: | |
from HARK.utilities import approxUniform | |
NOW: | |
from HARK.distribution import approxUniform | |
## Distributions created in HARK are now DiscreteDistribution objects | |
## DiscreteDistribution objects have pmf and X (values) fields | |
WAS: | |
plt.scatter(IndShockExample.PermShkDstn[0][1], | |
IndShockExample.PermShkDstn[0][0]) | |
NOW: | |
plt.scatter(IndShockExample.PermShkDstn[0].X, | |
IndShockExample.PermShkDstn[0].pmf) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment