Functions for analysis of agreement in method comparison