Está en la página 1de 14

42.

25
REGRESIÓN LINEAL 6.5 4186.67
295770 506
TIEMPO DEMANDA
AÑOS X Y X*Y X*X
2010 1 3450 3450 1
n= 12 2011 2 2960 5920 4
2012 3 3500 10500 9 b=
2013 4 4300 17200 16 a=
2014 5 3800 19000 25
2015 6 3500 21000 36
2016 7 3200 22400 49
2017 8 5250 42000 64
2018 9 5000 45000 81
2019 10 5430 54300 100
2020 11 5000 55000 121
2021 12 4,850 58200 144
5,432.64 2022 13 5,433 353970 650
5,624.32 2023 14 5,624
5,816.00 2024 15 5,816
6,007.68 2025 16 6,008
Prom x= 6.50 42.25
Prom y= 4186.67

b= 191.68
a= 2940.76

Y b
6000
a
5000 f(x) = 191.678321678322 x + 2940.75757575758
5433
4000
5624
3000

2000

1000

0
0 2 4 6 8 10 12 14
PROMEDIO MÓVIL SIMPLE 2

AÑOS Tiempo (X) Demanda (Y) Pronóstico Error Error Absoluto


2010 1 3450
2011 2 3600
2012 3 3500 3525 -25 25
2013 4 4300 3550 750 750
2014 5 3800 3900 -100 100
2015 6 3500 4050 -550 550
2016 7 4000 3650 350 350
2017 8 5250 3750 1500 1500
2018 9 5000 4625 375 375
2019 10 5430 5125 305 305
2020 11 1000 5215 -4215 4215
2021 12 3215
2022 13
Error Medio DAM
-179 908

DAM= desviación absoluta media

AÑOS Tiempo (X) Demanda (Y) Pronóstico Error Error Absoluto


2010 1 3450 6000
2011 2 3600
5000
2012 3 3500
2013 4 4300 3517 783 783 4000
2014 5 3800 3800 0 0
3867 -367 367 3000
2015 6 3500
2016 7 4000 3867 133 133 2000
2017 8 5250 3767 1483 1483
4250 750 750 1000
2018 9 5000
2019 10 5430 4750 680 680 0
1 2 3
2020 11 1000 5227 -4227 4227
2021 12 3810
2022 13
Error Medio DAM
-95 1053

4
AÑOS Tiempo (X) Demanda (Y) Pronóstico Error Error Absoluto
2010 1 3450
2011 2 3600
2012 3 3500
2013 4 4300
2014 5 3800 3713 88 88
2015 6 3500 3800 -300 300
2016 7 4000 3775 225 225
2017 8 5250 3900 1350 1350
2018 9 5000 4138 863 863
2019 10 5430 4438 993 993
2020 11 1000 4920 -3920 3920
2021 12 4170
2022 13
Error Medio DAM
-100 1105

AÑOS Tiempo (X) Demanda (Y) Pronóstico Error Error Absoluto


6000
2010 1 3450
2011 2 3600 5000
2012 3 3500
4000
2013 4 4300
2014 5 3800 3000
2015 6 3500 3730 -230 230
2016 7 4000 3740 260 260 2000

2017 8 5250 3820 1430 1430


1000
2018 9 5000 4170 830 830
2019 10 5430 4310 1120 1120 0
1 2
2020 11 1000 4636 -3636 3636
2021 12 4136
2022 13
Error Medio DAM
-38 1251
Chart Title
6000

5000

4000

3000

2000

1000

0
1 2 3 4 5 6 7 8 9 10 11

Demanda (Y) Pronóstico

Chart Title
6000

5000

4000

3000

2000

1000

0
1 2 3 4 5 6 7 8 9 10 11

Demanda (Y) Pronóstico


Chart Title
6000
5000
4000
3000
2000
1000
0
1 2 3 4 5 6 7 8 9 10 11

Demanda (Y) Pronóstico

Chart Title
6000

5000

4000

3000

2000

1000

0
1 2 3 4 5 6 7 8 9 10 11

Demanda (Y) Pronóstico

0
CINCO TÉCNICAS PARA MEDIR EL ERROR DE UN PRONÓSTICO

Error medio Desviación Desviación Porcentaje


Error medio
Demanda Pronóstico de estandar de absoluta de error medio
Tiempo al cuadrado:
(Yt) (Y´t) pronóstico: los errores los errores absoluto
EMC
EMP (DEE) (DAM) (PEMA)

1 1274 1277 -3 9 0.11 3 0.24%


2 1287 1280 7 49 93.44 7 0.54%
3 1317 1312 5 25 58.78 5 0.38%
4 1370 1389 -19 361 266.78 19 1.39%
5 1340 1350 -10 100 53.78 10 0.75%
6 1435 1440 -5 25 5.44 5 0.35%
7 1433 1457 -24 576 455.11 24 1.67%
8 1461 1446 15 225 312.11 15 1.03%
9 1509 1530 -21 441 336.11 21 1.39%
10 1511 1480 31 961 1133.44 31 2.05%
11 1546 1546 0 0 7.11 0 0.00%
12 1550 1558 -8 64 28.44 8 0.52%
ERROR -2.67 236.33 15.81 12.33 0.86%

Interpretación:
Error con valor cero: está perfecto
Error con valor negativo; el pronóstico está sub estimado
Chart Title
1800

1600

1400

1200

1000

800

600

400

200

0
1 2 3 4 5 6 7 8 9 10 11 12

Demanda (Yt) Pronóstico (Y´t)


8 9 10 11 12

tico (Y´t)
Suavización exponencial simple Pt = P(t-1) + Alfa (D(t-1) - P(t-1))
ALFA EM DAM
0.346429723258 1.4 22

0.2 150
Período Demanda Pronóstico Error Error Abs % Error
1 150 150 0.0 0.00 0.00
2 165 150 15.0 15.00 9.09
3 135 155 -20.2 20.20 14.96
4 105 148 -43.2 43.20 41.14
5 102 133 -31.2 31.23 30.62
6 120 122 -2.4 2.41 2.01
7 145 122 23.4 23.42 16.15
8 175 130 45.3 45.31 25.89
9 202 145 56.6 56.61 28.03
10 165 165 0.0 0.00 0.00
11 135 165 -30.0 30.00 22.22
12 138 155 -16.6 16.61 12.03
13 160 149 11.1 11.15 6.97
14 165 153 12.3 12.28 7.45
15 157

Pt = pronóstico del período t


P(t-1) = pronóstico del período anterior
Alfa = constante de suavización (0<=ALFA<=1) ALFA
D(t-1)= demanda real del período 1 0.20
EM = error medio o promedio
DAM= desviación absoluta media

Aplicando solver:
Establecer objetivo con el valor DAM
Minimizar
Colocamos el valor de ALFA
2 Restricciones: alfa <= 1; alfa>=0 https://www.youtube.c
Aceptar
Colocar el cursor en el valor de DAM
Aceptar
Inmediatamente cambia a un nuevo valor óptimo
MAPE: PROMEDIO DEL % DE ERROR

EM DAM MAPE
0.00000 22.0 15.5 16.66

EM DAM
1.4 22.0

ttps://www.youtube.com/watch?v=e2NGVezxs_k
Pronosticar del mes 4 al 12, con factores de ponderación: 0.2,
0.3, 0.5

Promedio móvil ponderado

Mes Demanda Pronóstico Error Error abs


1 21
2 25 Ponderaciones
3 16 T1 0.422
4 23 23.05 -0.05 0.05 T2 0.549
5 20 20.00 0.00 0.00 T3 0.029
6 17 19.96 -2.96 2.96 Total 0.99999999
7 24 21.18 2.82 2.82
8 21 18.47 2.53 2.53 Error Medio DAM
9 23 20.96 2.04 2.04 1.35 2.11
10 26 22.32 3.68 3.68
11 25 22.24 2.76 2.76
12 24.70

Aplicando solver:
Establecer objetivo con el valor DAM
Minimizar
Cambiar celdas de variables; colocamos el valor de ponderaciones
3 Restricciones: para los valores de ponderaciones tomar en cuenta: <=1, >=0 y para el total de ponderaciones =1
Aceptar
Colocar el cursor en el valor de DAM
Aceptar
Inmediatamente cambia a un nuevo valor óptimo
Chart Title
30

25

20

15

10

0
1 2 3 4 5 6 7 8 9 10 11 12

Demanda Pronóstico

de ponderaciones =1

También podría gustarte