extractPower: Calculate power values

Description Usage Arguments Value

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

1
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 four elements and an element for each element in the parameter f.

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


gMCP documentation built on May 2, 2019, 6:07 p.m.