Helper function to calculate the maximal probability of rejecting the non-inferiority hypothesis in the testing procedure featuring nonsequential futility, given a point hypothesis for the superiority hypothesis.
Source:R/design_helper_functions.R
calc_worst_type_I_error.Rd
This is required in designs with nonsequential futility testing, as choosing locally valid designs is insufficient to gurantee type I error control.