Вы находитесь на странице: 1из 2

Inicio

Escribir n

i ←1

Mientras i<=n hacer

At(i) ←valor

i ←i+1

finmientras

i←1

mientras i<=n hacer

Ft(i)← valor

i←i+1

Finmientras

t←1

s←0

Mientras t<=n hacer

s←s + ((At(t) – Ft(t)) / At(t))

t←t+1

Finmientras

MAPE←s*100/n

Salir “porcentaje resultante de MAPE”

FIN
inicio

i=1

f v
I<=n

At(i)=valor

i=i+1

“pronostico en el siguiente periodo”

i=1

f v
i<=n

Ft(i)=valor

i=i+1

t=1; s=0

f v
T<=n

S=s+((At(t)-Ft(t))/At(t))

t=t+1

MAPE=s*100/n

fin “porcentaje resultado de MAPE”

Вам также может понравиться