0% found this document useful (0 votes)
18 views17 pages

Ej 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views17 pages

Ej 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

y x1 x2 x3 ymod

18.5 0 1.41421356 -1 18.5


19.8 -1.41421356 0 1 19.8
17.4 0 -1.41421356 -1 17.4
22.5 1.41421356 0 1 22.5
b3 b2 b1 b0
1.6 0.38890873 0.95459415 19.55
0 0 0 0
1 0 #N/A #N/A
#N/A 0 #N/A #N/A
14.49 0 #N/A #N/A

y=b0+b1*x1+b2*x2+b3*x3

y=19.55+0.9545*x1+0.3889*x2+1.6*x3
x2 x1 y
Cajas Distancia Tiempo (x1-X1) (x2-X2)
10 30 24 1 2 -8
15 25 27 1 -3 -3
10 40 29 1 12 -8
20 18 31 1 -10 2
25 22 25 1 -6 7
18 31 33 1 3 0
12 26 26 1 -2 -6
14 34 28 1 6 -4
16 29 31 1 1 -2
22 37 39 1 9 4
24 20 33 1 -8 6
17 25 30 1 -3 -1
13 27 25 1 -1 -5
30 23 42 1 -5 12
24 33 40 1 5 6
Promedio 18 28

1 1
X1 (x1-X1) 2 -3
(x2-X2) -8 -3

(X1*X-1)=MMULT
15 0
0 548
0 -213

(X1*X-1)^-1=MINVERSA
0.06666667 0
0 0.00218349
0 0.00092278
y=b0+b1(x1-x1 )

b2 b1 b0
0.45592077 0.87720461 2.31120209
0.146762335 0.1530346 5.85730272
0.736789059 3.14078989 #N/A
16.79540499 12 #N/A
X-1 331.3585994 118.374734 #N/A

1 1 1 1 1 1 1
12 -10 -6 3 -2 6 1
-8 2 7 0 -6 -4 -2

X-1)=MMULT
0 (X1*Y)=MMULT
-213 463
504 63 b
345

)^-1=MINVERSA
0 a*b
0.00092278 a 30.8666667
0.00237411 0.45592077
0.87720461
X1 transpuesta
X-1 inversa

1 1 1 1 1 1
9 -8 -3 -1 -5 5
4 6 -1 -5 12 6
y x1 x2
Gasto alimentación Ingresos Tamaño pivote (x1-X1prom)
0.43 2.1 3 1 -0.7
0.31 1.1 4 1 -1.7
0.32 0.9 5 1 -1.9
0.46 1.6 4 1 -1.2
1.25 6.2 4 1 3.4
0.44 2.3 3 1 -0.5
0.52 1.8 6 1 -1
0.29 1 5 1 -1.8
1.29 8.9 3 1 6.1
0.35 2.4 2 1 -0.4
0.35 1.2 4 1 -1.6
0.78 4.7 3 1 1.9
0.43 3.5 2 1 0.7

0.47 2.9 3 1 0.1


0.38 1.4 4 1 -1.4
Promedio 2.8 3.66666667

pivote 1
X1 (x1-X1prom) -0.7
(x2-X2prom) -0.666666667

X1*X-1=MMULT
15 0
0 70.48
2.220446E-15 -13.2

(X1*X-1)^-1 MINV
0.0666666667 -1.865541E-18
-1.865541E-18 0.0165487041
-9.960858E-18 0.0126024747
(x2-X2prom)
-0.66666667
0.333333333
1.333333333
0.333333333
0.333333333
-0.66666667
2.333333333 X-1
1.333333333
-0.66666667
-1.66666667
0.333333333
-0.66666667
-1.66666667

-0.66666667 MODELO= 0.538+0.14872(x1-X1prom)+0.076915(x


0.333333333

1 1 1 1 1 1 1
-1.7 -1.9 -1.2 3.4 -0.5 -1 -1.8
0.333333333 1.33333333 0.33333333 0.33333333 -0.66666667 2.33333333 1.33333333

X1*Y
2.22045E-15 8.07
-13.2 9.467 b
17.33333333 -0.63

a*b
-9.96086E-18 0.538 b0
0.012602475 a 0.14872702 b1
0.067289577 0.07691519 b2
1prom)+0.076915(x2-X2prom)

1 1 1 1 1 1 1
6.1 -0.4 -1.6 1.9 0.7 0.1 -1.4
-0.66666667 -1.66666667 0.33333333 -0.66666667 -1.66666667 -0.66666667 0.33333333
y x1 x2
Recaudación semanalAnuncios TV Anuncios Vol pivote (x1-X1prom)
96 5 1.5 1 1.8125
90 2 2 1 -1.1875
95 4 1.5 1 0.8125
92 2.5 2.5 1 -0.6875
95 3 3.3 1 -0.1875
94 3.5 2.3 1 0.3125
94 2.5 4.2 1 -0.6875
94 3 2.5 1 -0.1875
3.1875 2.475

Promedio

pivote 1
X1 (x1-X1prom) 1.8125
(x2-X2prom) -0.975

X1*X-1=MMULT
8 0
0 6.46875
-8.881784E-16 -3.4125

(X1*X-1)^-1 MINV
0.125 1.4588159E-17
1.4588159E-17 0.2239068178
2.7653378E-17 0.131398455
(x2-X2prom)
-0.975
-0.475
-0.975
0.025
0.825
-0.175
1.725 X-1
0.025

MODELO= 93.75+2.29018(x1-X1prom)+1.3009(x2

1 1 1 1 1 1 1
-1.1875 0.8125 -0.6875 -0.1875 0.3125 -0.6875 -0.1875
-0.475 -0.975 0.025 0.825 -0.175 1.725 0.025

X1*Y
-8.88178E-16 750
-3.4125 10.375 b
5.815 -0.25

a*b
2.76534E-17 93.75 b0
0.131398455 a 2.29018362 b1
0.249079489 1.3009891 b2
1-X1prom)+1.3009(x2-X2prom)
y x1 x2
Precio Superficie Antigüedad pivote (x1-X1prom)
250 120 15 1 3.55
130 80 20 1 -36.45
165 100 30 1 -16.45
310 180 15 1 63.55
320 190 12 1 73.55
400 250 40 1 133.55
200 99 30 1 -17.45
80 90 27 1 -26.45
69 60 14 1 -56.45
179 100 20 1 -16.45
120 110 22 1 -6.45
223 120 25 1 3.55
300 180 21 1 63.55

198 130 33 1 13.55


165 90 5 1 -26.45
Promedio 69 50 12 1 -66.45
73 60 6 1 -56.45
123 70 10 1 -46.45
356 120 28 1 3.55
183 130 30 1 13.55
116.45 20.75

pivote 1
X1 (x1-X1prom) 3.55
(x2-X2prom) -5.75

X1*X-1=MMULT
20 0
0 48288.95
0 4153.25
(X1*X-1)^-1 MINV
0.05 0
0 2.607482E-05
0 -6.239103E-05
(x2-X2prom)
-5.75
-0.75
9.25
-5.75
-8.75
19.25
9.25 X-1
6.25
-6.75
-0.75
1.25
4.25
0.25

12.25 MODELO= 195.65+1.75516(x1-X1prom)-0.0923939(


-15.75
-8.75
-14.75
-10.75
7.25
9.25

1 1 1 1 1 1 1
-36.45 -16.45 63.55 73.55 133.55 -17.45 -26.45
-0.75 9.25 -5.75 -8.75 19.25 9.25 6.25

X1*Y
0 3913
4153.25 84371.15 b
1735.75 7129.25
a*b
0 195.65 b0
-6.2391E-05 a 1.75516107 b1
0.000725407 -0.09239389 b2
-X1prom)-0.0923939(x2-X2prom)

1 1 1 1 1 1 1
-56.45 -16.45 -6.45 3.55 63.55 13.55 -26.45
-6.75 -0.75 1.25 4.25 0.25 12.25 -15.75
1 1 1 1 1
-66.45 -56.45 -46.45 3.55 13.55
-8.75 -14.75 -10.75 7.25 9.25

You might also like