skpr (version 0.57.0)

effectpower: Calculate Effect Power

Description

Calculates the effect power given the anticipated coefficients and the type-I error

Usage

effectpower(RunMatrix, levelvector, anticoef, alpha, vinv = NULL)

Arguments

levelvector

The number of levels in each parameter (1st is always the intercept)

anticoef

The anticipated coefficients

alpha

the specified type-I error

vinv

The V inverse matrix

X

The model matrix

Value

The effect power for the parameters