0
$\begingroup$

I have two curves like this :

enter image description here

I would like to be able to calculate the gap between these two curves according to the Y value.

For example:

  • In my example Y < 5, error between the two curves is almost 0%
  • But for Y=7 blue is 5% greater
  • For Y=10 blue is 15% greater
  • etc.

Is it possible ?

Thanks

$\endgroup$
  • $\begingroup$ $(y_1-y_2)^2$.... no? $\endgroup$ – Brethlosze Jun 9 '17 at 22:24
  • $\begingroup$ This is the formula to measure distance between the two Y, right? $\endgroup$ – Stéphane Jun 10 '17 at 7:11
  • $\begingroup$ Oh yes, there are hundreds of ways to measure how two functions are close one each other. If you make $\frac 1 n \sum_i (y_1_i-y_2_i)^2$ you are evaluating how separated are those. $\endgroup$ – Brethlosze Jun 10 '17 at 10:43
  • $\begingroup$ A percentage will be bad because it turns infinity for values oscilating close to zero. $\endgroup$ – Brethlosze Jun 10 '17 at 10:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.