Supletorio ACP2 Resuelto
Supletorio ACP2 Resuelto
Supletorio ACP2 Resuelto
45 64 74 56 43 34
67 76 69 34 45 54
65 54 64 65 34 56
87 56 76 56 45 76
56 78 39 97 87 98
78 98 56 35 56 84
97 54 76 68 79 88
35 38 58 68 87 47
68 49 45 92 83 43
68 50 67 87 49 59
76 54 65 76 48 76
75 53 87 90 87 55
45 65 97 87 80 74
91 75 56 45 79 76
80 77 87 76 47 24
79 79 88 76 34 60
47 87 43 54 76 98
43 83 34 56 75 54
59 49 76 78 45 38
76 48 45 67 91 39
Matriz escogida: COVARIANZAS
Diagrama de sedimentación.
COVARIANZAS
%varianza acumulada
31.47715
58.33071
76.38731 > 75 %
87.46448
94.297717
100
3+0.16382543X4-0.47511253X5-0.65613969X6
3+0.5497239X4+0.5840408 X5-0.2395506 X6
+ 0.44208557 X4+0.08668401X5+0.50189021 X6 3 primeras componentes
ya que el acumulade la
varianza supera el 75%
3+0.16382543X4-0.47511253X5-0.65613969X6
3+0.5497239X4+0.5840408 X5-0.2395506 X6
3+0.5497239X4+0.5840408 X5-0.2395506 X6
como los valores propios son mayores a 346.7457
que es la division de (2080.474/6 ) donde
2080.474 es la suma de la traza y 6
654.8738>346.7457
558.6812>346.7457
375.6629>346.7457
> x=matrix(c(45,64,74,56,34,60,67,76,69,34,76,98,65,54,64,65,75,54,87,56,76,56,45,38,56,78,39,97,91,39
+ ), nrow=20, ncol=6)
>x
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 45 76 79 76 56 45
[2,] 64 56 88 54 45 54
[3,] 74 45 35 65 79 43
[4,] 56 38 38 76 76 83
[5,] 34 56 58 48 80 34
[6,] 60 78 68 76 77 56
[7,] 67 39 87 75 87 34
[8,] 76 97 47 53 76 56
[9,] 69 91 68 87 47 59
[10,] 34 39 49 90 24 49
[11,] 76 78 45 87 79 76
[12,] 98 98 92 55 79 78
[13,] 65 56 83 45 88 45
[14,] 54 35 43 65 76 76
[15,] 64 56 68 97 43 76
[16,] 65 84 50 87 34 48
[17,] 75 97 67 80 47 45
[18,] 54 54 87 74 87 67
[19,] 87 76 49 91 43 87
[20,] 56 68 59 75 54 98
> sigma=cov(x)
> sigma
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 249.08158 185.57632 29.57895 -0.60000 39.20789 85.69211
[2,] 185.57632 451.29211 63.31579 17.23158 -76.55000 27.86053
[3,] 29.57895 63.31579 334.52632 -72.73684 52.89474 -71.68421
[4,] -0.60000 17.23158 -72.73684 235.95789 -182.45263 84.88421
[5,] 39.20789 -76.55000 52.89474 -182.45263 402.66053 -29.77105
[6,] 85.69211 27.86053 -71.68421 84.88421 -29.77105 341.52368
> sigma2=cor(x)
> sigma2
[,1] [,2] [,3] [,4] [,5]
[1,] 1.000000000 0.55350669 0.1024700 -0.002474932 0.12380358
[2,] 0.553506691 1.00000000 0.1629551 0.052805475 -0.17957538
[3,] 0.102470007 0.16295512 1.0000000 -0.258894034 0.14412117
[4,] -0.002474932 0.05280547 -0.2588940 1.000000000 -0.59192045
[5,] 0.123803576 -0.17957538 0.1441212 -0.591920453 1.00000000
[6,] 0.293805279 0.07096595 -0.2120791 0.299019316 -0.08028127
[,6]
[1,] 0.29380528
[2,] 0.07096595
[3,] -0.21207914
[4,] 0.29901932
[5,] -0.08028127
[6,] 1.00000000
> eigen(sigma)
eigen() decomposition
$values
[1] 626.88220 558.56408 384.78749 238.68710 115.32552 90.79571
$vectors
[,1] [,2] [,3] [,4] [,5]
[1,] -0.3158308 -0.3869716 0.29600644 -0.03485702 0.59982549
[2,] -0.6119762 -0.5386738 -0.14752007 -0.32297523 -0.29722489
[3,] 0.1028513 -0.4672738 -0.39206334 0.78311842 0.03846979
[4,] -0.3613440 0.3612149 -0.05156193 0.16941776 0.60929798
[5,] 0.5173931 -0.4396726 0.50538850 -0.11786636 0.17904169
[6,] -0.3418953 0.1339795 0.69197413 0.48846972 -0.38351907
[,6]
[1,] 0.54943463
[2,] -0.34770366
[3,] -0.05107577
[4,] -0.57995625
[5,] -0.48746941
[6,] -0.02528509
> sum(diag(sigma))
[1] 2015.042
> (1.8666415/2015.042)*100
[1] 0.09263536
> (1.6484130/2015.042)*100
[1] 0.08180539
> (1.0924970/2015.042)*100
[1] 0.05421708
> (0.6947975/2015.042)*100
[1] 0.03448055
> (0.4081497/2015.042)*100
[1] 0.02025515
> (0.2895014/2015.042)*100
[1] 0.01436702
> 2015.042/6
[1] 335.8403
,45,38,56,78,39,97,91,39,78,98,56,35,56,84,97,54,76,68,79,88,35,38,58,68,87,47,68,49,45,92,83,43,68,50,67,87,49,5
2,83,43,68,50,67,87,49,59,76,54,65,76,48,76,75,53,87,90,87,55,45,65,97,87,80,74,91,75,56,45,79,76,80,77,87,76,47,
45,79,76,80,77,87,76,47,24,79,79,88,76,43,34,47,87,43, 54, 45, 54,43,83, 34, 56, 34, 56,59,49,76,78
34, 56,59,49,76,78,45,76,76,48,45,67,87,98