You are on page 1of 1

EJEMPLO DE REGRESIN LINEAL Y NO LINEAL

A partir de las siguientes observaciones para 5 aos de las variables X e Y,


ajstese el modelo de regresin de Y en funcin de X ms idneo.
Donde,
Y: produccin nacional de un subsector industrial, en millones de toneladas.
X: tiempo
Ao
1995
1996
1997
1998
1999

X
1
2
3
4
5

Y
1,25
5
11,25
20
30,5

1.- Ajuste de una funcin lineal: Y* = a + b X

X
1
2
3
4
5
15

Y
1,25
5
11,25
20
30,5
68

X2
1
4
9
16
25
55

XY
Y2
Y*
1,25
1,56
-1,1
10
25
6,25
33,75 126,56 13,6
80
400
20,95
152,5 930,25 28,3
277,5 1483,3
68

1/5

13,6

11

55,5

296,67

13,6

e=Y-Y*
2,35
-1,25
-2,35
-0,95
2,2
0

e2
5,5225
1,5625
5,5225
0,9025
4,84
18,35

3,67

S XY 1/5 XY - X Y 55,5 - (3 13,6) 14,7

7,35
2
S 2X
1/5 X 2 X 2
11 3 2

a Y - b X 13,6 - 7,35 3 - 8,45

Y* = -8,45 + 7,35 X
Bondad del Ajuste:
2
Coeficiente de determinacin: R = r XY
=

S2 *
Y
2
Y

S 2Y 1/5 Y 2 Y 2 296,675 - 13,6 2 111,715

S 2e ECM1

e
N

3,67

1-

S e2
S

2
Y

1-

3,67
0,9671
111,715

You might also like