Está en la página 1de 24

Modelos Lineales

Regresin Lineal Simple

Mariano Bonoli 1
Regresin Lineal Simple
Cantidad
Campaa Ventas
Fotos
1 2 31.1
2 7 65.8
3 1 26.9
4 5 43.3
5 3 36.6
6 14 104.0
7 4 43.1
8 10 69.7
9 15 107.7
10 8 74.1
11 12 89.5
12 8 54.7
13 7 55.7
14 10 82.2
15 12 75.0
Regresin Lineal Simple
Regresin Lineal Simple

Criterio de Gauss:
Q ei2 min
Supuestos de la Regresin Lineal Simple

Supuestos del modelo

E 0
i

D
2 2 2
i

i Normal 0; 2
Cov( i ; j ) 0

Mariano Bonoli 5
Regresin Lineal Simple
y 0 1 x

Criterio de Gauss:
Q ei2 min
Regresin Lineal Simple

Modelo yi b0 b1 xi

Estimacin

b1
( xi x )( yi y )
Qxy Qxx ( xi x ) 2 xi2 nx 2

( xi x ) 2
Qxx Qyy ( yi y ) 2 yi2 ny 2

b0 y b1 x Qxy ( xi x )( yi y ) xi yi nxy
Regresin Lineal Simple
Regresin Lineal Simple
Interpretacin del modelo
Regresin Lineal Simple

Coeficiente de Correlacin
Coeficiente de Determinacin
Test de significacin de los coeficientes
Regresin Lineal Simple
Coeficiente de Correlacin

Mide del grado de dependencia lineal entre dos


variables cuantitativas

r
x x y y
1 r 1
n 1 S x S y
Regresin Lineal Simple
Coeficiente de Correlacin
Regresin Lineal Simple
Coeficiente de Determinacin (R)

yi yi
2
Q
R 1 1
2

y y
2
T i
Regresin Lineal Simple
120
Remuneracin
[kUS$/ao]

100
y b0 b1 x e
Criterio de Gauss:
80
Q ei2 min

60
y 0 1 x
40

20

Experiencia [aos]
0
0 2 4 6 8 10 12 14 16
Regresin Lineal Simple

Sobre la pendiente:
Ho) 1 0 vs Ha ) 1 0
Ho) 1 0 vs Ha ) 1 0
Ho) 1 0 vs Ha ) 1 0
Regresin Lineal Simple

Un buen modelo debe contener

Coeficiente de correlacin con valor absoluto alto


Coeficiente de determinacin alto
Sus coeficientes de regresin (pendientes) deben ser
significativamente distintas de cero.
Regresin Lineal Simple
Intervalos de Confianza y Prediccin

Sobre la media de y en un punto x0: E y0 x0 0 1 x0

y 0 E y0 1 ( x x ) 2
2
t s y0
2 0
s
s y0 n Qxx

Prediccin de y en un punto x0: y0 0 1 x0

y E y0 1 ( x0 x ) 2 2
t 0 2
1
s y0 y0 s y0 y0 s
n Qxx
Regresin Lineal Simple
Regresin Lineal Simple
Qu valor de R esperamos?

r 0,94
Regresin Lineal Simple
Qu valor de R esperamos?
Ventas Anuales Supermercado

0,
rr 0,94
603

Nmero de CKOUT
Regresin Lineal Simple

Atencin!!
r 0,86
Regresin Lineal Simple
Estimar e interpretar ejercicio de Fotos

1. Con Excel

2. Con Infostat
Regresin Lineal Simple
Regresin Lineal Simple

También podría gustarte