select.the.best: NPI for selecting the best group

Description Usage Arguments Value Examples

Description

NPI lower and upper probabilities for the event that the next future observation from one (the Sth) group is greater than all future observations from the other groups.

Usage

1

Arguments

data

a list of numeric data vectors

S

an index of the group in the data list to be considered as the best group

Value

NPI lower and upper probabilities for the event that the next future observation from the Sth group is greater than all future observations from the other groups.

Examples

1
2
3
4
5
6
7
8
9
# NPI lower and upper probabilities for the event that
# the next future observation from group 2 is greater
# than all future observations from the other groups.

data(FourSources)

# Convert the dataframe to a list of groups
data2<-split(FourSources$value,FourSources$source)
select.the.best(data2, 2)

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