-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
UtilityFuncCRRA #1168
UtilityFuncCRRA #1168
Conversation
fix failing errors
Codecov ReportBase: 73.66% // Head: 73.38% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1168 +/- ##
==========================================
- Coverage 73.66% 73.38% -0.29%
==========================================
Files 73 74 +1
Lines 12024 12150 +126
==========================================
+ Hits 8858 8916 +58
- Misses 3166 3234 +68
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
to allow inheritance from MetricObject
This looks like a good step forward to me! |
To do from @llorracc: look for standardized function representation (with derivatives and inverses) in other python libraries |
from scipy: https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.PPoly.html#scipy.interpolate.PPoly There does not seem to be a standard for mathematical functions. |
To do: Think of design for CRRA(CD) and/or CRRA(CES). |
Looks like there's significant overlap between this PR and #1177 This looks like a simpler feature, and unless there's some good reason I'm not thinking of, it would be best to finish this one in its own PR. |
Fix merge conflict please. |
The last discussion on this was that we need to settle on a standard before this is merged. Maybe I should close it for now. |
My bad ... |
@llorracc : advocates aligning this syntax with dolo's |
including UtilityFunction, UtilityFuncCRRA, UtilityFuncCobbDouglas, and UtilityFuncConstElastSubs
Would like to have all econ utility functions in I would like to propose that the file |
TODO : labeled goods |
@alanlujan91 See merge conflicts and test failures. Punt the broader scope issues to #1035. |
still gives warning
now addresses #1188 |
rename gam to rho
Changes in this PR:
|
I'll review this and merge if I don't see any issues. |
Great work! Merging. |
This PR creates an object oriented CRRA utility function to better organize namespaces and add formal structure to models.