psimval.Rd
psimval
finds a minimum alpha in the interval (0,1) such that the 1-alpha simultaneous
confidence band excludes the vector of DF. This is intended to be a summary value for a joint
hypothesis test of equality.
psimval(DF, DFmat, alpha, eps = 1e-04, typeband = c("sym", "asym", "OM"))
DF | the target vector; set to a vector of zeroes if a "p-value" is desired |
---|---|
DFmat | the matrix of draws of the distribution, rows correspond to
elements in |
alpha | level such that |
eps | steps of the grid on the interval (0,1) to search |
typeband | the type of confidence band to use: "sym" for |
alf the "p-value"
set.seed(14); m=matrix(rbeta(500,1,4),nrow = 5) + 1:5 (pval<- round(psimval(DF=rep(0.1,5),DFmat = m,alpha=0.05,typeband="OM"),3))#> [1] 0