Skip to contents

Reproduces the modified recursive outlier exclusion procedure for reaction times from Van Selst, M., & Jolicoeur, P. (1994). A solution to the effect of sample size on outlier elimination. The Quarterly Journal of Experimental Psychology Section A, 47(3), 631-650.

Usage

modified_recursive_moving(rts)

Arguments

rts

a vector of reaction times

Value

list containing original rts, restricted rts with outlier removed, and proportion removed

Examples

modified_recursive_moving(c(500,501,502,503,600))
#> $original_rts
#> [1] 500 501 502 503 600
#> 
#> $restricted
#> [1] 500 501 502 503
#> 
#> $prop_removed
#> [1] 0.2
#>