In reply to Tohmoto.

This is a correct comment.

Rick, would you mind to swap Sxx and Syy in the line of "delta = Sxx / Syy; /* estimate of ratio of variance */", and rerun the results, which should be:

Deming Regression
Intercept Slope
-11.72696 0.3670478