Learn R Programming

SIN (version 0.6)

holm: Holm's step-down p-values

Description

This function takes a matrix of simultaneous p-values from Sidak's inequality and adjusts the p-values according to Holm's step-down procedure.

Usage

holm(pvals)

Arguments

pvals
a matrix of simultaneous p-values from Sidak's inequality.

Value

A matrix of simultaneous p-values from Holm's step-down procedure with NA on the diagonal.

References

Holm, S. (1979) A Simple Sequentially Rejective Multiple Test Procedure. Scandinavian Journal of Statistics 6: 65-70.

Examples

Run this code
data(mathmarks)
sinUG(mathmarks$corr,mathmarks$n)
holm(sinUG(mathmarks$corr,mathmarks$n))

Run the code above in your browser using DataLab