https://github.com/Aurora-UofM/correlationr
This package provides functions for executing robust correlation analysis. Functions inlcude:
- Median Absolute Deviation Correlation
- Median Based Correlation
Pearson’s correlation (r) is widely-employed statistic for assessing bivariate linearity. This correlation is not robust against outliers, violations of normality, and when X and Y are not linearly related.
Median Absolute Deviation correlation can be used to examine whether two continuous variables (X and Y) are linearly related using a deviate estimation. The median deviation is more robust than the conventional standard deviation (SD) estimate.
Median Based Correlation can be used to examine whether two continuous variables (X and Y) are linearly related using a median correlation coefficient. It is a A derivative of the Median Absolute Deviation and the median correlation coefficient is more robust than the conventional standard deviation (SD) estimate.
Li, J. C.-H. (2022). Bootstrap Confidence Intervals for 11 Robust Correlations in the Presence of Outliers and Leverage Observations. Methodology, 18(2). https://doi.org/10.5964/meth.8467