Description Usage Arguments Details Value Examples
View source: R/bootfunctions.R
This function applys transformation on the bootstrap distribution of order statistics of p values.
1 | ptrans(porder, trans = "default")
|
porder |
matrix of p value order statistics, rows indicate replicates |
trans |
one of ("default","normal","none") indicating trnasformation of -log(1-p), which is by default. Or inverse normal cdf transformation or no transformation. |
The transformation of p values must be monotonically increasing. The user can use their own transofrmation, however, this function supports only the commonly used transformations. These are -log(1-p) transformation, inverse normal cdf and identiy transformation.
matrix with transformed distribution.
1 2 3 4 5 6 7 | ## Not run:
X <- datgen(n=100,m=80,m0=20,sigeff=1,Sigma = 0.25*diag(80))
porder <- pboot.1sample(X=X,B=100,ncpus = 1)
porder.tr <- ptrans(porder,trans="normal")
plotpboot(porder.tr)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.