Learn R Programming

pi0 (version 1.4-0)

cond.cdf: conditional cdf of p-values given noncentrality parameters

Description

conditional cdf of p-values given noncentrality parameters (ncp)

Usage

cond.cdf(p.eval,ncp,test=c("t","z"),alternative=c("two.sided","less",
    "greater"), df=if(test=="z")Inf else df,keep.cdf=NULL,
    suppressWarnings=TRUE)

Arguments

p.eval
numeric vector, at which the conditional CDF is evaluated.
ncp
Numeric vector of noncentrality parameters
test
Either t-test or z-test.
alternative
The same as in t.test.
df
The degree of freedom.
keep.cdf
Either NULL or an environment. If this is non-null, the computed CDF will also be stored in keep.cdf environment to allow later use. As of version 1.4-0, keep.cdf=TRUE, is no longer supporte
suppressWarnings
Logical, indicating if warnings are suppressed

Value

  • A numeric matrix, with each row corresponding to p.eval and each column corresponding to ncp.

References

Ruppert, Nettleton, Hwang. 2007. Exploring the Information in $p$-values for the Analysis and Planning of Multiple-test Experiments. Biometrics. 63. 483-495.