Description Usage Arguments Details Value
View source: R/estimate_fpi0.R
Predict the values of the functional proportion when it is evaluated at a vector z' whose entries are between 0 and 1.
1 2 |
object |
fPi0 object |
z0 |
New z0 values (when they are between 0 and 1) |
z |
New z values (as the quantile transformed values of z0) |
lambda |
The value of the tuning parameter to be used for prediction. If null, defaults to the lambda chosen in the fPi0 object |
... |
Extra arguments, not used |
Assume the random variable z0 may affect the power of a statistical test (that induces the p-values) or the likelihood of a true null hypothesis. The m observations z0_i, i=1,...,m of z0 are quantile transformed into z_i, i=1,...,m such that z_i = rank(z0_i) / m, where rank(z0_i) is the rank of z0_i among z0_i, i=1,...,m. Consequently, z_i, i=1,...,m are approximately uniformly distributed on the interval [0,1]. When z_i, i=1,...,m are regarded as observations from the random variable z, then z is approximately uniformly distributed on [0,1]. Namely, z0 has been quantile transformed into z, and they are equivalent. Further, z or z0 is referred to as the informative variable.
Vector of fPi0 predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.