SU: A general step-up procedure.

Description Usage Arguments Details Value Author(s)

View source: R/SUD.R

Description

A general step-up procedure.

Usage

1
SU(pValues, criticalValues)

Arguments

pValues

pValues to be used.

criticalValues

criticalValues for the step-up procedure

Details

Suppose we have n pValues and they are already sorted. The procedure starts with comparing pValues[n] with criticalValues[n]. If pValues[n] > criticalValues[n], then the hypothesis associated with pValues[n] is retained and the algorithm carries on with the next pValue and criticalValue, here for example pValues[n-1] and criticalValues[n-1]. The algorithm stops retaining at the first index i for which pValues[i] <= criticalValues[i]. Thus pValues[j] is rejected if and only if their exists an index i with j <= i and pValues[i] <= criticalValues[i].

Value

rejected logical vector indicating if hypotheses are rejected or retained.

Author(s)

MarselScheer


mutoss documentation built on May 2, 2019, 5:56 p.m.