Learn R Programming

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

pwrFDR (version 1.80)

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

315

Version

1.80

License

GPL (>= 2)

Maintainer

Grant Izmirlian

Last Published

January 17th, 2018

Functions in pwrFDR (1.80)

CDF.Pval

CDF of pooled (H0 and HA) population p-values
CDF.Pval.HA

CDF of p-values for test statistics distribted under HA.
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.
var.rtm.SoM

Calculates asymptotic variance of true positive fraction, S_m/M_m.
cCDF.SoM

Complementary CDF for the True Positive Fraction
cCDF.ToJ

Complementary CDF for the False Discovery Fraction
pwrFDR

Power in the BH-FDR procedure.
find.f.star

Calculates a reduced FDR required to control the FDF
dists

The Distribution family object
detail

The detail extraction function for simulated power objects
logitInv

Computes the inverse logit transform
%over%

Division operator with divide by zero clobbering
paste

The paste operator
gentempfilenm

Generate a tempfile name
var.rtm.ToJ

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

Computes the logit transform