pymccorrelation calculates correlation coefficients for data, using bootstrapping and/or perturbation to estimate the uncertainties on the correlation coefficient and p-value. The code supports Pearson's r, Spearman's rho, and Kendall's tau. Calculations of Kendall's tau additionally support censored data. This code supercedes and expands the deprecated code pymcspearman (ascl:2309.009).
https://ui.adsabs.harvard.edu/abs/2020ApJ...893..149P and https://ui.adsabs.harvard.edu/abs/2014arXiv1411.3816C ; see additional citation information here: https://github.com/privong/pymccorrelation#citing