cid: Cliff's delta test

View source: R/stats.R

cidR Documentation

Cliff's delta test

Description

Compute Cliff's analog of WMW test. Compute a confidence interval for delta using the method in Cliff, 1996, p. 140, eq 5.12. The null hypothesis is that for two independent group, P(X<Y)=P(X>Y). This function reports a 1-alpha confidence interval for P(X>Y)-P(X<Y).

Usage

cid(x, y, alpha = 0.05)

Arguments

x, y

Two vectors. Missing values are automatically removed.

alpha

Alpha significance level.

Details

cid returns a list containing the value of the test statistic, its confidence interval, and its p value.

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

To compute a p value, use cidv2 allpdiff_hdpbci


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