Which correlation method to use?

Which correlation method to use for my continuous data? Pearson’s correlation or a robust correlation method to account for outliers or non-normality? A while ago, I wrote an R script to flexibly apply the correlation method based on the data at hand. I have found this script very useful for myself. So, I decided to share it with others. I hope you find it helpful too!


The script is available from my GitHub repository. Below is a description and examples notebook. You can also launch an interactive notebook via Binder.


Let me know if you spot any problem either in the code or in my three rules of choosing the correlation method!


myBinder badge

description-and-examples

Leave a Comment

Your email address will not be published. Required fields are marked *