摘要: SUMMARY Does a regression function follow specified shape? Do two functions have the same How can be grouped, based on These questions occur when investigating monotonicity, counting local maxima or studying variation in families of curves. One address these by considering rank correlation coefficient between functions. This is generalisation finite sets numbers and equal to one if only shape. A sample smoothed estimates consistently true correlation. used as measure similarity cluster analysis monotonicity modality.