I want to calculate the relationship between 2 variables: one variable has continuous values (see x variable on the plot and in the example table) whereas the other has an upper class for values > 20 and a lower class for values < 2 (see y variable on the plot and in the table; I set all values above 20 at 20 and all values below 2 at 2 on the plot). What is the best way to approach this? My objective is to show if there is a relationship between the 2 variables and to quantify it. Is the Pearson correlation appropriate for this?