Learn R Programming

HierO (version 0.2)

calcPower: Statistical power calculator

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

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.

See Also

delta2

Examples

Run this code
  ## Not run: 
# calcPower(alpha=0.05, Delta=5, ncpar=3.185)
# ## End(Not run)

Run the code above in your browser using DataLab