Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Clase 17
Clase 17
fxy i i i
n x y
b i 1
k
fx 2
i i
n x2
i 1
n n n n n n n
y x i
2
i
x i x iy i n x iy i x i y i
y i 1 i 1 i 1 i 1
i 1 i 1 i 1
x
n n
2 2
n n
n x i2 x i n x i2 x i
i 1
i 1 i 1 i 1
Solución:
n
S D D D D Di2
2
1
2
2
2
3
2
n
(1)
i 1
Di2 yi y
2
(2)
n
S yi y
2
(3)
i1
39
y bx (4)
n
S yi bxi
2
i1
Derivando respecto de b
S n
2yi bxi xi
b i1
Obtenemos
x y bx 0
n
2
i i i
i1
n n
xiyi bxi2 0
i1 i1
n n
x y bx
i1
i i
i1
2
i
0
Finalmente
x y i i
b i 1
n
x 2
i
i 1
40
29. Con el objeto de estudiar la relación entre las variables consumo de energía
eléctrica ( X ) y volumen de producción en las empresas industriales (Y ), se
tomó una muestra de 40 empresas, para las cuales se calcularon los siguientes
valores:
40 40 40
xi 21, 34 , yi 30, 72 , x 2
i
22,16
i 1 i 1 i 1
40 40
y 2
i
94, 96 , x y i i
32,13
i 1 i 1
Solución:
y a bx
y x i
2
i
x i x iy i n x iy i x i y i
y i 1 i 1 i 1 i 1
i 1 i 1 i 1
x
2 2
n n n n
n x i2 x i n x i2 x i
i 1 i 1 i 1
i 1
Obtenemos
41
y 0.0114 1.161x
x i
yi n x y
r i 1
n n
xi2 n x 2 y 2
i
n y2
i 1 i 1
1 n 1 n
x x
n i 1 i
, y y
n i 1 i
Calculando
1 n 21.34 1 n 30.72
x
n i 1
xi
40
, y
n i 1
yi
40
x 0.5335 , y 0.768
x i
yi n x y
r i 1
n n
xi2 n x 2 y 2
i
n y2
i 1 i 1
Finalmente obtenemos
42
r 0.568
c) Interpretación
x 6,5 6,0 6,5 7,5 8,5 9,0 9,5 10,0 10,5 11,0
y 2165 2984 2780 1940 1750 1310 1535 962 840 655
Solución: