multrnks: Approximate scores for ranks.

Description Usage Arguments Details Author(s)

Description

This function modifies the multrnks function in the sensitivitymw package by also providing the exact scores. The scores are also normalized so that the maximum is 1.

Usage

1
multrnks(rk, mm, score.method = c("approximate", "exact"))

Arguments

rk

a vector of ranks

mm

a vector (m, munder, mover) or a matrix, each column a vector (m, munder, mover) that indicates the U-statistic.s NULL means Wilcoxon's signed rank test.

score.method

either approximate score or exact score

Details

Exact and approximate rank scores yield similar bounds on P-values when sample size is large. The exact rank scores involve very large combinatorial coefficiences when the same size is very large, whereas the nearly equivalent approximate scores do not.

Author(s)

Paul Rosenbaum, Qingyuan Zhao


qingyuanzhao/CrossScreening documentation built on May 26, 2019, 11:35 a.m.