Ever Paco Yanarico Practica 2
Ever Paco Yanarico Practica 2
Ever Paco Yanarico Practica 2
INGENIERIA CIVIL
INGENIERIA ECONOMICA
Número de Número de
Opciones entregas en
ordenadas (x) días (y)
3 25
4 32
4 26
7 38
7 34
8 41
9 39
11 46
12 44
12 51
14 53
16 58
17 61
20 64
23 66
25 70
REGRESION LINEAL
n Xi Yi Xi*Yi Xi^2
1 3 25 75 9
2 4 32 128 16
3 4 26 104 16
4 7 38 266 49
5 7 34 238 49
6 8 41 328 64
7 9 39 351 81
8 11 46 506 121
9 12 44 528 144
10 12 51 612 144
11 14 53 742 196
12 16 58 928 256
13 17 61 1037 289
14 20 64 1280 400
15 23 66 1518 529
16 25 70 1750 625
SUMA 192 748 10391 2988
a= 21.9254
b= 2.0687
REGRESION POTENCIAL
n Xi Yi Xi*= LOG(Xi) Yi*= LOG(Yi)
1 3 25 0.4771 1.3979
2 4 32 0.6021 1.5051
3 4 26 0.6021 1.4150
4 7 38 0.8451 1.5798
5 7 34 0.8451 1.5315
6 8 41 0.9031 1.6128
7 9 39 0.9542 1.5911
8 11 46 1.0414 1.6628
9 12 44 1.0792 1.6435
10 12 51 1.0792 1.7076
11 14 53 1.1461 1.7243
12 16 58 1.2041 1.7634
13 17 61 1.2304 1.7853
14 20 64 1.3010 1.8062
15 23 66 1.3617 1.8195
16 25 70 1.3979 1.8451
SUMA 192 748 16.0699 26.3908
b= 0.4952951111
a*= 1.1519661216 a=
r= 0.9819 r*2=
REGRESION EXPONENCIAL
n Xi Yi Yi*= LN(Yi) XiYi*
1 3 25 3.2189 9.6566
2 4 32 3.4657 13.8629
3 4 26 3.2581 13.0324
4 7 38 3.6376 25.4631
5 7 34 3.5264 24.6845
6 8 41 3.7136 29.7086
7 9 39 3.6636 32.9721
8 11 46 3.8286 42.1151
9 12 44 3.7842 45.4103
10 12 51 3.9318 47.1819
11 14 53 3.9703 55.5841
12 16 58 4.0604 64.9671
13 17 61 4.1109 69.8849
14 20 64 4.1589 83.1777
15 23 66 4.1897 96.3621
16 25 70 4.2485 106.2124
SUMA 192 748 60.7671 760.2756
b= 0.0454
a= 3.2528 a=
r= 0.9499328876 r^2=
matriz de
productos matriz
Matriz inversa
PRACTICA Nº 2
Yi^2
625
1024
676 80
1444
1156 70 f(x) =
1681 R² = 0
1521 60
2116
1936 50
2601
2809 40
3364
3721 30
4096
4356 20
10
0
30
20
4900
38026 10
0
0 5
0
0 5
14.189
0.9642
Xi^2 Yi*^2
9.0000 10.3612
16.0000 12.0113 80
16.0000 10.6152 f(x) = 25
49.0000 13.2320
70
R² = 0.90
49.0000 12.4352
60
80
f(x) = 25
70
R² = 0.90
64.0000 13.7906
81.0000 13.4217 60
121.0000 14.6585
144.0000 14.3201
50
144.0000 15.4593
196.0000 15.7632
256.0000 16.4872 40
289.0000 16.8993
400.0000 17.2963
30
529.0000 17.5532
625.0000 18.0497
2988.0000 232.3540 20
10
25.8638
0
0 5
0.9024
R
80
Xi^4 XiYi Xi^2Yi ŷi (ŷi-∑yi)^2 (yi-∑yi)^2
81.0 75.0 225.0 25.2472 462.3718 473.0625
256.0 128.0 512.0 28.1899 344.4756 217.5625 70
256.0 104.0 416.0 28.1899 344.4756 430.5625 f(x) = −
2401.0 266.0 1862.0 36.4973 105.1185 76.5625 R² = 0.
2401.0 238.0 1666.0 36.4973 105.1185 162.5625 60
4096.0 328.0 2624.0 39.0927 58.6342 33.0625
6561.0 351.0 3159.0 41.6013 26.5091 60.0625
50
14641.0 506.0 5566.0 46.3580 0.1537 0.5625
20736.0 528.0 6336.0 48.6061 3.4451 7.5625
20736.0 612.0 7344.0 48.6061 3.4451 18.0625 40
38416.0 742.0 10388.0 52.8418 37.1099 39.0625
65536.0 928.0 14848.0 56.7301 99.6031 126.5625
83521.0 1037.0 17629.0 58.5441 139.0998 203.0625 30
160000.0 1280.0 25600.0 63.4648 279.3848 297.5625
279841.0 1518.0 34914.0 67.6040 434.8912 370.5625
390625.0 1750.0 43750.0 69.9294 537.2828 540.5625 20
10
0
0 5
r^2= 0.9752
REGRESION LINEAL
80
50
40
30
20
10
0
30
20
10
0
0 5 10 15 20 25 3
REGRESION POTENCIAL
80
70
f(x) = 14.1894682827227 x^0.495295111132111
R² = 0.964202994965023
60
50
40
30
20
10
0
0 5 10 15 20 25 30
REGRESION EXPONENCIAL
80
f(x) = 25.863837369735 exp( 0.045424766362829 x )
70
R² = 0.902372490945776
60
80
f(x) = 25.863837369735 exp( 0.045424766362829 x )
70
R² = 0.902372490945776
60
50
40
30
20
10
0
0 5 10 15 20 25 30
70
f(x) = − 0.043417544867405 x² + 3.24669999656329 x + 15.8978265452283
R² = 0.975177855189069
60
50
40
30
20
10
0
0 5 10 15 20 25 30
25 30
25 30
25 30
25 30