-
Notifications
You must be signed in to change notification settings - Fork 76
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
Add trim option to marginal rate computation #350
Conversation
@adrienpacifico: you can use this to trim the large marginal rate you may hit because of nonlinearities like seuil de non versement and kinks. |
@benjello What should be the typical value of your trim parameter ? |
trim is a list of two elements. The marginal rates that are higher than the max of these two parameters or less than the min are converted to nan and thus not appear in the plots. |
Thanx for you answer. I need to find a good way to deal with that, other than reducing the number of observations :-). P.s : you might want to put a docstring for the function such that ones know that trim is supposed to be a two element array/list/tupple/whatever else. |
Your problem is due to rounding. Reduce the number of points. Le sam. 10 oct. 2015 16:44, adrienpacifico [email protected] a
|
Yes I know I've been trying to do something a bit more fancy today, it's
|
@cbenz, you can merge this without trouble |
Add trim option to marginal rate computation
No description provided.