Está en la página 1de 10

19 DE SEPTIEMBRE DE 2021

GRUPO ISIMA PLANTEL TOLUCA

1° SEMESTRE MAESTRIA PARA LA CALIDAD

ING. JOSE ALFREDO PICHARDO SALAZAR

ANALISIS DE
REGRESION
EJERCICIOS
DAVID SÁNCHEZ ÁLVAREZ
TOLIC200359
MAESTRIA PARA LA CALIDAD
EJERCICIO #1
Se sabe que el número de clientes diarios de un núcleo de población que acuden a un centro
comercial depende de la distancia entre ambos. Los datos de seis centros comerciales y sus
distancias a un núcleo de población son los siguientes:
No. De Distancia
clientes (KM)
(1x100) A) Hallar la media de cada variable
8 15 B) Hallar el coeficiente de correlación lineal
C) Graficas de dispersión de puntos
7 19
APARTADO DE FORMULAS:
6 25
COEFICIENTE DE
4 23
CORRELACION DE
PEARSON DESVIACION ESTANDAR (X)
2 34

√ ∑ (x−x )2
σ xy
r= σ x=
1 40 σx σ y N

COVARIANZA DESVIACION ESTANDAR (y)

σ=
∑ (x−x )( y− y )
N
σ y=
√ ∑ ( y− y)2
N

No. de clientes 8+7+6+ 4+ 2+ 1 28


x= = = =4.6 6
total de valores 6 6

sumade distancia 15+19+25+ 23+34+ 40 156


y= = = =26
total de valores 6 6

No. De Distancia x−x=no . de clientes−x


clientes (KM) x−x y− y
(1x100)
No. De Distancia 2
clientes
8 (KM)
15 x−x
3.34 y−
-11y ( x−x )2 ( y− y)2 ( x−x ) =( x−x )
(1x100) y− y=no . de clientes− y
elevado al
8
7 15
19 3.34
2.34 -11
-7 11.15 121
cuadrado
6
7 25
19 1.34
2.34 -1
-7 5.47 49

4
6 23
25 -0.66
1.34 -3
-1 1.79 1
( y− y )2 =( y− y )
2
4 34
23 -2.66
-0.66 8
-3 0.43 9 elevado al
2
1 34
40 -2.66
-3.66 8
14 7.07 64 cuadrado

1 40 -3.66 14 13.39 196

28 156 39.3 440


No. De Distancia
clientes (KM) x−x y− y ( x−x )2 ( y− y)2 (x−x )( y− y )
(1x100)
8 15 3.34 -11 11.15 121 -36.74

7 19 2.34 -7 5.47 49 -16.38

6 25 1.34 -1 1.79 1 -1.34

4 23 -0.66 -3 0.43 9 1.98

2 34 -2.66 8 7.07 64 -21.28

1 40 -3.66 14 13.39 196 -51.24

28 156 39.3 440 -125

COVARIANZA

σ=
∑ (x−x )( y− y ) = −125 =−20.83
N 6
σ =−20.83

DESVIACIÓN ESTANDAR X

σ x=
√ ∑ ( x−x )2 =¿
N √ 39.3
6
=√ 6.55=2.55 ¿

σ x =2.55

DESVIACIÓN ESTANDAR Y

σ y=
√ ∑ ( y− y)2 =
N √ 440
6
=√ 73.33=8.56

σ y =8.56
COEFICIENTE DE CORRELACION DE PEARSON
σ xy 20.83 20.83
r= = = =0.95
σ x σ y (2.55)(8.56) 21.82

COEFICIENTE DE DETERMINACION
r 2=0.952=0.9025
2
r =90.25 %
EJERCICIO #2
Es importante que los investigadores científicos del área de productos forestales sean capaces de
estudiar la correlación entre la anatomía y las propiedades mecánicas de los árboles. Para el estudio
Quantitative Anatomical Characteristics of plantation grown loblolly pine (Pinus Taeda L.) and
Cottonwood (populus deltoides Bart. Ex Marsh.) and their relationships of mechanical propertis,
realizado por el departamento de bosques y productos forestales de Virginia Tech, se seleccionaron
29 pinos de Arkanzas para investigarlos. En la tabla se presentan los datos resultantes sobre la
gravedad especifica en gramos/cm3 y el módulo de ruptura en Kilopascales (kPa). Calcule e
interprete el coeficiente de correlación muestral.
GRAVEDAD MÓDULO DE
ESPECIFICA RUPTURA APARTADO DE FORMULAS:
X(g/cm3) Y(kPa)
0.414 29186 gravedad especifica 0.414 +…+0.585 15.098
x= COEFICIENTE DE = = =0.52 0
0.383 29266 total de valores
CORRELACION DE
29 29
0.399 26215 PEARSON DESVIACION ESTANDAR (X)
0.402 30162


σ xy ( x−x )
2
0.442 38867 módulo
r = de ruptura 29186+ …+80490
σ x == 1897936
y= σ yvalores = N =65446.0689
0.442 37831 totalσ xde 29 29
0.466 44576
0.500
GRAVEDAD 46097DE
MÓDULO DESVIACION ESTANDAR (Y)
COVARIANZA
0.514 59698


ESPECIFICA RUPTURA x−x y− y
X(g/cm0.530
3
) 67705
Y(kPa) σ=
∑ (x−x )( y− y )
σ y=
∑ (x−x=no
y− y)2 . de clientes−x
0.569 66088 N -36260.0689 N
0.414 29186 -0.106
0.558
0.383 78486
29266 -0.137 -36180.0689
0.577
0.399 89869
26215 -0.121 -39231.0689 y− y=no . de clientes− y
0.572
0.402 77369
30162 -0.118 -35284.0689
0.548
0.442 67095
38867 -0.078 -26579.0689
0.581
0.442 85156
37831 -0.078 -27615.0689
0.557
0.466 69751
44576 -0.054 -20870.0689
0.550
0.500 84160
46097 -0.02 -19349.0689
0.531
0.514 73466
59698 -0.006 -5748.0689
0.550
0.530 78610
67705 0.01 2258.9311
0.556
0.569 67657
66088 0.049 641.9311
0.523
0.558 74017
78486 0.038 13039.9311
0.602
0.577 87291
89869 0.057 24422.9311
0.569
0.572 86836
77369 0.052 11922.9311
0.544
0.548 82540
67095 0.028 1648.9311
0.557
0.581 81699
85156 0.061 19709.9311
0.530
0.557 82096
69751 0.037 4304.9311
0.547
0.550 75657
84160 0.03 18713.9311
0.585
0.531 80490
73466 0.011 8019.9311
0.550 78610 0.03 13163.9311
0.556 67657 0.036 2210.9311
0.523 74017 0.003 8570.9311
0.602 87291 0.082 21844.9311
0.569 86836 0.049 21389.9311
0.544 82540 0.024 17093.9311
0.557 81699 0.037 16252.9311
0.530 82096 0.01 16649.9311
0.547 75657 0.027 10210.9311
0.585 80490 0.065 15043.9311
GRAVEDAD MÓDULO DE
ESPECIFICA RUPTURA x−x y− y ( x−x ¿2 ( y− y ¿2
X(g/cm3) Y(kPa)
0.414 29186 -0.106 -36260.0689 0.011236 1314792597
0.383 29266 -0.137 -36180.0689 0.018769 1308997386
0.399 26215 -0.121 -39231.0689 0.014641 1539076767
0.402 30162 -0.118 -35284.0689 0.013924 1244965518
0.442 38867 -0.078 -26579.0689 0.006084 706446904
0.442 37831 -0.078 -27615.0689 0.006084 762592030
0.466 44576 -0.054 -20870.0689 0.002916 435559776
0.500 46097 -0.02 -19349.0689 0.0004 374386467
0.514 59698 -0.006 -5748.0689 3.6E-05 33040296.1
0.530 67705 0.01 2258.9311 0.0001 5102769.71
0.569 66088 0.049 641.9311 0.002401 412075.537
0.558 78486 0.038 13039.9311 0.001444 170039803
0.577 89869 0.057 24422.9311 0.003249 596479564
0.572 77369 0.052 11922.9311 0.002704 142156286
0.548 67095 0.028 1648.9311 0.000784 2718973.77
0.581 85156 0.061 19709.9311 0.003721 388481384
0.557 69751 0.037 4304.9311 0.001369 18532431.8
0.550 84160 0.03 18713.9311 0.0009 350211217
0.531 73466 0.011 8019.9311 0.000121 64319294.8
0.550 78610 0.03 13163.9311 0.0009 173289082
0.556 67657 0.036 2210.9311 0.001296 4888216.33
0.523 74017 0.003 8570.9311 9E-06 73460859.9
0.602 87291 0.082 21844.9311 0.006724 477201015
0.569 86836 0.049 21389.9311 0.002401 457529152
0.544 82540 0.024 17093.9311 0.000576 292202480
0.557 81699 0.037 16252.9311 0.001369 264157769
0.530 82096 0.01 16649.9311 0.0001 277220206
0.547 75657 0.027 10210.9311 0.000729 104263114
0.585 80490 0.065 15043.9311 0.004225 226319863
15.098 1897936 0.109212 11808843298
VEDAD MÓDULO DE
ECIFICA RUPTURA x−x y− y ( x−x ¿2 ( y− y ¿2 (x−x )( y− y
m 3) Y(kPa)
0.414 29186 -0.106 -36260.0689 0.011236 1314792597 14773009.6
0.383 29266 -0.137 -36180.0689 0.018769 1308997386 24568571.9
0.399 26215 -0.121 -39231.0689 0.014641 1539076767 22533622.9
0.402 30162 -0.118 -35284.0689 0.013924 1244965518 17334899.9
0.442 38867 -0.078 -26579.0689 0.006084 706446904 4298022.96
0.442 37831 -0.078 -27615.0689 0.006084 762592030 4639609.91
0.466 44576 -0.054 -20870.0689 0.002916 435559776 1270092.31
0.500 46097 -0.02 -19349.0689 0.0004 374386467 149754.587
0.514 59698 -0.006 -5748.0689 3.6E-05 33040296.1 1189.45066
0.530 67705 0.01 2258.9311 0.0001 5102769.71 510.276971
0.569 66088 0.049 641.9311 0.002401 412075.537 989.393365
0.558 78486 0.038 13039.9311 0.001444 170039803 245537.476
0.577 89869 0.057 24422.9311 0.003249 596479564 1937962.1
0.572 77369 0.052 11922.9311 0.002704 142156286 384390.597
0.548 67095 0.028 1648.9311 0.000784 2718973.77 2131.67544
0.581 85156 0.061 19709.9311 0.003721 388481384 1445539.23
0.557 69751 0.037 4304.9311 0.001369 18532431.8 25370.8991
0.550 84160 0.03 18713.9311 0.0009 350211217 315190.095
0.531 73466 0.011 8019.9311 0.000121 64319294.8 7782.63468
0.550 78610 0.03 13163.9311 0.0009 173289082 155960.174
0.556 67657 0.036 2210.9311 0.001296 4888216.33 6335.12836
0.523 74017 0.003 8570.9311 9E-06 73460859.9 661.147739
0.602 87291 0.082 21844.9311 0.006724 477201015 3208699.62
0.569 86836 0.049 21389.9311 0.002401 457529152 1098527.5
0.544 82540 0.024 17093.9311 0.000576 292202480 168308.629
0.557 81699 0.037 16252.9311 0.001369 264157769 361631.986
0.530 82096 0.01 16649.9311 0.0001 277220206 27722.0206
0.547 75657 0.027 10210.9311 0.000729 104263114 76007.8101
0.585 80490 0.065 15043.9311 0.004225 226319863 956201.421
15.098 1897936 0.109212 11808843298 99994233.4
COVARIANZA

σ=
∑ (x−x )( y− y ) = 99994233.4 =3448077.014
N 29
σ =34488 0 77 . 014

DESVIACIÓN ESTANDAR X

σ x=
√ ∑ ( x−x )2 =¿
N √ 0.109212
29
=√3.765931034 x 10−3=0.06136718206¿

σ x =0.06136718206

DESVIACIÓN ESTANDAR Y

σ y=
√ ∑ ( y− y)2 =
N √ 11808843298
29
=√ 407201493=20179 .2342

σ y =20179 .2342

COEFICIENTE DE CORRELACION DE PEARSON


σ xy 34488077.014 34488077.014
r= = = =27850.18713
σ x σ y (0.06136718206)(20179.2342) 1238.342739

COEFICIENTE DE DETERMINACION
2 2
r =27850.18713 =775632923.2
r 2=77.56 %

También podría gustarte