best.pair {NPIstats}R Documentation

NPI for comparing two groups

Description

NPI lower and upper probabilities for the event that the next future observation from group Y is larger than the next future observation from group X.

Usage

best.pair(X, Y)

Arguments

X

numeric vector of data values

Y

numeric vector of data values, to check if it is the best group

Value

NPI lower and upper probabilities for the event that the next future observation from group Y is larger than the next future observation from group X.

References

F.P.A. Coolen (1996). Comparing two populations based on low stochastic structure assumptions. Statistics & Probability Letters 29, 297-305.

Examples

data(BreakdownTimes)
data2<-split(BreakdownTimes$times, BreakdownTimes$group)
# No terminated tails, complete data
best.pair(data2$X, data2$Y)

[Package NPIstats version 0.1.0 Index]