Learn R Programming

PUMP (version 1.0.4)

comp_rawp_ss: Helper function for Westfall Young Single Step

Description

Used for the Westfall-Young single-step multiple testing procedure (MTP). It compares whether any of the null values across outcomes exceeds each raw value for each outcome

Usage

comp_rawp_ss(nullp, rawp)

Value

returns a vector of 1s and 0s with length of M outcomes

Arguments

nullp

a vector of p values under H0

rawp

a vector of raw p values under H1