Learn R Programming

PUMP (version 1.0.4)

get_adjp_minp: Helper function for Westfall Young

Description

enforces monotonicity in p-values.

Usage

get_adjp_minp(ind.B, rawp.order)

Value

returns adjusted p-value matrix

Arguments

ind.B

matrix of indicator variables for if each raw test statistic exceeds the null test statistics. dimensions: nrow = tnum, ncol = M.

rawp.order

order of raw p-values in ascending order