Академический Документы
Профессиональный Документы
Культура Документы
Sobre un conjunto de conductores se ha realizado una encuesta para analizar su edad (Y) y
el nmero de accidentes que han sufrido (X). A partir de la misma, se obtuvieron los siguientes
resultados:
A partir de estos datos, se le pide que determine para esta distribucin las curvas de regresin de
Y sobre X y de X sobre Y.
La curva de y sobre x es
x
y
yb xi
b= x 3 , a= n
xy
n
2
x
675(2.23880)(14)
a= 15 = 47.089
y/x= -2,23880x+47.089
ahora de x/y
x
455625 2
15 ( 33375 ) 300
b= 15 ( 610 ) (14)(675) = = 207.59 x
3
= 0.000000001
x/y=0.000000001x+0.933
2. Para la economa espaola, disponemos de los datos anuales redondeados sobre consumo final
de los hogares a precios corrientes (Y) y renta nacional disponible neta (X), tomados de la
Contabilidad Nacional de Espaa base 1995 del INE , para el perodo 1995-2002, ambos
expresados en miles de millones de euros:
3
Considerando que el consumo se puede expresar como funcin lineal de la renta (Yt=a + b Xt),
determine:
X: la variable renta
x
y
b= x 3
xy
n
x 2=185781.65
.7
3814
b= 8 ( 1857281.65 )
8 ( 1263227.79 ) (3814.7)(2594.3)
209346.11
b= 306313.23
b= 0.6834
yb xi 2594.30.6834 (3814.7)
a= n = 8
4
12.8118047
a= 8
a= 160138
b) La varianza de la variable consumo y su descomposicin en varianza explicada y no explicada
por el modelo.
s2 y =
yi2n y 2
n
2
324.2875
s2 y
= 859186.798
17887.72875
s2 y = = 2235.966094
8
yi y 2
s2 ay=
El modelo es:
y= 0.6834x-1.60
y 1=0.6834 ( 381.7 ) 1.60=259.25
5
y 8=0.6834 ( 426.5 )1.60=289.87
77270.8841
s 2 ay = = 9658,88
8
s 2
yx =
( yi y i )
n
3.58736
s 2 yx = = 0.44842
8
c) el coeficiente de determinacion
2
s xy
r 2=
sxxsyy
Donde
xi yi
Sxy= xy n
x
2
Sxx=
x 2
y
Syy= 2
y 2
6
6847780277
= (382859.6387)(17887.72875)
6847780277
= 684914671.9
=0.999800
y^=0.6834(650.000)-1.60
x
sxy
e) r= sxxsyy donde Sxx= 2
x 2
y
2
Syy=
y 2
xi
yi
Sxy=
xy
7
( 3814.7 )2
1857281.65
Sxx= 8
Sxx =38289.638
2
( 2594.3)
Syy= 859186.79
8
Syy =17887.72
(3814.7)(2594.3)
Sxy= 1263227.79
8
Sxy =26168.26375
26168.26375 26168,26375
r= (38289.638)(1788.72) = 8275.834779 =3.16
AosProduccin
Exportaciones
199252.654 10.420
199353.972 11.841
199457.383 14.443
199561.829 16.732
199665.381 18.760
8
b) Si sabemos que las exportaciones para 1997 fueron de
69.045.704 millones de pesetas, cul sera la produccin interna
aproximada para ese ao? Qu grado de confianza dara usted a
esta prediccin?
c) Qu tanto por ciento de la varianza de las exportaciones
no vienen explicadas por la Produccin interna, y se debe a
otro tipo de variables?
d) e) El coeficiente de correlacin
X: variable exportacion
Y=bx + a
#=bx + n
a) Para saber la produccion de las exportaciones calculamos el modelo de
regresion de la forma:
x
y
Y: bx + a donde b= x 3
xy
n
yb xi
a= n
n=5
xy=4277.590
x 1=72.196
y 1=291.219
x 2=1089.2833
72.196 2
5 ( 1089.2833 )
b= 5 (4277.590)(72.196)( 291.219)
363.104021
b = 234.154354
b=1.55070
291.2191.55070(72.196)
a= 5 = 179.2643
2210.6100= 1.55070x+179.2643
2210.6100-179.2643=1.55070x
2031.345604=1.55070x
2031.345604
X= 1.55070
Para x= 1309.95
Y=1.55070(1309.95)+ 179.2643
=2210.60
1- =0.95
=10.95
sx =
x 2n x 2
n
1089.2835( 14.4392)
2
= = 9.36617416=3.060
x
2
Sxx=
x 2
2
(72.196)
=1089.28- 5
=46.830
1309.95(14.4392)
2210.60-(2.776 1
5 +
2
<
y
1309.9
<2210.60+(2.776)
1309.95(14.4392)
1
5 +
2
Y=1.55070(69045709)+ 179.2643
yi
yi
S xy=
2
xy
(72196)(291.219)
S2xy = 4277.590
5
72.62080
S2xy = 5
S2xy = 5273.78
x
2
Sxx=
x 2
2
( 72.196)
Sxx= 1089.28 5 = 46.830870
y
Syy= 2
y 2
2
(291.219)
= 17075.72 = 114.0283
5
5273.78
r=
2
(46,830)(114.0283)
5273.78
r=
2
5339.94529
r2=0,9876
r2=98.76%
100-98.76%=1.24% de varianza que no es explicada por las
variables.
Coeficiente de correlacion
sxy 72.62080 72.62080
r= sxxsyy = (46.8308708)(114.0283) = 5340.044585
72.62080
r = 7307560869 = 0.9937
como
mxy
rxy= sxsy = mxy= rxsxsy
mxy=(0.9)(1.20)(2.10)
mxy =2,26
mxy 2,26
bxy= 2
s y = bxy= 4,41 =0.51
x=bxy(y-y^)+x
x =0,51(y-10)+5
x =0,51(y-10)+5
x =0,51y-5,1+5
X= 0,51y-0,1
Y para y sobre x
y= bxy(x-x)+y
y=0.51(x-5)+10
y =0,51x 2,25 + 10
y =0,51x 7,45
axy= 10
dyx= y bxy X
byx=2
ayx =1
X: variable motor
x
y
6 ( 5875 )(585)(64.5) 2482.5
b= x 2 = 6(63125)(585)2 = 36525 = -0.06796
xy
n
y ib x i 64.5(0.06796)(586)
a= n = 5 = 20.85132, luego la
SSE =
S yy b S xy
=
=
( x i)( )
n
xy
2
y
( 64.5 )2
724.25
6 [
0.0676 ( 5875 )
(585)(64.5)
6 ]
SSE = 30.875 28.11845 = 2.75655
yi
S xy (585)(64.5)
r=
c) S xx S yy = ( x i) = 5875 - 6 = -413.75
xy
2
( x ) (585)2
Sxx = x n i
2
i = 63125 - 6 = 6087.5
2
( y ) (64.5)2
Syy = y n i
2
i = 724.25 - 6 = 30.875
X 10 20 30 40 50 60 70
Y 35 28 23 20 18 15 13
sea:
n XX X i Y i
b=
a Determinar el modelo que prediga la 2 2
n X i ( X i)
yb x i = 152(0.34642)(280)
a= n 7 = 35.5714
= 35.5714- 0.34642(X)
10 - 35.5714 = -0.34642(X)
- 25.5714 = 0.34642(X)
25.5714
=73.816 d as
X= 0.34642
S xy
r=
S xx S yy
2 2
( X ) (280)
S xx = X 2
= 14000 = 2800
n 7
2 2
( Y ) (152)
S xx = Y
2
= 3656 = 355.428
n 7
S xy = XY
x i y i =5110 ( 280 ) ( 152 ) =970
n 7
X
Y
X
XY
n
b=
XY = 1732800
X = 10
Y = 830300
X2 = 22.5
Para x=3
|195806.4194940|
Luego la variacin porcentual es: v = 100
=8.66
2
( X ) (10)2
S xx = X 2
= 22 .5 = 2.5
n 5
2
( Y ) (830300)2
S xx = Y 2
= 140034090 = 2154472000
n 5
S xy = XY
x i y i =1732800 ( 10 )( 830300 ) =72200
n 5