Documentos de Académico
Documentos de Profesional
Documentos de Cultura
08 Ajuste de Una Recta Por Minimos Cuadrados PDF
08 Ajuste de Una Recta Por Minimos Cuadrados PDF
cuadrados
xi yi
y(unidades)
12
1 1.5
2 2.0 10
3 4.0 8
5 4.6
6 4.7 6
8 8.5 4
9 8.8
10 9.9 2
0
0 2 4 6 8 10 12
x(unidades)
N
( n, m) = ( yi mxi n )2
2
i =1
12
y
10 NS xy S x S y
m=
8 NS xx S x S x
6
(y i -mx i -n)
4
2
S xx S y S x S xy
0 n=
0 2 4 6 8 10 12 NS xx S x S x
X
(
2 N N
= 0 0 = 2 ( yi mxi n )xi = 2 ( yi xi mxi2 nxi )
m i =1 i =1
2 N
= 0 0 = 2 ( yi mxi n )
n i =1
Definiendo
N N N N
Sx = xi Sy = yi Sxx = x 2
i Sxy = xi yi
i =1 i =1 i =1 i =1
Suponemos que:
2 2
N m n
N
m2 = y ; n =
2 y
j =1 y j j =1 y j
y operando se obtiene:
S xx 2 ( n, m )
=2
n
NS xx S x S x N 2
N 2 ( n, m )
=2
m
NS xx S x S x N 2
NS xy S x S y N
r= siendo S yy = y i2
NS xx S x S x NS yy S y S y i =1
NS xy S x S y N 2 (n, m)
m= =0.935 (m)= = 0.081
NS xx S x S x NS xx S x S x N 2
S xx S y S x S xy S xx 2 (n, m)
n= = 0.36 (n)= = 0.512
NS xx S x S x NS xx S x S x N 2
NS xy S x S y
r= = 0.978
NS xx S x S x NS yy S y S y
10,0
8,0
6,0
4,0
2,0
0,0
0,0 2,0 4,0 6,0 8,0 10,0 12,0
x(unidades)