Looking at the graph, clearly there is a correlation between the $x$ and $y$ values. However, this correlation is not linear, hence it cannot be studied by the pearson correlation coefficient
.
I know there is the Spearman rank correlation coefficient
, however this coefficient studies whether $x$ increases whenever $y$ increases. But in my case, let's say for $y = 0$, $x$ is increasing. So again, this correlation cannot be studied by the spearman
correlation coefficient.
What is the best way to quantify this correlation?
Plus, I'd appreciate to ways to do it in python
.