Calculate Power
Calculates the power of the model given the non-centrality parameter
calculatepower(X, L, lambda, alpha, degrees_of_freedom)
X
: The model matrixL
: The parameter matrix/vectorlambda
: The non-centrality parameter for the F testalpha
: the specified type-I errordegrees_of_freedom
: The number of degrees of freedom.The power for a given parameter L, given the
Useful links