Está en la página 1de 5

X Y

Ventas (miles
Periodo MES XY X2 Y2
de S/)

1 ENERO 123 123 1 15129


2 FEBRERO 130 260 4 16900
3 MARZO 125 375 9 15625
4 ABRIL 138 552 16 19044
5 MAYO 145 725 25 21025
6 JUNIO 142 852 36 20164
7 JULIO 141 987 49 19881
8 AGOSTO 146 1168 64 21316
9 SETIEMBRE 147 1323 81 21609
10 OCTUBRE 157 1570 100 24649 r= 5148
11 NOVIEMBRE 150 1650 121 22500 5509.3201
12 DICIEMBRE 160 1920 144 25600
r2 =

Ventas (miles de S/)


180
160
f(x) = 3 x + 122.5
140 R² = 0.873134328358209
120
100
80
60
40
20
0
1 2 3 4 5 6 7 8 9 10
n n n
n X iYi   X i  Yi
r i 1 i 1 i 1
n 12 n n n n

78
n X  ( X i )
2 2
n Yi  ( Y1 ) 2
2
SX i 1
i
i 1 i 1 i 1
SY 1704
S XY 11505
n xy   x y  2


n x   x n y   y  
S X2 650 r2 2 2 2 2
S Y2 243442

Coeficiente de Correlación de Pearson


r= 0.9344166
0.9344166
Coeficiente de Determinación
r =
2
0.8731343
0.8731343

s de S/)

7 8 9 10 11 12
Yi
n
 ( Y1 ) 2
i 1

y 
2

  y 
2

n = 12
Xi Yi
n

Periodo MES
Ventas (miles
XiYi Xi 2
Yi 2 n X iYi
de S/)
r n
i 1
n
1 ENERO 123 123 1 15129 n  X i2  ( X
2 FEBRERO 130 260 4 16900 i 1 i 1

3 MARZO 125 375 9 15625


4 ABRIL 138 552 16 19044 r=
5 MAYO 145 725 25 21025
6 JUNIO 142 852 36 20164
7 JULIO 141 987 49 19881 r=
8 AGOSTO 146 1168 64 21316
9 SETIEMBRE 147 1323 81 21609
n xy
n x   x
10 OCTUBRE 157 1570 100 24649
11 NOVIEMBRE 150 1650 121 22500
r2  2
12 DICIEMBRE 160 1920 144 25600
= 78 1704 11505 650 243442
2
= 6084 2903616 r2 =

r2 =
n n n
n X iYi   X i  Yi
r n
i 1
n
i 1
n
i 1
n
n  X i2  ( X i ) 2 n Yi 2  ( Y1 ) 2
i 1 i 1 i 1 i 1

5148
5509.3201

0.93441657 Coeficiente de Correlación de Pearson Con Excel 0.9344166

n xy   x y  2

r2 
n x   x n y   y  
2 2 2 2

26501904
30352608

0.87313433 Coeficiente de Determinación Con Excel 0.8731343

También podría gustarte