Studentized estimate of how often a difference is below zero.

estimateDifferenceZeroCrossing(resampledDiffs, na.rm = FALSE)

Arguments

resampledDiffs

numeric vector resampled observations

na.rm

logical, if TRUE remove NA values

Value

estimated probability of seeing a re-sampled difference below zero.

Examples

set.seed(2352) resampledDiffs <- rnorm(10)+1 estimateDifferenceZeroCrossing(resampledDiffs)
#> [1] "Studentized empirical test: is difference greater than zero on re-samples, summary: e=n.s."