Learn R Programming

pi0 (version 1.3-250)

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=TRUE,
    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
Logical. If TRUE, the computed CDF will be stored in a hidden environment .pi0cdfp within the global environment for later re-use.
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.