Análisis Estadístico
wilarz8914 de Noviembre de 2012
575 Palabras (3 Páginas)599 Visitas
Análisis estadístico de
PERÚ : TASA DE DESNUTRICIÓN CRÓNICA EN LA POBLACIÓN ESCOLAR DE 6 A 9 AÑOS DE EDAD,
SEGÚN REGIÓN, PROVINCIA Y DISTRITO, 1999 Y 2005
David
Profesor:
Pedro Javier Pérez Pérez
UNIVERSIDAD NACIONAL DE COLOMBIA – SEDE BOGOTÁ
Facultades de Ingeniería y Ciencias Económicas
Probabilidad y estadística fundamental
Junio 9
2011
Estadística descriptiva
mean sd 0% 25% 50% 75% 100% n
31.47866 15.16789 0 19.92366 32.05763 43.27607 74.07407 503
Shapiro-Wilk normality test
data: Datos$datos
W = 0.9825, p-value = 9.33e-06
Hipótesis nula para 0.0
One Sample t-test
data: Datos$datos
t = 46.5452, df = 502, p-value < 2.2e-16
alternative hypothesis: true mean is not equal to 0
95 percent confidence interval:
30.14993 32.80740
sample estimates:
mean of x
31.47866
Hipótesis nula para 0.05
One Sample t-test
data: Datos$datos
t = 46.4713, df = 502, p-value < 2.2e-16
alternative hypothesis: true mean is not equal to 0.05
95 percent confidence interval:
30.14993 32.80740
sample estimates:
mean of x
31.47866
Hipotesis nula para 0.025
One Sample t-test
data: Datos$datos
t = 46.5083, df = 502, p-value < 2.2e-16
alternative hypothesis: true mean is not equal to 0.025
95 percent confidence interval:
30.14993 32.80740
sample estimates:
mean of x
31.47866
> .cluster <- KMeans(model.matrix(~-1 + datos, Datos), centers = 10, iter.max =
+ 10, num.seeds = 10)
> .cluster$size # Cluster Sizes
[1] 80 55 35 62 6 40 38 80 52 55
> .cluster$centers # Cluster Centroids
datos
1 38.453585
2 53.844862
3 5.560975
4 26.787621
5 69.804525
6 10.094439
7 15.898609
8 45.343815
9 21.136331
10 32.494555
> .cluster$withinss # Within Cluster Sum of Squares
[1] 235.80945 502.03654 142.14484 147.83820 96.61187 71.69105 85.81498
[8] 355.29786 126.17282 121.81888
> .cluster$tot.withinss # Total Within Sum of Squares
[1] 1885.236
> .cluster$betweenss # Between Cluster Sum of Squares
[1] 113607.3
Histograma
Tallos y hojas
stem.leaf(Datos$datos, na.rm=TRUE)
1 | 2: represents 12
leaf unit: 1
n: 503
10 0* | 0222223334
56 0. | 5555556666666777777777777788888888999999999999
89 1* | 000000011111111222233334444444444
126 1. | 5555566666677777777777888888999999999
174 2* | 000000000001111111111112222222333333333444444444
227 2. | 55555555555566666666667777777777777777888888888899999
(52) 3* | 0000000000011111111111122222222222233333333344444444
224 3. | 5555555555566666666677777777777777777778888888888888888889999
163 4* | 0000000000000000111111122222222223333333333444444444444444444
102 4. | 5555555555555556666666666888888888888999999
...