comp_rawp_sd: Helper function for Westfall Young Step Down
Description
Helper function for Westfall Young Step Down
Usage
comp_rawp_sd(nullp, rawp, rawp.order)
Value
returns a vector of 1s and 0s with lengths of M outcomes
Arguments
- nullp
a vector of p-values under H0
- rawp
a vector of p-values under H1
- rawp.order
order vector of raw p-values in ascending order