Analisis Estadisticos
Analisis Estadisticos
Analisis Estadisticos
TRABAJO FINAL
ANÁLISIS ESTADISTICOS DE UNA TESIS: “EVALUACIÓN DE CUATRO
SUSTRATOS CON BIOFORTIFICADOR PARA SEMILLEROS DE ARROZ (Oryza
sativa L.)
CURSO: MÉTODOS ESTADÍSTICOS
DOCENTE: BERMÚDEZ P., Wilmer
INTEGRANTES: -GUERRERO CIEZA, Artidoro
TINGO MARIA – PERU
2022
I. TRODUCCION
Objetivo:
II.2. RStudio
II.3. ANOVA
a. Germinación (%)
> DCA
tratamiento germinacion
1 1 90
2 1 90
3 1 90
4 1 90
5 1 89
6 1 90
7 1 90
8 1 91
9 1 90
10 1 90
11 2 95
12 2 95
13 2 96
14 2 96
15 2 94
16 2 95
17 2 95
18 2 96
19 2 96
20 2 96
21 3 88
22 3 86
23 3 86
24 3 85
25 3 86
26 3 85
27 3 86
28 3 86
29 3 86
30 3 87
31 4 91
32 4 91
33 4 92
34 4 91
35 4 90
36 4 93
37 4 92
38 4 90
39 4 91
40 4 90
41 5 91
42 5 90
43 5 93
44 5 91
45 5 92
46 5 92
47 5 93
48 5 95
49 5 92
50 5 90
> attach(DCA)
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(germinacion))
> model<-lm(Y~TRAT)
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
data: residuals(model)
> shapiro.test(residuals(model))
data: residuals(model)
> ad.test(residuals(model))
data: residuals(model)
> anova(model)
Response: Y
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
> #COMPARACION DE MEDIAS
> #TUKEY
TRAT, means
1 90.0 0.4714045 10 89 91
2 95.4 0.6992059 10 94 96
3 86.1 0.8755950 10 85 88
4 91.1 0.9944289 10 90 93
5 91.9 1.5238839 10 90 95
Y groups
2. 95.4 a
5. 91.9 b
4. 91.1 bc
1. 90.0 c
3. 86.1 d
> #DUNCAN
for Y
TRAT, means
1 90.0 0.4714045 10 89 91
2 95.4 0.6992059 10 94 96
3 86.1 0.8755950 10 85 88
4 91.1 0.9944289 10 90 93
5 91.9 1.5238839 10 90 95
Critical Range
2 3 4 5
Y groups
2 95.4 a
5 91.9 b
4 91.1 b
1 90.0 c
3 86.1 d
> #LSD
> library(agricolae)
Y groups
2 95.4 a
5 91.9 b
4 91.1 b
1 90.0 c
3 86.1 d
b. Vigor de plantas
> DCA
tratamiento vigor
1 1 86
2 1 86
3 1 86
4 1 85
5 1 85
6 1 85
7 1 86
8 1 86
9 1 87
10 1 84
11 2 90
12 2 90
13 2 91
14 2 91
15 2 89
16 2 90
17 2 90
18 2 91
19 2 91
20 2 91
21 3 85
22 3 81
23 3 81
24 3 80
25 3 81
26 3 80
27 3 81
28 3 81
29 3 81
30 3 82
31 4 85
32 4 83
33 4 84
34 4 82
35 4 83
36 4 82
37 4 85
38 4 85
39 4 85
40 4 79
41 5 89
42 5 88
43 5 92
44 5 90
45 5 91
46 5 91
47 5 95
48 5 95
49 5 92
50 5 85
> attach(DCA)
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(vigor))
> model<-lm(Y~TRAT)
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
data: residuals(model)
> shapiro.test(residuals(model))
data: residuals(model)
Response: Y
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
> #TUKEY
TRAT, means
1 85.6 0.8432740 10 84 87
2 90.4 0.6992059 10 89 91
3 81.3 1.4181365 10 80 85
4 83.3 1.9465068 10 79 85
5 90.8 3.0477679 10 85 95
Y groups
5 90.8 a
2 90.4 a
1 85.6 b
4 83.3 c
3 81.3 c
> #DUNCAN
for Y
TRAT, means
1 85.6 0.8432740 10 84 87
2 90.4 0.6992059 10 89 91
3 81.3 1.4181365 10 80 85
4 83.3 1.9465068 10 79 85
5 90.8 3.0477679 10 85 95
Critical Range
2 3 4 5
Y groups
5 90.8 a
2 90.4 a
1 85.6 b
4 83.3 c
3 81.3 d
> #LSD
> ibrary(agricolae)
Error in ibrary(agricolae) : no se pudo encontrar la función "ibrary"
Y groups
5 90.8 a
2 90.4 a
1 85.6 b
4 83.3 c
3 81.3 d
> DCA
tratamiento altura5dias
1 1 12.76
2 1 12.72
3 1 13.02
4 1 12.74
5 1 12.82
6 1 12.96
7 1 12.82
8 1 12.82
9 1 12.82
10 1 12.78
11 2 12.88
12 2 12.84
13 2 12.92
14 2 12.84
15 2 12.82
16 2 12.98
17 2 13.02
18 2 12.84
19 2 13.02
20 2 12.96
21 3 10.54
22 3 10.30
23 3 10.64
24 3 10.34
25 3 10.52
26 3 10.34
27 3 10.42
28 3 10.34
29 3 10.54
30 3 13.95
31 4 12.59
32 4 12.62
33 4 12.61
34 4 12.69
35 4 12.66
36 4 12.79
37 4 12.61
38 4 12.53
39 4 12.87
40 4 12.66
41 5 12.12
42 5 12.20
43 5 12.28
44 5 12.48
45 5 12.24
46 5 12.40
47 5 12.52
48 5 12.28
49 5 12.48
50 5 12.52
> attach(DCA)
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(altura5dias))
> model<-lm(Y~TRAT)
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
> shapiro.test(residuals(model))
data: residuals(model)
> anova(model)
Response: Y
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
> #TUKEY
TRAT, means
Y groups
2 12.912 a
1 12.826 a
4 12.663 a
5 12.352 a
3 10.793 b
> #DUNCAN
for Y
TRAT, means
Critical Range
2 3 4 5
2 12.912 a
1 12.826 ab
4 12.663 ab
5 12.352 b
3 10.793 c
> #LSD
> library(agricolae)
Y groups
2 12.912 a
1 12.826 a
4 12.663 ab
5 12.352 b
3 10.793 c
> grupos <- LSD.test(y=model, trt = "TRAT", group = F, console = T)
tratamiento altura10dias
1 1 12.20
2 1 12.64
3 1 12.80
4 1 12.64
5 1 13.04
6 1 12.96
7 1 12.96
8 1 12.80
9 1 12.84
10 1 12.72
11 2 15.62
12 2 15.96
13 2 14.64
14 2 15.64
15 2 15.40
16 2 15.00
17 2 14.72
18 2 15.48
19 2 14.20
20 2 15.12
21 3 11.34
22 3 11.38
23 3 11.02
24 3 11.42
25 3 11.60
26 3 12.08
27 3 11.16
28 3 11.62
29 3 11.98
30 3 12.78
31 4 14.71
32 4 14.35
33 4 14.39
34 4 14.96
35 4 14.14
36 4 14.46
37 4 14.37
38 4 14.69
39 4 14.51
40 4 14.55
41 5 16.30
42 5 16.18
43 5 16.50
44 5 15.44
45 5 16.94
46 5 16.88
47 5 17.46
48 5 16.28
49 5 17.66
50 5 16.63
> attach(DCA)
tratamiento
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(altura10dias))
> model<-lm(Y~TRAT)
>
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
data: residuals(model)
> shapiro.test(residuals(model))
data: residuals(model)
> anova(model)
Response: Y
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
> #TUKEY
TRAT, means
Y groups
5 16.627 a
2 15.178 b
4 14.513 c
1 12.760 d
3 11.638 e
> #DUNCAN
TRAT, means
Critical Range
2 3 4 5
Y groups
5 16.627 a
2 15.178 b
4 14.513 c
1 12.760 d
3 11.638 e
> #LSD
> library(agricolae)
Y groups
5 16.627 a
2 15.178 b
4 14.513 c
1 12.760 d
3 11.638 e
> DCA
tratamiento altura15dias
1 1 16.28
2 1 16.68
3 1 16.24
4 1 17.12
5 1 16.88
6 1 17.00
7 1 16.84
8 1 16.80
9 1 16.68
10 1 16.56
11 2 23.60
12 2 24.92
13 2 25.44
14 2 23.84
15 2 24.96
16 2 25.44
17 2 24.00
18 2 24.04
19 2 24.80
20 2 24.12
21 3 13.96
22 3 13.88
23 3 14.20
24 3 14.12
25 3 14.52
26 3 14.48
27 3 14.16
28 3 13.84
29 3 13.76
30 3 13.96
31 4 19.75
32 4 19.92
33 4 20.08
34 4 20.23
35 4 20.29
36 4 19.92
37 4 20.32
38 4 20.03
39 4 20.11
40 4 19.80
41 5 19.36
42 5 19.36
43 5 19.00
44 5 18.56
45 5 18.96
46 5 18.48
47 5 18.56
48 5 19.28
49 5 19.40
50 5 19.08
> attach(DCA)
tratamiento
tratamiento
tratamiento
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(altura15dias))
> model<-lm(Y~TRAT)
> #VERIFICACION DE SUPUESTOS
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
data: residuals(model)
> shapiro.test(residuals(model))
data: residuals(model)
> anova(model)
Response: Y
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
> #COMPARACION DE MEDIAS
> #TUKEY
TRAT, means
Y groups
2 24.516 a
4 20.045 b
5 19.004 c
1 16.708 d
3 14.088 e
> #DUNCAN
for Y
TRAT, means
Critical Range
2 3 4 5
Y groups
2 24.516 a
4 20.045 b
5 19.004 c
1 16.708 d
3 14.088 e
> DCA
tratamiento diam5dias
1 1 0.14
2 1 0.12
3 1 0.14
4 1 0.11
5 1 0.14
6 1 0.13
7 1 0.14
8 1 0.14
9 1 0.14
10 1 0.15
11 2 0.16
12 2 0.16
13 2 0.16
14 2 0.15
15 2 0.16
16 2 0.17
17 2 0.15
18 2 0.16
19 2 0.17
20 2 0.16
21 3 0.13
22 3 0.13
23 3 0.11
24 3 0.12
25 3 0.12
26 3 0.12
27 3 0.12
28 3 0.14
29 3 0.12
30 3 0.12
31 4 0.15
32 4 0.16
33 4 0.16
34 4 0.16
35 4 0.16
36 4 0.16
37 4 0.16
38 4 0.16
39 4 0.16
40 4 0.16
41 5 0.15
42 5 0.16
43 5 0.15
44 5 0.16
45 5 0.17
46 5 0.16
47 5 0.15
48 5 0.16
49 5 0.18
50 5 0.18
> attach(DCA)
tratamiento
tratamiento
tratamiento
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(diam5dias))
> model<-lm(Y~TRAT)
>
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
data: residuals(model)
> shapiro.test(residuals(model))
data: residuals(model)
> anova(model)
Response: Y
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
>
> #TUKEY
TRAT, means
Y groups
5 0.162 a
2 0.160 a
4 0.159 a
1 0.135 b
3 0.123 c
> #DUNCAN
for Y
TRAT, means
Critical Range
2 3 4 5
Y groups
5 0.162 a
2 0.160 a
4 0.159 a
1 0.135 b
3 0.123 c
> DCA
tratamiento diam10dias
1 1 0.16
2 1 0.16
3 1 0.16
4 1 0.17
5 1 0.16
6 1 0.16
7 1 0.15
8 1 0.14
9 1 0.17
10 1 0.16
11 2 0.17
12 2 0.16
13 2 0.16
14 2 0.17
15 2 0.18
16 2 0.18
17 2 0.17
18 2 0.17
19 2 0.17
20 2 0.18
21 3 0.14
22 3 0.14
23 3 0.13
24 3 0.14
25 3 0.12
26 3 0.13
27 3 0.14
28 3 0.14
29 3 0.13
30 3 0.13
31 4 0.17
32 4 0.15
33 4 0.16
34 4 0.17
35 4 0.14
36 4 0.16
37 4 0.16
38 4 0.16
39 4 0.16
40 4 0.16
41 5 0.17
42 5 0.16
43 5 0.17
44 5 0.18
45 5 0.17
46 5 0.18
47 5 0.16
48 5 0.14
49 5 0.17
50 5 0.16
> attach(DCA)
tratamiento
tratamiento
tratamiento
tratamiento
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(diam10dias))
> model<-lm(Y~TRAT)
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
data: residuals(model)
> shapiro.test(residuals(model))
data: residuals(model)
Response: Y
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
>
> #TUKEY
TRAT, means
Y groups
2 0.171 a
5 0.166 ab
1 0.159 b
4 0.159 b
3 0.134 c
> #DUNCAN
for Y
TRAT, means
Critical Range
2 3 4 5
Y groups
2 0.171 a
5 0.166 ab
1 0.159 b
4 0.159 b
3 0.134 c
h. Diámetro de la planta (cm) a los 15 días
> DCA
tratamiento diam15dias
1 1 0.20
2 1 0.20
3 1 0.19
4 1 0.19
5 1 0.18
6 1 0.19
7 1 0.19
8 1 0.19
9 1 0.19
10 1 0.18
11 2 0.21
12 2 0.21
13 2 0.22
14 2 0.21
15 2 0.22
16 2 0.24
17 2 0.24
18 2 0.22
19 2 0.21
20 2 0.21
21 3 0.18
22 3 0.18
23 3 0.19
24 3 0.13
25 3 0.17
26 3 0.20
27 3 0.16
28 3 0.16
29 3 0.19
30 3 0.17
31 4 0.19
32 4 0.19
33 4 0.19
34 4 0.18
35 4 0.19
36 4 0.19
37 4 0.19
38 4 0.19
39 4 0.18
40 4 0.18
41 5 0.22
42 5 0.22
43 5 0.20
44 5 0.30
45 5 0.24
46 5 0.20
47 5 0.24
48 5 0.27
49 5 0.18
50 5 0.21
> attach(DCA)
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(diam15dias))
> model<-lm(Y~TRAT)
>
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
data: residuals(model)
> shapiro.test(residuals(model))
data: residuals(model)
> anova(model)
Response: Y
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
> #COMPARACION DE MEDIAS
>
> #TUKEY
TRAT, means
Y groups
5 0.228 a
2 0.219 a
1 0.190 b
4 0.187 b
3 0.173 b
> #DUNCAN
for Y
Mean Square Error: 0.0003793333
TRAT, means
Critical Range
2 3 4 5
Y groups
5 0.228 a
2 0.219 a
1 0.190 b
4 0.187 b
3 0.173 b
i. Número de hojas por planta a los cinco días
> DCA
tratamiento Hoj5dias
1 1 2
2 1 2
3 1 2
4 1 1
5 1 2
6 1 2
7 1 2
8 1 2
9 1 2
10 1 2
11 2 2
12 2 2
13 2 2
14 2 2
15 2 2
16 2 2
17 2 2
18 2 2
19 2 2
20 2 2
21 3 2
22 3 2
23 3 1
24 3 1
25 3 2
26 3 1
27 3 2
28 3 1
29 3 2
30 3 2
31 4 2
32 4 2
33 4 2
34 4 2
35 4 2
36 4 2
37 4 2
38 4 2
39 4 2
40 4 2
41 5 2
42 5 2
43 5 2
44 5 2
45 5 1
46 5 1
47 5 1
48 5 2
49 5 1
50 5 1
> attach(DCA)
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(Hoj5dias))
> model<-lm(Y~TRAT)
>
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
data: residuals(model)
> shapiro.test(residuals(model))
data: residuals(model)
> anova(model)
Response: Y
Df Sum Sq Mean Sq F value Pr(>F)
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
>
> #TUKEY
TRAT, means
1 1.9 0.3162278 10 1 2
2 2.0 0.0000000 10 2 2
3 1.6 0.5163978 10 1 2
4 2.0 0.0000000 10 2 2
5 1.5 0.5270463 10 1 2
Alpha: 0.05 ; DF Error: 45
Y groups
2 2.0 a
4 2.0 a
1 1.9 ab
3 1.6 ab
5 1.5 b
> #DUNCAN
TRAT, means
1 1.9 0.3162278 10 1 2
2 2.0 0.0000000 10 2 2
3 1.6 0.5163978 10 1 2
4 2.0 0.0000000 10 2 2
5 1.5 0.5270463 10 1 2
Critical Range
2 3 4 5
Y groups
2 2.0 a
4 2.0 a
1 1.9 ab
3 1.6 bc
5 1.5 c
> #LSD
> library(agricolae)
Y groups
2 2.0 a
4 2.0 a
1 1.9 ab
3 1.6 bc
5 1.5 c
> DCA
tratamiento Hoj10dias
1 1 3
2 1 2
3 1 2
4 1 2
5 1 3
6 1 3
7 1 2
8 1 2
9 1 2
10 1 2
11 2 3
12 2 2
13 2 2
14 2 2
15 2 2
16 2 2
17 2 2
18 2 2
19 2 2
20 2 2
21 3 2
22 3 2
23 3 2
24 3 2
25 3 2
26 3 2
27 3 2
28 3 2
29 3 2
30 3 2
31 4 3
32 4 2
33 4 2
34 4 3
35 4 3
36 4 2
37 4 3
38 4 3
39 4 2
40 4 3
41 5 2
42 5 2
43 5 2
44 5 2
45 5 2
46 5 2
47 5 3
48 5 3
49 5 2
50 5 2
> attach(DCA)
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(Hoj10dias))
> model<-lm(Y~TRAT)
>
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
Lilliefors (Kolmogorov-Smirnov) normality test
data: residuals(model)
> shapiro.test(residuals(model))
data: residuals(model)
> anova(model)
Response: Y
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
> #TUKEY
TRAT, means
1 2.3 0.4830459 10 2 3
2 2.1 0.3162278 10 2 3
3 2.0 0.0000000 10 2 2
4 2.6 0.5163978 10 2 3
5 2.2 0.4216370 10 2 3
Y groups
4 2.6 a
1 2.3 ab
5 2.2 ab
2 2.1 ab
3 2.0 b
> #DUNCAN
for Y
TRAT, means
1 2.3 0.4830459 10 2 3
2 2.1 0.3162278 10 2 3
3 2.0 0.0000000 10 2 2
4 2.6 0.5163978 10 2 3
5 2.2 0.4216370 10 2 3
Alpha: 0.05 ; DF Error: 45
Critical Range
2 3 4 5
Y groups
4 2.6 a
1 2.3 ab
5 2.2 b
2 2.1 b
3 2.0 b
> #LSD
> library(agricolae)
Y groups
4 2.6 a
1 2.3 ab
5 2.2 b
2 2.1 b
3 2.0 b
> DCA
tratamiento Hoj15dias
1 1 3
2 1 3
3 1 2
4 1 2
5 1 2
6 1 2
7 1 2
8 1 3
9 1 2
10 1 2
11 2 3
12 2 3
13 2 3
14 2 3
15 2 3
16 2 3
17 2 3
18 2 3
19 2 3
20 2 3
21 3 2
22 3 2
23 3 2
24 3 2
25 3 2
26 3 2
27 3 2
28 3 2
29 3 2
30 3 3
31 4 3
32 4 3
33 4 3
34 4 3
35 4 3
36 4 3
37 4 3
38 4 3
39 4 3
40 4 3
41 5 3
42 5 3
43 5 3
44 5 3
45 5 3
46 5 3
47 5 3
48 5 3
49 5 3
50 5 3
> attach(DCA)
> TRAT<-factor(tratamiento)
> Y<-as.numeric(as.vector(Hoj15dias))
> model<-lm(Y~TRAT)
>
> ##NORMALIDAD
> library(nortest)
> lillie.test(residuals(model))
data: residuals(model)
> shapiro.test(residuals(model))
data: residuals(model)
> anova(model)
Response: Y
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
>
> #TUKEY
TRAT, means
1 2.3 0.4830459 10 2 3
2 3.0 0.0000000 10 3 3
3 2.1 0.3162278 10 2 3
4 3.0 0.0000000 10 3 3
5 3.0 0.0000000 10 3 3
Y groups
2 3.0 a
4 3.0 a
5 3.0 a
1 2.3 b
3 2.1 b
> #DUNCAN
for Y
TRAT, means
1 2.3 0.4830459 10 2 3
2 3.0 0.0000000 10 3 3
3 2.1 0.3162278 10 2 3
4 3.0 0.0000000 10 3 3
5 3.0 0.0000000 10 3 3
Critical Range
2 3 4 5
Y groups
2 3.0 a
4 3.0 a
5 3.0 a
1 2.3 b
3 2.1 b
> #LSD
> library(agricolae)
Y groups
2 3.0 a
4 3.0 a
5 3.0 a
1 2.3 b
3 2.1 b
VI. CONCLUSIÓN