ccboot: Multiple comparison: Bootstrap

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/ccboot.R

Description

Performs the Ramos and Ferreira (2009) multiple comparison bootstrap test.

Usage

1
ccboot(y, trt, DFerror, SSerror, alpha = 0.05, group = TRUE, main = NULL, B = 1000)

Arguments

y

Numeric or complex vector containing the response varible.

trt

Numeric or complex vector containing the treatments.

DFerror

Error degrees of freedom.

SSerror

Error sum of squares.

alpha

Significance of the test.

group

TRUE or FALSE

main

Title

B

Number of bootstrap resamples.

Value

Multiple means comparison for the bootstrap test.

Author(s)

Patricia de Siqueira Ramos

Daniel Furtado Ferreira

Eric Batista Ferreira

References

RAMOS, P. S., FERREIRA, D. F. Agrupamento de medias via bootstrap de populacoes normais e nao-normais, Revista Ceres, v.56, p.140-149, 2009.

See Also

snk, duncan, lsd, lsdb, tukey, scottknott, ccf

Examples

1
2
3
data(ex1)
attach(ex1)
crd(trat, ig, quali = TRUE, mcomp='ccboot', sigT = 0.05)

Example output

------------------------------------------------------------------------
Analysis of Variance Table
------------------------------------------------------------------------
           DF     SS     MS     Fc     Pr>Fc
Treatament  3 214.88 71.626 6.5212 0.0029622
Residuals  20 219.67 10.984                 
Total      23 434.55                        
------------------------------------------------------------------------
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.
------------------------------------------------------------------------

Bootstrap multiple comparison test
------------------------------------------------------------------------
  Groups Treatments     Means
1      a          0 102.19833
2      b         10  96.74333
3      b          5  95.05833
4      b         15  94.74333
------------------------------------------------------------------------
 Note: Bootstrap multiple comparison method might present different results
 in each run since it is based on simulation.
------------------------------------------------------------------------

ExpDes documentation built on May 18, 2018, 1:03 a.m.