best.pair: NPI for comparing two groups

Description Usage Arguments Value References Examples

View source: R/best.pair.R

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

1
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

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

NPIstats documentation built on Feb. 16, 2021, 5:07 p.m.