Description Usage Arguments Details Value Examples
The acceptance region for a particular test is determined.
1 | region.acceptance(hypo.test, p.0, size, alpha)
|
hypo.test |
A string containing the name of the test "minP" for the multiple test, "minPp" for the enhanced multiple test or "sterneHull" for the envelope test. |
p.0 |
A vector containing the PD values under H0 |
size |
A vector with the sizes of the rating classes |
alpha |
The desired significance level |
The function computes the acceptance region, the observed significance level and the cardinality of the acceptance region.
A list containing
par |
The parameters that were passed to the function |
acc.reg |
The name of the test and a description of the acceptance region. For the multiple test this is the lower left point of the critical region, for the enhanced multiple test this is the lower left point of the critical region and the equation of the cutting hyperplane. For the envelope test it contains the coordinates of all the points. |
optim.data |
Data needed for optimal computations in other functions |
observedAlpha |
The observed significance level |
cardinality |
The cardinality of the acceptance region |
1 2 | mp<-region.acceptance(hypo.test="minP", p.0=c(0.001, 0.004), size=c(1000, 1000), alpha=0.05)
mpp<-region.acceptance(hypo.test="minPp", p.0=c(0.001, 0.004), size=c(1000, 1000), alpha=0.05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.