search for: signfittedvalue

Displaying 1 result from an estimated 1 matches for "signfittedvalue".

2006 Feb 23
0
calculation problem
...values. Certainly following codes could not be correct: MAPE= ( (sum (abs( (y-fittedvalue) /y)) )/ n) *100 MAPE y: real value because sign of negative values are neglegted. If we code it as following: absy=abs(y) signy=sign(y) absfittedvalue=abs(fittedvalue) signfittedvalue=sign(fittedvalue) MAPE= ( (sum (abs( (absy-absfittedvalue) /absy)) )/ n) *100 MAPE=MAPE*signy*signfittedvalue also would not be correct. But how can we cope with this difficulty? For remainder DS could be got by: DS= sum(dt=(yt-yt-1)*(fittedvaluet-fittedvaluet-1))*100/N...