Skip to content
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

Warning on z-score calculation for proxy composites #7

Open
khider opened this issue Oct 11, 2022 · 1 comment
Open

Warning on z-score calculation for proxy composites #7

khider opened this issue Oct 11, 2022 · 1 comment

Comments

@khider
Copy link
Collaborator

khider commented Oct 11, 2022

The proxy composite scores really only make sense by proxy type (not even archive type). If a user is trying to calculate a z-score across proxies, should throw a warning.

The problem is that proxy may have a positive or negative relationship with their common variables (e.g., coral d18O and coral Sr/Ca vs temperature) and so they may need to be flipped prior to calculating the z-score. This is done automatically when calibrating against instrumental records.

Preferred solution: the LiPD files have an interpretation field indicating the direction. We could use it to automatically figure out when to flip the axis. But it would require changes to the API to create a ProxyDatabase and the pickle file would no longer be valid.

Looping @CommonClimate in that discussion.

@fzhu2e
Copy link
Owner

fzhu2e commented Oct 12, 2022

Can we modify make_composite() and flip the sign for specific proxy types? I suppose there are limited number of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants