Learn R Programming

mutoss (version 0.1-9)

SD: A general step-down procedure.

Description

A general step-down procedure.

Usage

SD(pValues, criticalValues)

Arguments

pValues
pValues to be used.
criticalValues
criticalValues for the step-down procedure

Value

  • rejected logical vector indicating if hypotheses are rejected or retained.

Details

Suppose we have n pValues and they are already sorted. The procedure starts with comparing pValues[1] with criticalValues[1]. If pValues[1] <= criticalvalues[1],="" then="" the="" hypothsis="" associated="" with="" pvalues[1]="" is="" rejected="" and="" algorithm="" carries="" on="" second="" smallest="" pvalue="" criticalvalue="" in="" same="" way.="" stops="" rejecting="" at="" first="" index="" i="" for="" which="" pvalues[i]=""> criticalValues[i]. Thus pValues[j] is rejected if and only if pValues[i]