page.trend.test {crank}R Documentation

Page test for ordered alternatives

Description

calculates the Page test for ordered alternatives.

Usage

 page.trend.test(x)

Arguments

x a 2D matrix of scores

Details

page.trend.test will accept a matrix of scores where the rows represent methods (usually raters) and the columns represent related data objects. It apparently handles ties, but not missing values. By default it assumes that numerically higher scores represent numerically lower ranks. For small values of k (methods) or N (data objects), page.trend.test will try to look up the tabled values (as in Siegel & Castellan (1988) for significance. For k,N > 3,20 or k,N > 4-10,12, a normal approximation is returned. Only one of these values will be returned.

Value

ranks matrix of ranks
mean.ranks mean ranks of data objects
L value of the L statistic
p.table whether the obtained L exceeded the table value for small k,N
Z The normal approximation for larger k,N
pZ the probability of the obtained normal value for larger k,N

Note

The Page test for ordered alternatives is slightly more powerful than the Friedman analysis of variance by ranks.

Author(s)

Jim Lemon

References

Siegel, S. & Castellan, N.J.Jr. (1988) Nonparametric statistics for the behavioral sciences. Boston, MA: McGraw-Hill.

Examples

 # Craig's data from Siegel & Castellan, p 186
 soa.mat<-matrix(c(.797,.873,.888,.923,.942,.956,
  .794,.772,.908,.982,.946,.913,
  .838,.801,.853,.951,.883,.837,
  .815,.801,.747,.859,.887,.902),nrow=4,byrow=TRUE)
 page.trend.test(soa.mat)

[Package crank version 1.0 Index]