Skip to contents

Dixon (1953) ratio for the most extreme observation

Usage

DixonQ(x, type = 10, opposite = FALSE)

Arguments

x

numeric sample

type

one of 10, 11, 12, 20, 21, 22; 10 is Q = gap / range

opposite

test the end NOT selected by the larger deviation

Value

list(statistic, type, outlier, side, numerator, denominator, n)

Examples

V <- c(1, 2, 3, 4, 5, 6, 7, 8)
DixonQ(V)
#> $statistic
#> [1] 0.1428571
#> 
#> $type
#> [1] 10
#> 
#> $outlier
#> [1] 8
#> 
#> $side
#> [1] "max"
#> 
#> $numerator
#> [1] 1
#> 
#> $denominator
#> [1] 7
#> 
#> $n
#> [1] 8
#> 
#> $method
#> [1] "Dixon (1953) ratio type 10, outliers::dixon.test; no p-value, the null distribution is tabulated only"
#>