Learn R Programming

⚠️There's a newer version (3.2.4) of this package.Take me there.

pwrFDR (version 1.95)

FDR Power

Description

This is a package for calculating power and sample size in multiple testing situations using the Benjamini-Hochberg (BH) false discovery rate (FDR) procedure. The package computes power and sample size in one of either two ways, using the average power or the lambda-power. See Izmirlian, G. (2018) .

Copy Link

Version

Install

install.packages('pwrFDR')

Monthly Downloads

216

Version

1.95

License

GPL (>= 2)

Maintainer

Grant Izmirlian

Last Published

August 22nd, 2018

Functions in pwrFDR (1.95)

paste

The paste operator
CDF.Pval.HA

CDF of p-values for test statistics distribted under HA.
cCDF.SoM

Complementary CDF for the True Positive Fraction
cCDF.ToJ

Complementary CDF for the False Discovery Fraction
logit

Computes the logit transform
%over%

Division operator with divide by zero clobbering
var.rtm.ToJ

Calculates asymptotic variance of false discovery fraction, T_N/J_N.
logitInv

Computes the inverse logit transform
gentempfilenm

Generate a tempfile name
detail

The detail extraction function for simulated power objects
dists

The Distribution family object
var.rtm.SoM

Calculates asymptotic variance of true positive fraction, S_m/M_m.
CDF.Pval

CDF of pooled (H0 and HA) population p-values
var.J.o.rtm

Calculates asymptotic variance of significant call fraction, J_m/m in the BH-FDR procedure on m=N.tests simultaneous tests.
pwrFDR

Power in the BH-FDR procedure.
controlFDF

Calculates a reduced FDR required to control the FDF