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

Spearman correlation on bins #2

Open
uditgt opened this issue May 15, 2021 · 0 comments
Open

Spearman correlation on bins #2

uditgt opened this issue May 15, 2021 · 0 comments

Comments

@uditgt
Copy link

uditgt commented May 15, 2021

Hi. In case of data with repeated values, the bins will not all have same count. In such a case, it is better to calculate average of 'ones' in each bin by bin 'count', and use that to calculate spearman correlation (part of __generate_correct_bins function). The attached image might make it clearer. Thanks

image

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

1 participant