Skip to contents

morie_cliff_delta estimates P(X>Y) - P(X<Y) with the asymmetric interval of Cliff (1996, p.140, eq. 5.12). morie_brunner_munzel is the heteroscedastic analogue of Wilcoxon-Mann-Whitney: it does not assume the two distributions share a shape.

Usage

morie_cliff_delta(x, y, alpha = 0.05)

morie_brunner_munzel(x, y, alpha = 0.05)

Arguments

x, y

numeric vectors

alpha

significance level

Value

list with the effect estimate, interval and p-value

Examples

V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_cliff_delta(V, V)
#> $delta
#> [1] 0
#> 
#> $p_hat
#> [1] 0.5
#> 
#> $n1
#> [1] 8
#> 
#> $n2
#> [1] 8
#> 
#> $P_x_less_y
#> [1] 0.4375
#> 
#> $P_equal
#> [1] 0.125
#> 
#> $P_x_greater_y
#> [1] 0.4375
#> 
#> $ci
#> [1] -0.5189014  0.5189014
#>