optimal_multitrial_generic: Generic function for optimizing multi-trial programs

View source: R/optimal_multitrial_generic.R

optimal_multitrial_genericR Documentation

Generic function for optimizing multi-trial programs

Description

Generic function for optimizing multi-trial programs

Usage

optimal_multitrial_generic(case, strategy = TRUE)

Arguments

case

choose case: "at least 1, 2 or 3 significant trials needed for approval"

strategy

choose strategy: "conduct 1, 2, 3 or 4 trials in order to achieve the case's goal"; TRUE calculates all strategies of the selected case

Effect sizes

In other settings, the definition of "small", "medium" and "large" effect sizes can be user-specified using the input parameters steps1, stepm1 and stepl1. Due to the complexity of the multitrial setting, this feature is not included for this setting. Instead, the effect sizes were set to to predefined values as explained under sProg1, sProg2 and sProg3 in the Value section.


Sterniii3/drugdevelopR documentation built on Jan. 26, 2024, 6:17 a.m.