I have a dataset where each data consists of in total 5 groups (can be considered as 5 categorical variable/ 5 unique continuous values) and for each group there are hundreds of points (with yield values) which are associated with 1 of the 5 unique values. I'd like to establish a metric which quantifies this relationship so that each data in the dataset can be compared. As far as I know R squared and RMSe can't be done since one variable has only 5 unique values while the other has 100's of unique values. ANOVA cant be done because they are not categorical variable and as far as I can understand its only for showing the differences between each categories. So if I was wrong about some of this or if you have any ideas or suggestions how this could work, I very much appreciate your help. Thanks