calcPower: Statistical power calculator

Description Usage Arguments Value Author(s) See Also Examples

View source: R/HierO.R

Description

Calculates statistical power for given type I error (alpha), effect size (Delta) and noncentrality parameter (ncpar) of a non-central chi-square distribution

Usage

1
2
calcPower(alpha = hieroEnv$res.alpha,
		Delta = hieroEnv$res.Delta,ncpar = hieroEnv$res.con)

Arguments

alpha

Type I error

Delta

Effect size

ncpar

Effect size^2 / Noncentrality parameter of a non-central chi-square distribution

Value

Returns statistical power for given constants.

Author(s)

Kari Tokola

See Also

delta2

Examples

1
2
3
4
  ## Not run: 
calcPower(alpha=0.05, Delta=5, ncpar=3.185)

## End(Not run)

HierO documentation built on May 29, 2017, 9:14 p.m.