pxgty: Proportion of observations in x greater than observations in...

View source: R/stats.R

pxgtyR Documentation

Proportion of observations in x greater than observations in y

Description

For two vectors x and y, return the proportion of observations in x greater than observations in y: P(X>Y). Also return the complementary proportions P(X<Y) and P(X=Y). The proportions are determined by computing all pariwise differences between vectors.

Usage

pxgty(x, y)

Arguments

x

A numeric vector

y

A numeric vector

Value

A list of 3 elements:

  • P(X>Y)

  • P(X=Y)

  • P(X<Y)

Note

From Rallfun-v32.txt - see https://github.com/nicebread/WRS/

References

Cliff, N. (1996) Ordinal methods for behavioral data analysis. Erlbaum, Mahwah, N.J.

See Also

adapted from cid


GRousselet/rogme documentation built on Nov. 12, 2022, 4:38 a.m.