-
Notifications
You must be signed in to change notification settings - Fork 59
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
Ensemble agreement assigns members with exactly no change to the negative fraction #1690
Comments
I would tend to disagree. I consider a model with a change of 2C in disagreement with a model with a change of 0C. I understand this is beyond the scope of this function, but in my mind you'd have a threshold
Here t is 0, and values with 0 change would simply be part of another category of "no change". My suggestion is thus to say:
|
I understand. The threshold idea is not really beyond the scope of the function, ... it is pretty much what the In fact, I can indeed avoid my problem by using that method, I didn't think of that! Thanks! |
Let's say that we have 15 simulations: 5 negative, 4 not significantly negative, 3 with a change of exactly +0, 2 not significantly positive, 1 positive.
|
The scientific consensus has spoken against my idea. |
Reopen as our Best solution to date: positive = delta > 0
negative = delta < 0
agree = max(positive, negative, 1 - positive - negative) With a possibility of most models "agreeing" on exactly no change. |
<!--Please ensure the PR fulfills the following requirements! --> <!-- If this is your first PR, make sure to add your details to the AUTHORS.rst! --> ### Pull Request Checklist: - [x] This PR addresses an already opened issue (for bug fixes / features) - This PR fixes #1690 - [x] Tests for the changes have been added (for bug fixes / features) - [x] (If applicable) Documentation has been added / updated (for bug fixes / features) - [x] CHANGES.rst has been updated (with summary of main changes) - [x] Link to issue (:issue:`number`) and pull request (:pull:`number`) has been added ### What kind of change does this PR introduce? In `robustness_fractions` * Computes the fraction of negative change explicitly and returns it * The agreement fraction is the maximum of the positive, negative or no change fractions. ### Does this PR introduce a breaking change? Yes, `agree_frac` has changed. However, it now better reflects its definition and usual expectations. And the case where "no change" is the largest group should not be very frequent, it usually happens with zero-bounded indicators. ### Other information:
Addressing a Problem?
robustness_fractions
has theagree
output which is the fraction of valid models agreeing on the sign of change. It is currently a simple calculation based onpositive
, fraction of valid members showing positive change.In summary:
If the
delta
has real zeros, they are not counted towardspositive
. A dataset where a few members showing real positive change could come out has having low agreement.Potential Solution
I think it would be more intuitive if the agreement fraction included the members showing no change.
This is also the opinion of the Portraits Climatiques team.
Additional context
The previous value of
agree
could always be recomputed by a user aspositive
is an output of the function.What does @RondeauG and @huard think of this ?
Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: