Performs van der Waerden's normal scores test.
vanWaerdenTest(x, ...)# S3 method for default
vanWaerdenTest(x, g, ...)
# S3 method for formula
vanWaerdenTest(formula, data, subset, na.action, ...)
a numeric vector of data values, or a list of numeric data vectors.
further arguments to be passed to or from methods.
a vector or factor object giving the group for the
corresponding elements of "x"
.
Ignored with a warning if "x"
is a list.
a formula of the form response ~ group
where
response
gives the data values and group
a vector or
factor of the corresponding groups.
an optional matrix or data frame (or similar: see
model.frame
) containing the variables in the
formula formula
. By default the variables are taken from
environment(formula)
.
an optional vector specifying a subset of observations to be used.
a function which indicates what should happen when
the data contain NA
s. Defaults to getOption("na.action")
.
For one-factorial designs with non-normally distributed residuals van der Waerden's normal scores test can be performed to test the H\(_0: F_1(x) = F_2(x) = \ldots = F_k(x)\) against the H\(_\mathrm{A}: F_i (x) \ne F_j(x)~ (i \ne j)\) with at least one strict inequality.
Conover, W. J., Iman, R. L. (1979) On multiple-comparisons procedures, Tech. Rep. LA-7677-MS, Los Alamos Scientific Laboratory.
van der Waerden, B. L. (1952) Order tests for the two-sample problem and their power, Indagationes Mathematicae 14, 453--458.
# NOT RUN {
vanWaerdenTest(count ~ spray, data = InsectSprays)
# }
Run the code above in your browser using DataLab