Rdocumentation
powered by
Learn R Programming
gMCP (version 0.8-5)
extractPower: Calculate power values
Description
Calculates local power values, expected number of rejections, the power to reject at least one hypothesis and the power to reject all hypotheses.
Usage
extractPower(x, f=list())
Arguments
x
A matrix containing the rejected hypothesis, as produces by the graphTest function.
f
List of user defined power functions. If one is interested in the power to reject hypotheses 1 and 3 one could specify
function(x) {x[1] && x[3]}
Value
A list containg at least the following three elements
LocPower
A numeric giving the local powers for the hypotheses
ExpNrRej
The expected number of rejections
PowAtlst1
The power to reject at least one hypothesis
RejectAll
The power to reject all hypotheses
Further it contains an element for each element in the parameter
f
.