Learn R Programming

skpr (version 0.66.5)

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,
  degrees = 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