0% found this document useful (0 votes)
17 views11 pages

Deber

The document contains data with variables x, y, x^2, x*y, (y-a0-a1*x)^2, and (yi-yp)^2. A linear regression was performed to find the coefficients a0 and a1. The R^2 value indicates the regression fits the data well with 95% accuracy.

Uploaded by

Diánelis Ocampo
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
Download as xlsx, pdf, or txt
0% found this document useful (0 votes)
17 views11 pages

Deber

The document contains data with variables x, y, x^2, x*y, (y-a0-a1*x)^2, and (yi-yp)^2. A linear regression was performed to find the coefficients a0 and a1. The R^2 value indicates the regression fits the data well with 95% accuracy.

Uploaded by

Diánelis Ocampo
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1/ 11

sr st

n x y x^2 x*y (y-a0-a1*x)^2 (yi-yp)^2


1 1 1 1 1 0.0330578512 16
2 3 2 9 6 0.2066115702 9
3 4 4 16 16 0.826446281 1
4 6 4 36 24 0.132231405 1
5 8 5 64 40 0.4049586777 0
6 9 7 81 63 0.5289256198 4
7 11 8 121 88 0.2066115702 9
8 14 9 196 126 0.2066115702 16

sumatorias 56 40 524 364 2.5454545455 56


prom 5

8 56 a0
56 524 a1

a0
a1

a0
a1
r^2 ejercicio1
10
9 f(x) = 0.636363636363636 x + 0.545454545454545
R² = 0.954545454545455
8
0.95454545
7
6
5
4
3
2
1
40 0
0 2 4 6 8 10 12 14 16
364

0.49621212 -0.0530303 40
-0.0530303 0.00757576 364

0.54545455
0.63636364
2 14 16
n x y x^2 x*y (y-a0-a1*x)^2 (yi-yp)^2 r^2
1 2 1 4 2 0.0647156 30.25
2 4 2 16 8 0.1367135 20.25
3 6 5 36 30 2.2949125 2.25
4 7 2 49 14 4.1729532 20.25
5 10 8 100 80 5.2175075 2.25 0.8477697
6 11 7 121 77 0.527815 0.25
7 14 6 196 84 3.7889559 0.25
8 17 9 289 153 0.3838508 6.25
9 20 12 400 240 0.5004292 30.25

sumatorias 91 52 1211 688 17.087853 112.25


prom 6.5

9 91 a0 52
91 1211 a1 688

a0 0.4625668
a1 -0.0347594

a0 0.1390374
a1 0.5576776
ejercicio 2
14

12
f(x) = 0.557677616501146 x + 0.139037433155079
10 R² = 0.841125330673216

0
0 5 10 15 20 25

-0.0347594 52
0.0034377 688
n x y xi^2 xi^3 xi^4 Xi^2.Yi xi.yi
1 0 2.1 0 0 0 0 0
2 1 7.7 1 1 1 7.7 7.7
3 2 13.6 4 8 16 54.4 27.2
4 3 27.2 9 27 81 244.8 81.6
5 4 40.9 16 64 256 654.4 163.6
6 5 61.1 25 125 625 1527.5 305.5

sumatorias 15 152.6 55 225 979 2488.8 585.6


25.4333333

m= 2 6 15
15 55
55 225
sr st
(yi-a0-a1*xi-a2*xi^2)^2
(yi-yp)^2 r^2
0.14331633 544.444444 gráfico
1.00285918 314.471111 70
1.0816 140.027778
0.99850936 60
0.80486531 3.12111111 f(x) = 1.86071428571429 x² + 2.35928571428572 x + 2.47857142857142
0.61959388 239.217778 R² = 0.998509357298405
50
0.09433673 1272.11111
40

3.74657143 2513.39333 30

20

10
55 a0 152.6
0
225 a1 585.6 0 1 2 3 4 5 6
979 a2 2488.8

a0 0.82142857 -0.58928571 0.08928571 152.6


a1 -0.58928571 0.72678571 -0.13392857 585.6
a2 0.08928571 -0.13392857 0.02678571 2488.8

a0 2.47857143
a1 2.35928571
a2 1.86071429
2.47857142857142

4 5 6
n x y xi^2 xi^3 xi^4 xi^5 xi^6
1 0 2.1 0 0 0 0 0
2 1 7.7 1 1 1 1 1
3 2 13.6 4 8 16 32 64
4 3 27.2 9 27 81 243 729
5 4 40.9 16 64 256 1024 4096
6 5 61.1 25 125 625 3125 15625

sumatorias 15 152.6 55 225 979 4425 20515


25.4333333

m= 3
sr st
Xi^2.Yi xi^3.yi xi.yi (yi-a0-a1*xi-a2*xi^2-a3*xi^3)^2 (yi-yp)^2 r^2
0 0 0 0.022738725119983 544.444444
7.7 7.7 7.7 0.465860418249671 314.471111
54.4 108.8 27.2 1.49382716048098 140.027778
0.99865798
244.8 734.4 81.6 1.16502897456387 3.12111111
654.4 2617.6 163.6 0.219261778780252 239.217778
1527.5 7637.5 305.5 0.006298815823724 1272.11111

2488.8 11106 585.6 3.37301587301848 2513.39333

6 15 55 225 a0
15 55 225 979 a1
55 225 979 4425 a2
225 979 4425 20515 a3

a0
a1
a2
a3

a0
a1
a2
a3
gráfico
70

60
f(x) = 1.86071428571429 x² + 2.35928571428572 x + 2.47857142857142
R² = 0.998509357298405
50

40

30

20

10
152.6
0
585.6 0 1 2 3 4 5 6
2488.8
11106

0.96031746 -1.22354497 0.43650794 -0.0462963 152.6


-1.22354497 3.62323633 -1.71957672 0.21141975 585.6
0.43650794 -1.71957672 0.89484127 -0.11574074 2488.8
-0.0462963 0.21141975 -0.11574074 0.0154321 11106

2.25079365
3.3994709
1.29126984
0.07592593

You might also like