powered by
checks whether type is one of 'a-priori', 'post-hoc', or 'compromise'.
checkPowerTypes(type)
valid type
type