Professional Documents
Culture Documents
Ejercicio de Regresion
Ejercicio de Regresion
Ejercicio de Regresion
5
Años ventas publicidad x^2 xy y^2
1 150 4 16 600 22500
2 157 4.5 20.25 706.5 24649
3 162 4.7 22.09 761.4 26244
4 166 5 25 830 27556
5 177 5.2 27.04 920.4 31329
∑y ∑x ∑x^2 ∑xy ∑y^2
812 23.4 110.38 3818.3 132278
n=5 promedio 162.4 4.68 22.076 763.66 26455.6
R -742376.113
x y
publicidad ventas
4 150
4.5 157
4.7 162
5 166
5.2 177
180
175
f(x) = 20.8986175115207 x + 64.5944700460829
170 R² = 0.926444090075724
165
160
155
150
145
140
135
4 4.2 4.4 4.6 4.8 5 5.2 5.4
Regresion lineal
a;o vantas
N=5 x y x^2 xy y^2
1 1 12 1 12 144
2 2 14 4 28 196
3 3 13 9 39 169
4 4 15 16 60 225
5 5 16 25 80 256
sumx^2 55
sumxy 219
sumy^2 990
sumx 70
sumy 15
promedio x,y 3 14
b 9 10 0.9
a 11.3 Ano
1
y=64,63+20,89x 2
3
4
R 45 0.81 5
50
18
4 150 16
f(x) = 0.900000000000001 x + 11.3
4.5 157 14 R² = 0.81
4.7 162 12
5 166 10
5.2 177
8
6
4
2
0
1 1.5 2 2.5 3 3.5 4 4.5 5 5.5
ventas
12
14
13
15
16
x y
Trimestre ventas Volumen de llamada
1 1 4894 6809
1 2 4703 6465
1 3 4748 6569
1 4 5844 8266
2 1 5192 7257
2 2 5086 7064
2 3 5511 7784
2 4 6107 8724
3 1 5052 6992
3 2 4985 6822
3 3 5576 7949
3 4 6647 9650
4 1 5500
x y x^2
ventas Volumen de llamada
4894 6809 23951236
4703 6465 22118209
4748 6569 22543504
5844 8266 34152336
5192 7257 26956864
5086 7064 25867396
5511 7784 30371121
6107 8724 37295449
5052 6992 25522704
4985 6822 24850225
5576 7949 31091776
6647 9650 44182609
5500 30250000
∑y 90351
∑x 69845
∑x^2 379153429
∑xy
∑y^2
promedios
estimacion de llamadas error
12000
10000
f(x) = 1.63240849219869 x − 1223.8603692104
8000 R² = 0.997871817213021
6000
4000
2000
0
4894 5094 5294 5494 5694 5894 6094 6294 6494 6694 6894
xy
33323246
30404895
31189612
48306504
37678344
35927504
42897624
53277468
35323584
34007670
44323624
64143550
0