pageTest | R Documentation |
Performs Page's ordered aligned rank sum test.
pageTest(y, ...)
## Default S3 method:
pageTest(
y,
groups,
blocks,
alternative = c("two.sided", "greater", "less"),
...
)
y |
a numeric vector of data values, or a list of numeric data vectors. |
groups |
a vector or factor object giving the group for the
corresponding elements of |
blocks |
a vector or factor object giving the block for the
corresponding elements of |
alternative |
the alternative hypothesis.
Defaults to |
... |
further arguments to be passed to or from methods. |
A list with class "htest"
containing the following components:
a character string indicating what type of test was performed.
a character string giving the name(s) of the data.
the estimated quantile of the test statistic.
the p-value for the test.
the parameters of the test statistic, if any.
a character string describing the alternative hypothesis.
the estimates, if any.
the estimate under the null hypothesis, if any.
Page, E. B. (1963) Ordered hypotheses for multiple treatments: A significance test for linear ranks, Journal of the American Statistical Association 58, 216–230.
Sachs, L. (1997) Angewandte Statistik. Berlin: Springer.
friedmanTest
## Sachs (1997), pp. 671 ff.
## 9 reviewers (blocks)
## assigned ranks to 4 objects (groups).
data(reviewers)
## See Sachs (1997) p. 677
pageTest(reviewers, alternative = "greater")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.