conditional cdf of p-values given noncentrality parameters (ncp)
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)
numeric vector, at which the conditional CDF is evaluated.
Numeric vector of noncentrality parameters
Either t
-test or z
-test.
The same as in t.test
.
The degree of freedom.
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 supported to comply with new CRAN policies; keep.cdf=FALSE
will be treated the same as keep.cdf=NULL
.
Logical, indicating if warnings are suppressed
A numeric matrix, with each row corresponding to p.eval
and each column corresponding to ncp
.
Ruppert, Nettleton, Hwang. 2007. Exploring the Information in $p$-values for the Analysis and Planning of Multiple-test Experiments. Biometrics. 63. 483-495.