Re: relative error for 'zero' input
- From: Dejfson <dejfson@xxxxxxxxxxx>
- Date: Sat, 30 Dec 2006 20:56:17 +0100
Sorry, i didn't specify very clearly xi and xo.
Of course xo=measured (=aproximate) value
xi = absolute value (resp. what i'm supposing to be there)
the thing is that I have signals which have xo nonzero while xi is zero. What is the 'standard' procedure to deal with such a case? Express an absolute error like sqrt((xi-xo)^2)?
d.
David W. Cantrell napsal(a):
"hagman" <google@xxxxxxxxxxxxx> wrote:.
Dejfson schrieb:
Dear All,
is there any way how to calculate the relative error defined as:
E=100(1-xo/xi)
for xi=0 ?
Obviously, no.
???
If xo is nonzero, as indicated below, then the relative error is infinite.
BTW, I would normally calculate relative error using
(approximate value)/(exact value) - 1.
Of course, you can then multiply that result by 100% if you want a
percentage, or take its absolute value, if that's what you want.
If the exact value is 0 and the approximation isn't,
then |rel. error| = +infinity.
David
Resp. what is the standard way of expressing the error for the
zero-input non-zero-output measurables?
If you expect a result near zero, you might want to investigate the
absolute error instead.
Of course this causes trouble when investigating sequences of
operations.
You may have a "badly conditioned" problem if this case arises.
BTW, I hope you don't understand xo and xi as "output" and "input"?
You should rather use "calculated result" and "exact result".
- Follow-Ups:
- Re: relative error for 'zero' input
- From: hagman
- Re: relative error for 'zero' input
- From: David W . Cantrell
- Re: relative error for 'zero' input
- References:
- relative error for 'zero' input
- From: Dejfson
- Re: relative error for 'zero' input
- From: hagman
- Re: relative error for 'zero' input
- From: David W . Cantrell
- relative error for 'zero' input
- Prev by Date: Re: JSH: It IS fraud
- Next by Date: Re: Tricky Calculus Problem
- Previous by thread: Re: relative error for 'zero' input
- Next by thread: Re: relative error for 'zero' input
- Index(es):
Relevant Pages
|