FDR Power
Ensemble power or sample size under selected control of the FDP
Evaluate pwrFDR
on a grid.
Helper function for the BHFDX FDP control method
The Distribution family object
The detail extraction function for simulated power objects
Computes the complimentary CDF for the significant call proportion, R_...
Computes the complimentary CDF for the true positive proportion, T_m/M...
Computes the complimentary CDF for the false discovery proportion, V_m...
CDF of pooled (H0 and HA) population p-values
CDF of p-values for test statistics distribted under HA.
Extractor function for asymptotic sd[R_m/m] under selected FDP control...
Extractor function for asymptotic sd[T_m/M_m] under selected FDP contr...
Extractor function for asymptotic sd[V_m/R_m] under selected FDP contr...
Computes the logit transform
Computes the inverse logit transform
Division operator with divide by zero clobbering
The paste operator
Generate a tempfile name
Function which solves the implicit equation u = G( u alpha)
Calculates the fixed point for the Romano procedure.
Computes the optimal number of controls per case in hypothesis tests i...
Computes the equivalent Z-test effect size in hypothesis tests involvi...
BH-FDR and Romano Criterion
Extracts the full argument list and call attribute.
A helper function-- remove if zero.
A helper function -- substitute 'NA's with a specified 'x'.
A helper function -- substitute y
's with a specified 'z'.
A helper function-- turns a missing column into 'NA's inside of a with...
Find missing argument giving required se[FDP]/alpha (or se[TPP]/averag...
Wrapper to Print a Basic Nicely Formatted Table
Combine pwrFDR Results
Computing Average and TPX Power under various BHFDR type sequential procedures. All of these procedures involve control of some summary of the distribution of the FDP, e.g. the proportion of discoveries which are false in a given experiment. The most widely known of these, the BH-FDR procedure, controls the FDR which is the mean of the FDP. A lesser known procedure, due to Lehmann and Romano, controls the FDX, or probability that the FDP exceeds a user provided threshold. This is less conservative than FWE control procedures but much more conservative than the BH-FDR proceudre. This package and the references supporting it introduce a new procedure for controlling the FDX which we call the BH-FDX procedure. This procedure iteratively identifies, given alpha and lower threshold delta, an alpha* less than alpha at which BH-FDR guarantees FDX control. This uses asymptotic approximation and is only slightly more conservative than the BH-FDR procedure. Likewise, we can think of the power in multiple testing experiments in terms of a summary of the distribution of the True Positive Proportion (TPP), the portion of tests truly non-null distributed that are called significant. The package will compute power, sample size or any other missing parameter required for power defined as (i) the mean of the TPP (average power) or (ii) the probability that the TPP exceeds a given value, lambda, (TPX power) via asymptotic approximation. All supplied theoretical results are also obtainable via simulation. The suggested approach is to narrow in on a design via the theoretical approaches and then make final adjustments/verify the results by simulation. The theoretical results are described in Izmirlian, G (2020) Statistics and Probability letters, "<doi:10.1016/j.spl.2020.108713>", and an applied paper describing the methodology with a simulation study is in preparation. See citation("pwrFDR").