Package: FDRsamplesize2 0.2.0

FDRsamplesize2: Computing Power and Sample Size for the False Discovery Rate in Multiple Applications

Defines a collection of functions to compute average power and sample size for studies that use the false discovery rate as the final measure of statistical significance. A three-rectangle approximation method of a p-value histogram is proposed to derive a formula to compute the statistical power for analyses that involve the FDR. The methodology paper of this package is under review.

Authors:Yonghui Ni [aut, cre], Stanley Pounds [aut]

FDRsamplesize2_0.2.0.tar.gz
FDRsamplesize2_0.2.0.zip(r-4.5)FDRsamplesize2_0.2.0.zip(r-4.4)FDRsamplesize2_0.2.0.zip(r-4.3)
FDRsamplesize2_0.2.0.tgz(r-4.4-any)FDRsamplesize2_0.2.0.tgz(r-4.3-any)
FDRsamplesize2_0.2.0.tar.gz(r-4.5-noble)FDRsamplesize2_0.2.0.tar.gz(r-4.4-noble)
FDRsamplesize2_0.2.0.tgz(r-4.4-emscripten)FDRsamplesize2_0.2.0.tgz(r-4.3-emscripten)
FDRsamplesize2.pdf |FDRsamplesize2.html
FDRsamplesize2/json (API)
NEWS

# Install 'FDRsamplesize2' in R:
install.packages('FDRsamplesize2', repos = c('https://yonghui-ni.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.00 score 166 downloads 35 exports 0 dependencies

Last updated 9 months agofrom:d1ea88ffd3. Checks:OK: 6 ERROR: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winERROROct 29 2024
R-4.5-linuxOKOct 29 2024
R-4.4-winOKOct 29 2024
R-4.4-macOKOct 29 2024
R-4.3-winOKOct 29 2024
R-4.3-macOKOct 29 2024

Exports:alpha.power.fdraverage.power.coxphaverage.power.fisheraverage.power.hartaverage.power.liaverage.power.onewayaverage.power.ranksumaverage.power.signrankaverage.power.signtestaverage.power.t.testaverage.power.tcorraverage.power.twopropfdr.avepowfdr.power.alphafind.sample.sizen.fdr.coxphn.fdr.fishern.fdr.negbinn.fdr.onewayn.fdr.poissonn.fdr.ranksumn.fdr.signrankn.fdr.signtestn.fdr.tcorrn.fdr.ttestn.fdr.twoproppower.coxpower.fisherpower.hartpower.lipower.onewaypower.ranksumpower.signrankpower.signtestpower.tcorr

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Compute p-value threshold for given the proportion pi0 of tests with a true nullalpha.power.fdr
Compute the average power of many Cox regression modelsaverage.power.coxph
Compute average power of many Fisher's exact testsaverage.power.fisher
Compute average power for RNA-seq experiments assuming Negative Binomial distributionaverage.power.hart
Compute average power for RNA-Seq experiments assuming Poisson distributionaverage.power.li
Compute average power of many one-way ANOVA testsaverage.power.oneway
Compute average power of rank-sum testsaverage.power.ranksum
Compute average power of many signed-rank testsaverage.power.signrank
Compute average power of many sign testsaverage.power.signtest
Compute average power of many t-testsaverage.power.t.test
Compute average power of many t-tests for non-zero correlationaverage.power.tcorr
Computer average power of many two proportion z-testsaverage.power.twoprop
Compute FDR and average power for a given sample size and effect size vectorfdr.avepow
Compute FDR for given p-value threshold, average power and proportion of tests with a true nullfdr.power.alpha
Determines the sample size needed to achieve the desired FDR and average powerfind.sample.size
Sample size calculation for the Cox proportional hazards regression modeln.fdr.coxph
Sample size calculation for Fisher's Exact testsn.fdr.fisher
Sample size calculation for Negative Binomial datan.fdr.negbin
Sample size calculation for one-way ANOVAn.fdr.oneway
Sample size calculation for Poisson datan.fdr.poisson
Sample size calculation for rank-sum testsn.fdr.ranksum
Sample size calculation for signed-rank testsn.fdr.signrank
Sample size calculation for sign testsn.fdr.signtest
Sample size calculation for t-tests for non-zero correlationn.fdr.tcorr
Sample size calculation for t-testsn.fdr.ttest
Sample size calculation for comparing two proportionsn.fdr.twoprop
Compute the power of a single-predictor Cox regression modelpower.cox
Compute power for Fisher's exact testpower.fisher
Compute power for RNA-seq experiments assuming Negative Binomial distributionpower.hart
Compute power for RNA-Seq experiments assuming Poisson distributionpower.li
Compute power of one-way ANOVApower.oneway
Compute power of the rank-sum testpower.ranksum
Compute power of the signed-rank testpower.signrank
Compute power of the sign testpower.signtest
Compute power of the t-test for non-zero correlationpower.tcorr