search for: absfittedvalue

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

2006 Feb 23
0
calculation problem
...ch includes pasitive and negative 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)*(fittedv...