Testing accuracy of analytical methods by regression