Skip to content

Conversation

@PaulWessel
Copy link
Member

Somehow, we never checked the correlation between x and y to know which sign to assign to the absolute value of the slope. This PR fixes that and needs back-porting to 6.1.

Somehow, we never checked the correlation between x and y to know which sign to assign to the absolute value of teh slope.  This PR fixes taht and needs backporting to 6.1.
@PaulWessel PaulWessel requested a review from seisman July 9, 2020 23:29
@seisman
Copy link
Member

seisman commented Jul 9, 2020

Blindly approve, again.

@PaulWessel
Copy link
Member Author

Blindly approve, again.

I think that is OK. If data are negatively correlated we have a negative slope, but the eq for the slope is based on the ratio of two positive numbers (stdev). So using r to change the sign.

@PaulWessel PaulWessel merged commit dbd1939 into master Jul 10, 2020
@PaulWessel PaulWessel deleted the RMA-bug branch July 10, 2020 00:05
seisman pushed a commit that referenced this pull request Jul 10, 2020
Somehow, we never checked the correlation between x and y to know which sign to assign to the absolute value of teh slope.  This PR fixes taht and needs backporting to 6.1.
@seisman
Copy link
Member

seisman commented Jul 10, 2020

Backport to 6.1 is done.

@PaulWessel
Copy link
Member Author

Great thanks.

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

Successfully merging this pull request may close these issues.

3 participants