Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Regresión Lineal
Regresión Lineal
y=ax+b
En donde a y b se pueden calcular mediante dos mtodos:
Mtodo de la covarianza:
x =
i=0
xi
n
yi
Media de
i=0lanvariable dependiente
y =
Covarianza
xy =
i=0
xi y i
x y
n
Desviacin tpica
de
2 x
n
x=
( ( ) )
i=0
xi
n
x 2
Entonces: La pendiente
a=
xy
( x )2
Y el trmino independiente
b= y a x
y=ax+b
y=ax+b
Total
190
195
200
205
210
x =
i=0
xi 1950
=
=195
n
10
y i 921
=
=92,1
n 10
y =
i=0
xy =
i=0
( )
n
x=
a=
xi y i
179971
x y =
(195 )( 92,1 )
n
10
( xi )
i=0
xy
( x )
x =
xy =37,6
380618
2
( 192 ) =6,07
10
37,6
=1,02
( 6,07 )2
y=1,02 x106,8
120
100
80
Peso
60
40
20
0
184
186
188
190
192
194
196
Estatura
Error:
e=100,26100
198
200
202
204
Total
Chart Title
120
100
80
60
40
20
0
40
50
60
70
80
x =
i=0
n
y =
i=0
xy =
xi 738
=
=73,8
n 10
y i 776
=
=77,6
n 10
n
i=0
xi y i
58798
x y =
( 73,8 ) (77,6 )=152,92
n
10
90
100
( )
n
x=
a=
( xi )
n
i=0
xy
( x )
x =
55844
2
( 73,8 ) =11,74
10
152,92
=1,11
(11,74 )2
b= y a x =77,61,11(73,8)=4,31
Entonces la ecuacin de la recta es:
y=1,11 x4,31
120
100
80
Prueba
60
40
20
0
40
50
60
70
80
90
100
Simulacro
Error: