Skip to contents

Mann-Whitney U on the absolute deviations from the pooled median. Tests equality of scales given (approximately) equal medians.

Usage

morie_sukhatme_test(x, y)

Arguments

x, y

Numeric vectors.

Value

Named list: statistic (z), p_value, U, n, m.

Examples

morie_sukhatme_test(x = rnorm(50), y = rnorm(50))
#> $statistic
#> [1] 0.03102219
#> 
#> $p_value
#> [1] 0.9752518
#> 
#> $U
#> [1] 1254.5
#> 
#> $n
#> [1] 100
#> 
#> $m
#> [1] 50
#> 
#> $method
#> [1] "Sukhatme scale test (Mann-Whitney on |.-median|)"
#>