Está en la página 1de 29

TITULO: "BOTÓN DE ORO "

AUTHOR: "KATHERIN PEREZ "

---

> names(DCA)

[1] "Tratamiento" "Numero_Planta" "Altura_cm"

[4] "Relación_hoja_tallo" "Tasa_de_crecimiento" "Biomasa_hoja_kgMS_ha"

[7] "Biomasa_tallo_kgMS_ha" "Biomasa_forrajera_kgMS_ha"


"Porcentaje_de_Materia_seca_hoja"

[10] "Porcentaje_de_Materia_seca_tallo" "Porcentaje_de_Materia_seca_total"

> DCA$Tratamiento=as.factor(DCA$Tratamiento)

> #Analizamos la altura de las plantas

> mdca=lm(Altura_cm~Tratamiento,data = DCA)

> summary(mdca)

Call:

1. lm(formula = Altura_cm ~ Tratamiento, data = DCA)


 Residuals:

Min 1Q Median 3Q Max

-54.67 -5.00 2.00 8.50 36.33

 Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 66.312 7.204 9.205 1.66e-09 ***

TratamientoT2 22.188 10.188 2.178 0.0391 *

TratamientoT3 50.688 10.545 4.807 6.15e-05 ***

TratamientoT4 67.354 11.004 6.121 2.13e-06 ***

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 20.38 on 25 degrees of freedom

Multiple R-squared: 0.6456, Adjusted R-squared: 0.603

F-statistic: 15.18 on 3 and 25 DF, p-value: 7.877e-06


> anova(mdca)

Analysis of Variance Table

Response: Altura_cm

Df Sum Sq Mean Sq F value Pr(>F)

Tratamiento 3 18904 6301.3 15.178 7.877e-06 ***

Residuals 25 10379 415.2

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> rmdca=residuals(mdca)

> shapiro.test(rmdca)

Shapiro-Wilk normality test

data: rmdca

W = 0.94013, p-value = 0.101

> qqnorm(rmdca)

> qqline(rmdca,col="red",lwd=4)

> library(car)

> leveneTest(mdca)

Levene's Test for Homogeneity of Variance (center = median)

Df F value Pr(>F)

group 3 9.8258 0.000184 ***

25

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> library(agricolae)

> dlsss=LSD.test(mdca,"Tratamiento")

> dlsss
$statistics

MSerror Df Mean CV

415.1521 25 98.60345 20.66386

$parameters

test p.ajusted name.t ntr alpha

Fisher-LSD none Tratamiento 4 0.05

$means

Altura_cm std r se LCL UCL Min Max Q25 Q50 Q75

T1 66.3125 5.599346 8 7.203750 51.4761 81.1489 57.0 75 62.75 67.00 69.375

T2 88.5000 11.442402 8 7.203750 73.6636 103.3364 63.5 99 84.75 92.25 95.500

T3 117.0000 14.986105 7 7.701132 101.1392 132.8608 96.0 135 106.25 119.00 128.250

T4 133.6667 39.737472 6 8.318174 116.5351 150.7983 79.0 170 103.25 145.00 166.500

$comparison

NULL

$groups

Altura_cm groups

T4 133.6667 a

T3 117.0000 a

T2 88.5000 b

T1 66.3125 c

attr(,"class")

[1] "group"

> #Analizamos la relacion existente de hoja entre tallo

> mdca1=lm(Relación_hoja_tallo~Tratamiento,data = DCA)

> summary(mdca1)
Call:

lm(formula = Relación_hoja_tallo ~ Tratamiento, data = DCA)

Residuals:

Min 1Q Median 3Q Max

-6.4804 -0.6240 -0.0494 0.2539 6.4214

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 9.6490 0.8028 12.019 6.94e-12 ***

TratamientoT2 -7.6761 1.1353 -6.761 4.37e-07 ***

TratamientoT3 -8.2089 1.1752 -6.985 2.54e-07 ***

TratamientoT4 -8.2065 1.2263 -6.692 5.17e-07 ***

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 2.271 on 25 degrees of freedom

Multiple R-squared: 0.743, Adjusted R-squared: 0.7122

F-statistic: 24.09 on 3 and 25 DF, p-value: 1.509e-07

> anova(mdca1)

Analysis of Variance Table

Response: Relación_hoja_tallo

Df Sum Sq Mean Sq F value Pr(>F)

Tratamiento 3 372.64 124.215 24.092 1.509e-07 ***

Residuals 25 128.89 5.156

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> rmdca1=residuals(mdca1)
> shapiro.test(rmdca1)

Shapiro-Wilk normality test

data: rmdca1

W = 0.84667, p-value = 0.0006501

> qqnorm(rmdca1)

> qqline(rmdca1,col="red",lwd=4)

> leveneTest(mdca1)

Levene's Test for Homogeneity of Variance (center = median)

Df F value Pr(>F)

group 3 11.802 5.24e-05 ***

25

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> dls1=LSD.test(mdca1,"Tratamiento")

> dls1

$statistics

MSerror Df Mean CV

5.155793 25 3.852131 58.94496

$parameters

test p.ajusted name.t ntr alpha

Fisher-LSD none Tratamiento 4 0.05

$means

Relación_hoja_tallo std r se LCL UCL Min Max Q25 Q50 Q75

T1 9.649026 4.1539738 8 0.8027915 7.9956460 11.302406 3.1686047 16.070423


7.358469 9.088819 12.400000

T2 1.972939 0.1966259 8 0.8027915 0.3195593 3.626319 1.6613817 2.226872


1.888243 1.948997 2.112968
T3 1.440118 0.4758153 7 0.8582202 -0.3274192 3.207656 0.7959581 2.180868
1.194663 1.316681 1.698998

T4 1.442541 1.1381837 6 0.9269838 -0.4666175 3.351700 0.6162480 3.646154


0.759418 1.035752 1.499464

$comparison

NULL

$groups

Relación_hoja_tallo groups

T1 9.649026 a

T2 1.972939 b

T4 1.442541 b

T3 1.440118 b

attr(,"class")

[1] "group"

> #Analizamos la Biomasa de hoja por kg/MS por Hectarea

> mdca2=lm(Biomasa_hoja_kgMS_ha~Tratamiento,data = DCA)

> summary(mdca2)

Call:

lm(formula = Biomasa_hoja_kgMS_ha ~ Tratamiento, data = DCA)

Residuals:

Min 1Q Median 3Q Max

-1700.78 -283.94 -27.83 221.39 2475.89

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 536.9 265.0 2.026 0.053579 .

TratamientoT2 480.9 374.8 1.283 0.211233


TratamientoT3 1315.0 388.0 3.390 0.002327 **

TratamientoT4 1795.9 404.8 4.436 0.000161 ***

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 749.6 on 25 degrees of freedom

Multiple R-squared: 0.4942, Adjusted R-squared: 0.4335

F-statistic: 8.143 on 3 and 25 DF, p-value: 0.0005965

> anova(mdca2)

Analysis of Variance Table

Response: Biomasa_hoja_kgMS_ha

Df Sum Sq Mean Sq F value Pr(>F)

Tratamiento 3 13728128 4576043 8.1432 0.0005965 ***

Residuals 25 14048625 561945

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> rmdca2=residuals(mdca2)

> shapiro.test(rmdca2)

Shapiro-Wilk normality test

data: rmdca2

W = 0.85963, p-value = 0.001207

> qqnorm(rmdca2)

> qqline(rmdca2,col="red",lwd=4)

> leveneTest(mdca2)

Levene's Test for Homogeneity of Variance (center = median)

Df F value Pr(>F)
group 3 6.8193 0.001633 **

25

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> dls2=LSD.test(mdca2,"Tratamiento")

> dls2

$statistics

MSerror Df Mean CV

561945 25 1358.561 55.17823

$parameters

test p.ajusted name.t ntr alpha

Fisher-LSD none Tratamiento 4 0.05

$means

Biomasa_hoja_kgMS_ha std r se LCL UCL Min Max Q25 Q50


Q75

T1 536.9167 244.4058 8 265.0342 -8.93147 1082.765 152.6667 760.6667 456.8333


612.0000 717.6667

T2 1017.8333 322.5960 8 265.0342 471.98520 1563.681 718.6667 1654.0000


809.0000 917.3333 1079.5000

T3 1851.9429 358.2545 7 283.3335 1268.40665 2435.479 1460.0000 2392.2667


1589.6667 1679.3333 2126.3333

T4 2332.7778 1557.6861 6 306.0351 1702.48664 2963.069 632.0000 4808.6667


1245.6667 2026.3333 3145.0000

$comparison

NULL

$groups

Biomasa_hoja_kgMS_ha groups

T4 2332.7778 a

T3 1851.9429 a
T2 1017.8333 b

T1 536.9167 b

attr(,"class")

[1] "group"

> #Analizamos la Biomasa de tallo por kg/MS por Hectarea

> mdca3=lm(Biomasa_tallo_kgMS_ha~Tratamiento,data = DCA)

> summary(mdca3)

Call:

lm(formula = Biomasa_tallo_kgMS_ha ~ Tratamiento, data = DCA)

Residuals:

Min 1Q Median 3Q Max

-2606.0 -139.8 -20.8 92.8 3721.3

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 70.75 402.40 0.176 0.861853

TratamientoT2 441.75 569.09 0.776 0.444886

TratamientoT3 1351.17 589.06 2.294 0.030481 *

TratamientoT4 2708.58 614.68 4.406 0.000174 ***

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 1138 on 25 degrees of freedom

Multiple R-squared: 0.4713, Adjusted R-squared: 0.4079

F-statistic: 7.429 on 3 and 25 DF, p-value: 0.001017

> anova(mdca3)

Analysis of Variance Table


Response: Biomasa_tallo_kgMS_ha

Df Sum Sq Mean Sq F value Pr(>F)

Tratamiento 3 28869900 9623300 7.4286 0.001017 **

Residuals 25 32385776 1295431

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> rmdca3=residuals(mdca3)

> shapiro.test(rmdca3)

Shapiro-Wilk normality test

data: rmdca3

W = 0.78478, p-value = 4.508e-05

> qqnorm(rmdca3)

> qqline(rmdca3,col="red",lwd=4)

> leveneTest(mdca3)

Levene's Test for Homogeneity of Variance (center = median)

Df F value Pr(>F)

group 3 20.064 7.745e-07 ***

25

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> dls3=LSD.test(mdca3,"Tratamiento")

> dls3

$statistics

MSerror Df Mean CV

1295431 25 1079.154 105.4687

$parameters
test p.ajusted name.t ntr alpha

Fisher-LSD none Tratamiento 4 0.05

$means

Biomasa_tallo_kgMS_ha std r se LCL UCL Min Max Q25 Q50


Q75

T1 70.750 67.85179 8 402.4039 -758.0163 899.5163 20.0000 229.3333 40.83333


51.33333 63.0000

T2 512.500 130.35422 8 402.4039 -316.2663 1341.2663 372.6667 748.0000


405.50000 497.66667 592.8333

T3 1421.924 629.45403 7 430.1878 535.9354 2307.9122 804.5333 2738.0000


1104.46667 1225.33333 1488.3333

T4 2779.333 2443.65828 6 464.6560 1822.3564 3736.3102 173.3333 6500.6667


860.00000 2568.00000 4073.5000

$comparison

NULL

$groups

Biomasa_tallo_kgMS_ha groups

T4 2779.333 a

T3 1421.924 b

T2 512.500 bc

T1 70.750 c

attr(,"class")

[1] "group"

> #Analizamos la Biomasa forrajera por kg/MS por Hectarea

> mdca4=lm(Biomasa_forrajera_kgMS_ha~Tratamiento,data = DCA)

> summary(mdca4)

Call:

lm(formula = Biomasa_forrajera_kgMS_ha ~ Tratamiento, data = DCA)


Residuals:

Min 1Q Median 3Q Max

-4306.8 -435.0 0.3 348.3 6197.2

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 607.7 654.0 0.929 0.361682

TratamientoT2 922.7 924.9 0.998 0.328024

TratamientoT3 2666.2 957.3 2.785 0.010056 *

TratamientoT4 4504.4 999.0 4.509 0.000133 ***

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 1850 on 25 degrees of freedom

Multiple R-squared: 0.487, Adjusted R-squared: 0.4254

F-statistic: 7.909 on 3 and 25 DF, p-value: 0.0007086

> anova(mdca4)

Analysis of Variance Table

Response: Biomasa_forrajera_kgMS_ha

Df Sum Sq Mean Sq F value Pr(>F)

Tratamiento 3 81187762 27062587 7.9095 0.0007086 ***

Residuals 25 85538584 3421543

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> rmdca4=residuals(mdca4)

> shapiro.test(rmdca4)

Shapiro-Wilk normality test


data: rmdca4

W = 0.80671, p-value = 0.0001104

> qqnorm(rmdca4)

> qqline(rmdca4,col="red",lwd=4)

> leveneTest(mdca4)

Levene's Test for Homogeneity of Variance (center = median)

Df F value Pr(>F)

group 3 14.823 9.493e-06 ***

25

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> dls4=LSD.test(mdca4,"Tratamiento")

> dls4

$statistics

MSerror Df Mean CV

3421543 25 2437.715 75.88014

$parameters

test p.ajusted name.t ntr alpha

Fisher-LSD none Tratamiento 4 0.05

$means

Biomasa_forrajera_kgMS_ha std r se LCL UCL Min Max Q25 Q50


Q75

T1 607.6667 285.3912 8 653.9824 -739.2352 1954.569 172.6667 956.000


501.6667 683.000 778.000

T2 1530.3333 447.3480 8 653.9824 183.4315 2877.235 1091.3333 2402.000


1214.5000 1421.000 1663.333

T3 3273.8667 855.0103 7 699.1365 1833.9680 4713.765 2372.5333 4917.333


2704.3333 3081.333 3568.600
T4 5112.1111 3979.4811 6 755.1538 3556.8428 6667.379 805.3333 11309.333
2105.6667 4594.333 7218.500

$comparison

NULL

$groups

Biomasa_forrajera_kgMS_ha groups

T4 5112.1111 a

T3 3273.8667 ab

T2 1530.3333 bc

T1 607.6667 c

attr(,"class")

[1] "group"

> #Analizamos la tasa de crecimiento de las plantas

> mdca5=lm(Tasa_de_crecimiento~Tratamiento,data = DCA)

> summary(mdca5)

Call:

lm(formula = Tasa_de_crecimiento ~ Tratamiento, data = DCA)

Residuals:

Min 1Q Median 3Q Max

-9.2288 -1.5679 0.0018 1.0732 13.2798

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 3.255 1.465 2.222 0.03557 *

TratamientoT2 2.210 2.072 1.067 0.29630

TratamientoT3 5.514 2.145 2.571 0.01648 *


TratamientoT4 7.699 2.238 3.440 0.00205 **

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 4.144 on 25 degrees of freedom

Multiple R-squared: 0.3638, Adjusted R-squared: 0.2874

F-statistic: 4.765 on 3 and 25 DF, p-value: 0.009224

> anova(mdca5)

Analysis of Variance Table

Response: Tasa_de_crecimiento

Df Sum Sq Mean Sq F value Pr(>F)

Tratamiento 3 245.47 81.822 4.765 0.009224 **

Residuals 25 429.29 17.172

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> rmdca5=residuals(mdca5)

> shapiro.test(rmdca5)

Shapiro-Wilk normality test

data: rmdca5

W = 0.88637, p-value = 0.004693

> qqnorm(rmdca5)

> qqline(rmdca5,col="red",lwd=4)

> leveneTest(mdca5)

Levene's Test for Homogeneity of Variance (center = median)

Df F value Pr(>F)

group 3 10.605 0.0001105 ***


25

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> dls5=LSD.test(mdca5,"Tratamiento")

> dls5

$statistics

MSerror Df Mean CV

17.17153 25 6.788924 61.03846

$parameters

test p.ajusted name.t ntr alpha

Fisher-LSD none Tratamiento 4 0.05

$means

Tasa_de_crecimiento std r se LCL UCL Min Max Q25 Q50 Q75

T1 3.255357 1.528881 8 1.465074 0.2379809 6.272733 0.925000 5.121429 2.687500


3.658929 4.167857

T2 5.465476 1.597672 8 1.465074 2.4481000 8.482852 3.897619 8.578571 4.337500


5.075000 5.940476

T3 8.769286 2.290206 7 1.566230 5.5435748 11.994997 6.355000 13.171429 7.243750


8.253571 9.558750

T4 10.954524 8.527459 6 1.691722 7.4703578 14.438690 1.725714 24.234286 4.512143


9.845000 15.468214

$comparison

NULL

$groups

Tasa_de_crecimiento groups

T4 10.954524 a

T3 8.769286 ab

T2 5.465476 bc
T1 3.255357 c

attr(,"class")

[1] "group"

> #Analizamos el % de materia seca hoja

> mdca6=lm(Porcentaje_de_Materia_seca_hoja~Tratamiento,data = DCA)

> summary(mdca6)

Call:

lm(formula = Porcentaje_de_Materia_seca_hoja ~ Tratamiento, data = DCA)

Residuals:

Min 1Q Median 3Q Max

-0.059857 -0.017200 -0.004205 0.020806 0.100786

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 0.17284 0.01275 13.553 5.06e-13 ***

TratamientoT2 -0.04511 0.01803 -2.502 0.0193 *

TratamientoT3 0.01981 0.01867 1.061 0.2988

TratamientoT4 0.04209 0.01948 2.161 0.0405 *

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.03607 on 25 degrees of freedom

Multiple R-squared: 0.4767, Adjusted R-squared: 0.4139

F-statistic: 7.591 on 3 and 25 DF, p-value: 0.0008992

> anova(mdca6)

Analysis of Variance Table


Response: Porcentaje_de_Materia_seca_hoja

Df Sum Sq Mean Sq F value Pr(>F)

Tratamiento 3 0.029627 0.0098757 7.5911 0.0008992 ***

Residuals 25 0.032524 0.0013010

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> rmdca6=residuals(mdca6)

> shapiro.test(rmdca6)

Shapiro-Wilk normality test

data: rmdca6

W = 0.95458, p-value = 0.2402

> qqnorm(rmdca6)

> qqline(rmdca6,col="red",lwd=4)

> leveneTest(mdca6)

Levene's Test for Homogeneity of Variance (center = median)

Df F value Pr(>F)

group 3 1.1701 0.3409

25

> dls6=LSD.test(mdca6,"Tratamiento")

> dls6

$statistics

MSerror Df Mean CV

0.001300953 25 0.17388 20.74346

$parameters

test p.ajusted name.t ntr alpha

Fisher-LSD none Tratamiento 4 0.05


$means

Porcentaje_de_Materia_seca_hoja std r se LCL UCL Min Max Q25

T1 0.1728355 0.05174699 8 0.01275222 0.1465718 0.1990991 0.11297852


0.2736211 0.1366636

T2 0.1277214 0.02790679 8 0.01275222 0.1014577 0.1539851 0.08544028


0.1676670 0.1151743

T3 0.1926433 0.02887446 7 0.01363270 0.1645662 0.2207204 0.14686334


0.2244995 0.1765115

T4 0.2149268 0.02579007 6 0.01472499 0.1846001 0.2452535 0.17629700


0.2449363 0.2001028

Q50 Q75

T1 0.1677886 0.1930111

T2 0.1301975 0.1437403

T3 0.1877865 0.2181654

T4 0.2180403 0.2331024

$comparison

NULL

$groups

Porcentaje_de_Materia_seca_hoja groups

T4 0.2149268 a

T3 0.1926433 ab

T1 0.1728355 b

T2 0.1277214 c

attr(,"class")

[1] "group"

> #Analizamos el % de materia seca tallo

> mdca7=lm(Porcentaje_de_Materia_seca_tallo~Tratamiento,data= DCA)

> summary(mdca7)
Call:

lm(formula = Porcentaje_de_Materia_seca_tallo ~ Tratamiento,

data = DCA)

Residuals:

Min 1Q Median 3Q Max

-0.14330 -0.01990 -0.00816 0.00221 0.32674

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 0.08163 0.02725 2.995 0.00611 **

TratamientoT2 0.01005 0.03854 0.261 0.79642

TratamientoT3 0.03899 0.03990 0.977 0.33780

TratamientoT4 0.11510 0.04163 2.765 0.01054 *

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.07709 on 25 degrees of freedom

Multiple R-squared: 0.2643, Adjusted R-squared: 0.176

F-statistic: 2.993 on 3 and 25 DF, p-value: 0.0499

> anova(mdca7)

Analysis of Variance Table

Response: Porcentaje_de_Materia_seca_tallo

Df Sum Sq Mean Sq F value Pr(>F)

Tratamiento 3 0.053358 0.0177860 2.9932 0.0499 *

Residuals 25 0.148555 0.0059422

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> rmdca7=residuals(mdca7)
> shapiro.test(rmdca7)

Shapiro-Wilk normality test

data: rmdca7

W = 0.62251, p-value = 1.938e-07

> qqnorm(rmdca7)

> qqline(rmdca7,col="red",lwd=4)

> leveneTest(mdca7)

Levene's Test for Homogeneity of Variance (center = median)

Df F value Pr(>F)

group 3 2.0297 0.1354

25

> dls7=LSD.test(mdca7,"Tratamiento")

> dls7

$statistics

MSerror Df Mean CV

0.005942213 25 0.1176225 65.53656

$parameters

test p.ajusted name.t ntr alpha

Fisher-LSD none Tratamiento 4 0.05

$means

Porcentaje_de_Materia_seca_tallo std r se LCL UCL Min Max Q25

T1 0.08162538 0.02112626 8 0.02725393 0.02549486 0.1377559 0.05326232


0.1256851 0.07273096

T2 0.09167561 0.02822140 8 0.02725393 0.03554509 0.1478061 0.06573377


0.1581834 0.08034197

T3 0.12061366 0.02186084 7 0.02913568 0.06060761 0.1806197 0.09981406


0.1661408 0.10921629
T4 0.19672489 0.16552256 6 0.03147013 0.13191095 0.2615388 0.05342759
0.5234611 0.13279424

Q50 Q75

T1 0.07607492 0.0869724

T2 0.08351198 0.0891429

T3 0.11823800 0.1208351

T4 0.14772186 0.1720794

$comparison

NULL

$groups

Porcentaje_de_Materia_seca_tallo groups

T4 0.19672489 a

T3 0.12061366 ab

T2 0.09167561 b

T1 0.08162538 b

attr(,"class")

[1] "group"

> #Analizamos el % de materia seca total

> mdca8=lm(Porcentaje_de_Materia_seca_total~Tratamiento,data= DCA)

> summary(mdca8)

Call:

lm(formula = Porcentaje_de_Materia_seca_total ~ Tratamiento,

data = DCA)

Residuals:

Min 1Q Median 3Q Max

-0.052170 -0.021681 -0.005409 0.011693 0.120757


Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 0.155755 0.014371 10.838 6.17e-11 ***

TratamientoT2 -0.043809 0.020324 -2.156 0.0409 *

TratamientoT3 -0.001412 0.021037 -0.067 0.9470

TratamientoT4 0.032013 0.021953 1.458 0.1572

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.04065 on 25 degrees of freedom

Multiple R-squared: 0.3321, Adjusted R-squared: 0.252

F-statistic: 4.144 on 3 and 25 DF, p-value: 0.01631

> 0.1543422 0.02226280 7 0.01536361 0.12270026 0.1859841 0.1326615


0.1872699 0.13378021

Error: unexpected numeric constant in " 0.1543422 0.02226280"

> T4 0.1877678 0.06310975 6 0.01659460 0.15359058 0.2219450 0.1355978


0.3085244 0.15128340

Error: unexpected numeric constant in "T4 0.1877678"

> #Analizamos el % de materia seca tallo

> mdca7=lm(Porcentaje_de_Materia_seca_tallo~Tratamiento,data= DCA)

> summary(mdca7)

Call:

lm(formula = Porcentaje_de_Materia_seca_tallo ~ Tratamiento,

data = DCA)

Residuals:

Min 1Q Median 3Q Max

-0.14330 -0.01990 -0.00816 0.00221 0.32674


Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 0.08163 0.02725 2.995 0.00611 **

TratamientoT2 0.01005 0.03854 0.261 0.79642

TratamientoT3 0.03899 0.03990 0.977 0.33780

TratamientoT4 0.11510 0.04163 2.765 0.01054 *

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.07709 on 25 degrees of freedom

Multiple R-squared: 0.2643, Adjusted R-squared: 0.176

F-statistic: 2.993 on 3 and 25 DF, p-value: 0.0499

> anova(mdca7)

Analysis of Variance Table

Response: Porcentaje_de_Materia_seca_tallo

Df Sum Sq Mean Sq F value Pr(>F)

Tratamiento 3 0.053358 0.0177860 2.9932 0.0499 *

Residuals 25 0.148555 0.0059422

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> rmdca7=residuals(mdca7)

> shapiro.test(rmdca7)

Shapiro-Wilk normality test

data: rmdca7

W = 0.62251, p-value = 1.938e-07

> qqnorm(rmdca7)
> qqline(rmdca7,col="red",lwd=4)

> leveneTest(mdca7)

Levene's Test for Homogeneity of Variance (center = median)

Df F value Pr(>F)

group 3 2.0297 0.1354

25

> dls7=LSD.test(mdca7,"Tratamiento")

> dls7

$statistics

MSerror Df Mean CV

0.005942213 25 0.1176225 65.53656

$parameters

test p.ajusted name.t ntr alpha

Fisher-LSD none Tratamiento 4 0.05

$means

Porcentaje_de_Materia_seca_tallo std r se LCL UCL Min Max Q25

T1 0.08162538 0.02112626 8 0.02725393 0.02549486 0.1377559 0.05326232


0.1256851 0.07273096

T2 0.09167561 0.02822140 8 0.02725393 0.03554509 0.1478061 0.06573377


0.1581834 0.08034197

T3 0.12061366 0.02186084 7 0.02913568 0.06060761 0.1806197 0.09981406


0.1661408 0.10921629

T4 0.19672489 0.16552256 6 0.03147013 0.13191095 0.2615388 0.05342759


0.5234611 0.13279424

Q50 Q75

T1 0.07607492 0.0869724

T2 0.08351198 0.0891429

T3 0.11823800 0.1208351

T4 0.14772186 0.1720794
$comparison

NULL

$groups

Porcentaje_de_Materia_seca_tallo groups

T4 0.19672489 a

T3 0.12061366 ab

T2 0.09167561 b

T1 0.08162538 b

attr(,"class")

[1] "group"

> #Analizamos el % de materia seca total

> mdca8=lm(Porcentaje_de_Materia_seca_total~Tratamiento,data= DCA)

> summary(mdca8)

Call:

lm(formula = Porcentaje_de_Materia_seca_total ~ Tratamiento,

data = DCA)

Residuals:

Min 1Q Median 3Q Max

-0.052170 -0.021681 -0.005409 0.011693 0.120757

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 0.155755 0.014371 10.838 6.17e-11 ***

TratamientoT2 -0.043809 0.020324 -2.156 0.0409 *

TratamientoT3 -0.001412 0.021037 -0.067 0.9470

TratamientoT4 0.032013 0.021953 1.458 0.1572

---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.04065 on 25 degrees of freedom

Multiple R-squared: 0.3321, Adjusted R-squared: 0.252

F-statistic: 4.144 on 3 and 25 DF, p-value: 0.01631

> anova(mdca8)

Analysis of Variance Table

Response: Porcentaje_de_Materia_seca_total

Df Sum Sq Mean Sq F value Pr(>F)

Tratamiento 3 0.020541 0.0068469 4.1439 0.01631 *

Residuals 25 0.041307 0.0016523

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

> rmdca8=residuals(mdca8)

> shapiro.test(rmdca8)

Shapiro-Wilk normality test

data: rmdca8

W = 0.88514, p-value = 0.004397

> qqnorm(rmdca8)

> qqline(rmdca8,col="red",lwd=4)

> leveneTest(mdca8)

Levene's Test for Homogeneity of Variance (center = median)

Df F value Pr(>F)

group 3 0.9528 0.4302

25

> dls8=LSD.test(mdca8,"Tratamiento")
> dls8

$statistics

MSerror Df Mean CV

0.001652284 25 0.1499518 27.10758

$parameters

test p.ajusted name.t ntr alpha

Fisher-LSD none Tratamiento 4 0.05

$means

Porcentaje_de_Materia_seca_total std r se LCL UCL

T1 0.1557546 0.04431682 8 0.01437134 0.12615625 0.1853529

T2 0.1119453 0.02583250 8 0.01437134 0.08234693 0.1415436

T3 0.1543422 0.02226280 7 0.01536361 0.12270026 0.1859841

T4 0.1877678 0.06310975 6 0.01659460 0.15359058 0.2219450

Min Max Q25 Q50 Q75

T1 0.1062427 0.2453441 0.12327200 0.1507933 0.1714729

T2 0.0775058 0.1641303 0.09985898 0.1096946 0.1200923

T3 0.1326615 0.1872699 0.13378021 0.1518249 0.1705394

T4 0.1355978 0.3085244 0.15128340 0.1682803 0.1922997

$comparison

NULL

$groups

Porcentaje_de_Materia_seca_total groups

T4 0.1877678 a

T1 0.1557546 a

T3 0.1543422 ab

T2 0.1119453 b
attr(,"class")

[1] "group"

>

También podría gustarte