Description Usage Arguments Value Author(s) References See Also Examples
scottknott
Performs the test of Scott-Knott, for
multiple comparison of means.
1 | scottknott(y, trt, DFerror, SSerror, alpha = 0.05, group = TRUE, main = NULL)
|
y |
Numeric or complex vector containing the response variable. |
trt |
Numeric or complex vector containing the treatments. |
DFerror |
Error degrees of freedom. |
SSerror |
Error sum of squares. |
alpha |
Significance level. |
group |
TRUE or FALSE. |
main |
Title. |
Returns the multiple comparison of means according to the test of Scott-Knott.
Eric B Ferreira, eric.ferreira@unifal-mg.edu.br
Denismar Alves Nogueira
Portya Piscitelli Cavalcanti (Adapted from Laercio Junio da Silva - GPL(>=2))
RAMALHO, M. A. P.; FERREIRA, D. F.; OLIVEIRA, A. C. de. Experimentacao em Genetica e Melhoramento de Plantas. 2a ed. Lavras: UFLA. 2005. 300p.
snk
, duncan
,
lsd
, lsdb
, ccboot
,
tukey
, ccF
.
1 2 3 |
Attaching package: ‘ExpDes’
The following object is masked from ‘package:stats’:
ccf
------------------------------------------------------------------------
Analysis of Variance Table
------------------------------------------------------------------------
DF SS MS Fc Pr>Fc
Treatament 3 214.88 3 6.5212 0.0029622
Residuals 20 219.67 2
Total 23 434.55 1
------------------------------------------------------------------------
CV = 3.41 %
------------------------------------------------------------------------
Shapiro-Wilk normality test
p-value: 0.91697
According to Shapiro-Wilk normality test at 5% of significance, residuals can be considered normal.
------------------------------------------------------------------------
------------------------------------------------------------------------
Homogeneity of variances test
p-value: 0.1863216
According to the test of bartlett at 5% of significance, residuals can be considered homocedastic.
------------------------------------------------------------------------
Scott-Knott test
------------------------------------------------------------------------
Groups Treatments Means
1 a 0 102.19833
2 b 10 96.74333
3 b 5 95.05833
4 b 15 94.74333
------------------------------------------------------------------------
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.