Calculate weighted deming regression with iterative algorithm suggested by Linnet. This algorithm is avalaible only for positive values. But even in this case there is no guarantee that the algorithm always converges.
mc.wdemingConstCV(X, Y, error.ratio, iter.max = 30, threshold = 1e-06)
measurement values of reference method.
measurement values of test method.
ratio between squared measurement errors of reference- and test method, necessary for Deming regression (Default is 1).
maximal number of iterations.
threshold value.
a list with elements
intercept.
slope.
average of reference method values.
number of iterations.
Linnet K. Evaluation of Regression Procedures for Methods Comparison Studies. CLIN. CHEM. 39/3, 424-432 (1993).
Linnet K. Estimation of the Linear Relationship between the Measurements of two Methods with Proportional Errors. STATISTICS IN MEDICINE, Vol. 9, 1463-1473 (1990).