comp_rawp_ss: Helper function for Westfall Young Single Step

View source: R/pump_wy.R

comp_rawp_ssR Documentation

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)

Arguments

nullp

a vector of p values under H0

rawp

a vector of raw p values under H1

Value

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


MDRCNY/PUMP documentation built on Feb. 26, 2025, 11:22 a.m.