Calculates the power of the model given the non-centrality parameter
calculatepower(X, L, lambda, alpha, degrees_of_freedom)
The power for a given parameter L, given the
The model matrix
The parameter matrix/vector
The non-centrality parameter for the F test
the specified type-I error
The number of degrees of freedom.