## S3 method for class 'default':
simtest(y, x=NULL, type=c("Dunnett", "Tukey",
"Sequen", "AVE", "Changepoint", "Williams", "Marcus",
"McDermott","Tetrade"), cmatrix=NULL,
alternative=c("two.sided","less", "greater"),
asympt=FALSE, ttype=c("free","logical"), eps=.,
maxpts=, nlevel=NULL, ...)
## S3 method for class 'formula':
simtest(formula, data=list(), subset, na.action, ...)
cmatrix
is defined, type
is ignored."two.sided"
(default), "greater"
or
"less"
. You can specify just the initial letter.type == "Tetrade"
.Environment(formula)
, typically the environment from which
simint
is called.NA
's. Defaults to
GetOption("na.action")
.hmtestp
pmvt
function. The p-values are
generally the same as the come out in a closed test procedure using max-T-type
statistics. The procedure differs in a very subtle way from closed testing,
but still controls FWE strongly under point null configurations; see Westfall (997).
The present function allows for multiple comparisons of generally correlated
means in general linear models under the classical ANOVA assumptions, as well
as more general approximate procedures for approximately normal and generally
correlated parameter estimates. Either multivariate normal or multivariate t
statistics can be used. The interface allows the use of the multiple comparison
procedures as for example Dunnett and Tukey. The resulting p-values are
not associated with the confidence intervals from simint
.Frank Bretz, Alan Genz and Ludwig A. Hothorn (2), On the numerical availability of multiple comparison procedures. Biometrical Journal, 43(), 64--66.
data(cholesterol)
# adjusted p-values for all-pairwise comparisons in a onw-way
# layout (tests for restricted combinations)
simtest(response ~ trt, data=cholesterol, type="Tukey", ttype="logical")
Run the code above in your browser using DataLab