Computes rank scores for rank-based test statistics. Supports Wilcoxon, Stephenson, and Polynomial rank scores.
Usage
rank_score(
n,
method.list = list(name = "Polynomial", r, std = TRUE, scale = FALSE)
)Arguments
- n
Number of units.
- method.list
A list specifying the scoring method:
name: "Wilcoxon", "Stephenson", or "Polynomial"s: (for Stephenson) the parameter sr: (for Polynomial) the power parameterstd: (for Polynomial) logical, use Puri(1965) normalizationscale: logical, standardize scores to mean 0 and sd 1