select.best.groups: NPI for selecting the subset of best groups

Description Usage Arguments Value Examples

Description

NPI lower and upper probabilities for the event that the next future observations from groups S are greater than all future observations from the other groups.

Usage

1

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 best groups

Value

NPI lower and upper probabilities for the event that the next future observations from groups S are greater than all future observations from the other groups.

Examples

1
2
3
4
5
6
7
8
# NPI lower and upper probabilities for the event that
# the next future observations from groups 1 and 3 are 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.best.groups(data2,S=c(1,3))

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