Beruflich Dokumente
Kultur Dokumente
RESUELTO
1. Hallar las rectas de regresin de las variables X e Y
correspondientes a las edades de hombres y mujeres a la hora de
contraer matrimonio, hallar el grado de correlacin, error estndar
y varianza residual.
Esposo
40
36
20
18
60
50
Esposa
27
25
17
16
37
32
Respuesta
Primero construimos la tabla con los cuadrados de x e y,
tambin el producto entre x e y.
xi
yi
x 2i
xi yi
y 2i
40
36
20
18
60
50
27
25
17
16
37
32
1600
1296
400
324
3600
2500
729
625
289
256
1369
1024
1080
900
340
288
2220
1600
224
Medias:
154
9720
4292
6428
xi
224
x =
=
=37,33
n
6
i=0
yi
154
y = i=0 =
=25,67
n
6
Varianzas:
n
x 2i
9720
S 2x = i=0 x 2=
37,332=226,47
n
6
n
y 2i
S 2y = i=0
n
y 2=
4292
25,672 =56,38
6
Desviacin tpica:
S x = S2x = 226,47=15,05
S y = S2y = 56,38=7,51
Hallamos la Covarianza:
xi yi
Cov x , y = i=0
xy
=
6428
37,3325,67=1071,33958,26=113,07
6
Cov x , y
2
x
113,07
=0,5
226,47
Cov x , y
S
2
y
113,07
=2
56,38
Cov x , y
113,07
113,07
=
=
=1
S x S y 15,057,51 113,03
se=
2
i
y a y ib x i y i
i=1
i=1
i=1
429210783214
=0
6
y 2i a y ib x i
S r = i=1
i=1
i=1
2. En el
a)
b)
c)
d)
42921078112
=517
6
xi
yi
4.3
3.2
1.7
0.9
SOLUCIN:
a) Diagrama de dispersin o nube de puntos.
6
4
y 2
0
0.5
1.5
2.5
3.5
4.5
yi
xi yi
xi
yi
1
2
3
4
4,3
3,2
1,7
0,9
1
4
9
16
18,49
10,24
2,89
0,81
4,3
6,4
5,1
3,6
10
10,1
30
32,43
19,4
Medias:
n
xi
10
x =
= =2,5
n
4
i=0
Varianzas:
yi
10,1
y = i=0 =
=2,52
n
4
x 2i
30
S 2x = i=0 x 2= 2,52=1,25
n
4
n
y 2i
S 2y = i=0
n
y 2=
32,43
2,522=1,76
4
Desviacin tpica:
S x = S2x = 1,25=1,12
S y = S2y = 1,76=1,33
Hallamos la Covarianza:
n
xi yi
Cov x , y = i=0
xy
=
19,4
2,52,52=4,856,3=1,45
4
Cov x , y 1,45
=
=0,82
1, 76
S 2y
Cov x , y
1,45
1,45
=
=
=0,97
S x S y 1,121,33 1,49
r =(0,97) =0,94
i 1
i 1
de
y
i 1
sistema
an b xi
i 1
i 1
i 1
i 1
xi yi a xi b xi2
Ahora encontramos los datos que faltan para empezar a resolver el
sistema de ecuaciones por el mtodo de sustitucin.
n
xi
i 1
S
2
x
xi2
i 1
x 4
2
x
i 1
2
i
i 1
x
i 1
42
36 40 * 7 x xi2 280
i 1
2
i
i 1
471=42 a+280 b
69
6 b
7
Remplazamos y resolvemos:
471=42
b=
57
=2,04
28
16.68
=2,38
7
xi yi
Cov x , y = i=0
r=
xy
=
471
69,86=67,2959,16=8,13
7
Cov x , y
8,13
8,13
=
=
=0,79
S x S y 25,13 10,26