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

robust correlations with 'ranktransform' #15

Closed
DominiqueMakowski opened this issue Oct 20, 2019 · 2 comments
Closed

robust correlations with 'ranktransform' #15

DominiqueMakowski opened this issue Oct 20, 2019 · 2 comments

Comments

@DominiqueMakowski
Copy link
Member

DominiqueMakowski commented Oct 20, 2019

as shown by @lindeloev, Spearman correlations can be estimated using a rank transformation. Hence, it might be interesting to develop a more flexible framework for robust spearman-like correlations now that we have ranktransform() in effectsize, to make it work with all the correlation types, Bayesian, partial etc.

@IndrajeetPatil
Copy link
Member

This is another option for implementing a robust correlation coefficient:
https://rdrr.io/cran/WRS2/man/pbcor.html

Code:
https://github.com/cran/WRS2/blob/master/R/pbcor.R

This paper presents some evidence for why percentage bend is more robust than Spearman:
https://www.frontiersin.org/articles/10.3389/fpsyg.2012.00606/full

@DominiqueMakowski
Copy link
Member Author

Also, this paper https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3397314/ showing the Shepherd's pi correlation. Can add both percent bend and shepherd's pi

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