select.include.best {NPIstats} | R Documentation |
NPI for selecting the subset including the best group
Description
NPI lower and upper probabilities for the event that at least one of the next future observations from groups S is greater than all future observations from the other groups.
Usage
select.include.best(data, S)
Arguments
data |
a list of numeric data vectors |
S |
a vector of indices of the groups in the data list to be considered as the subset of groups that includes the best group. |
Value
NPI lower and upper probabilities for the event that at least one of the next future observations from groups S is greater than all future observations from the other groups.
Examples
# NPI lower and upper probabilities for the event that at least one
# of the next future observations from groups S 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.include.best(data2,S=c(1,3))
[Package NPIstats version 0.1.0 Index]