Learn R Programming

mutoss (version 0.1-3)

linearStepUp: Linear Step Up Service Function...

Description

Linear Step Up Service Function

Usage

linearStepUp(sorted, q, m, adjust=FALSE, m0=m, pi0, constant=1)

Arguments

sorted
Numeric vector of sorted pvalues
q
Error rate to control for.
m
Number of hypothesis tested.
adjust
Logical value for p-value adjustmet (unusable).
m0
Known or estimated number of true null hypotheses.
pi0
Known or estimated proportion of true null hypothesis. Is redundant when m0 is specified.
constant
A Scaling constant for the denominator of the critical values.

Value

  • A list containing the following objects:
  • CutoffThe largest p-value of rejected hypotheses.
  • PvalsA data frame containing the original p-values, critical values, adjusted p-values and rejections.

Details

A Mutoss service function called by other procedures.