getPsi() used by findLevelConstant()Calculate psi for the given scenario, incl. constant
getInnerPsi(firstStagePValue, constant, design)Point value of getPsi().
First-stage p-value, internally used as integral argument.
Current value of the level constant for the optimal conditional error function, internally used as integral argument.
An object of class TrialDesignOptimalConditionalError created by getDesignOptimalConditionalErrorFunction(). Contains all necessary arguments to calculate the optimal conditional error function for the specified case.
Internal function called by getIntegral() that calculates a point value of getPsi().