THEORY OF AND COMPUTATION PROGRAM FOR DETERMINATION OF THE REFERENCE VALUE IN KEY COMPARISONS BASED ON BAYESIAN STATISTICS