multrnks: Approximate scores for ranks.

Description Usage Arguments Value Author(s) References Examples

Description

Of limited interest to most users, this function is sometimes called by senmv. The function calculates the large sample approximation to a rank score transformation in Lemma 1, expression (9) of Rosenbaum (2011).

Usage

1
multrnks(rk, m1 = 2, m2 = 2, m = 2)

Arguments

rk

A vector of ranks that may include average ranks for ties.

m1

One of three rank score parameters in Rosenbaum (2011), specifically m1 = underline(m).

m2

One of three rank score parameters in Rosenbaum (2011), specifically m2 = overline(m).

m

One of three rank score parameters in Rosenbaum (2011), specifically m = m.

Value

Vector of length(rk) containing the scores for the ranks in rk.

Author(s)

Paul R. Rosenbaum

References

Rosenbaum, P. R. (2011) A new u-statistic with superior design sensitivity in matched observational studies. Biometrics 67, 1017-1027.

Examples

1
2
	multrnks(1:10)
	multrnks(1:10,m1=12,m2=20,m=20)

sensitivitymv documentation built on May 2, 2019, 2:06 a.m.