I was looking at your (and the original R code) to see if I could port xicor to Java, and while testing I thought to re-use your nice examples using the Anscombe's quartet data in the conftest.py. However, it looks incorrect for the 3rd example when compared to your plots in anscombes_quartet_correlations.png
and https://en.wikipedia.org/wiki/Anscombe%27s_quartet#Data.
(I assume it was a manual 'testing' edit that accidentally made it in to the repository).
I just thought to give you a head's up!
Also when comparing the xi-correlation in your anscombes_quartet_correlations.png against the R implementation values I find the same values except for the 4th dataset, i.e. 0.175 in R vs 0.1 in your plot, perhaps this has to do with the randomisation seed of resolving ties? Though in R the value seems not to change when I set different seed values:
I was looking at your (and the original R code) to see if I could port xicor to Java, and while testing I thought to re-use your nice examples using the Anscombe's quartet data in the conftest.py. However, it looks incorrect for the 3rd example when compared to your plots in anscombes_quartet_correlations.png and https://en.wikipedia.org/wiki/Anscombe%27s_quartet#Data. (I assume it was a manual 'testing' edit that accidentally made it in to the repository). I just thought to give you a head's up!
Also when comparing the xi-correlation in your anscombes_quartet_correlations.png against the R implementation values I find the same values except for the 4th dataset, i.e. 0.175 in R vs 0.1 in your plot, perhaps this has to do with the randomisation seed of resolving ties? Though in R the value seems not to change when I set different seed values: