Thanks a lot for this great illustration! Can you suggest a method that allows group comparisons? To be more specific: We have a dataset obtained from a Randomized Control Trial, and there are 4 to 6 groups to compare. In each group, we want to use the LOESS procedures you illustrated here.