region.power: Compute the power for a region and a given simple alternative...

Description Usage Arguments Details Value See Also Examples

View source: R/ecbpaper.r

Description

The power of a region is computed for a simple alternative hypothesis. The region should be created by a call to region.acceptance.

Usage

1
region.power(region, p.1)

Arguments

region

The region for which the power should be computed. Should be the return value of a call to region.acceptance.

p.1

A vector with the values for the simple alternative hypothesis.

Details

The power of a region is computed for a simple alternative hypothesis. The region should be created by a call to region.acceptance.

Value

The power of the region for the given simple alternative hypothesis.

See Also

region.acceptance

Examples

1
2
mp<-region.acceptance(hypo.test="minP", p.0=c(0.001, 0.004), size=c(1000, 1000), alpha=0.5)
region.power(mp, p.1=c(0.001, 0.01))

validateRS documentation built on May 2, 2019, 3:47 p.m.