Derive spending bound for MaxCombo group sequential boundary
Source:R/gs_spending_combo.R
gs_spending_combo.Rd
Derive spending bound for MaxCombo group sequential boundary
Arguments
- par
A list with the following items:
sf
(class spending function).total_spend
(total spend).param
(any parameters needed by the spending functionsf()
).timing
(a vector containing values at which spending function is to be evaluated orNULL
if information-based spending is used).max_info
(whentiming
isNULL
, this can be input as positive number to be used withinfo
for information fraction at each analysis).
- info
Statistical information at all analyses, at least up to analysis k.
- ...
Additional parameters passed to
par$sf
.
Examples
# alpha-spending
par <- list(sf = gsDesign::sfLDOF, total_spend = 0.025)
gs_spending_combo(par, info = 1:3 / 3)
#> [1] 0.0001035057 0.0060483891 0.0250000000
# beta-spending
par <- list(sf = gsDesign::sfLDOF, total_spend = 0.2)
gs_spending_combo(par, info = 1:3 / 3)
#> [1] 0.02643829 0.11651432 0.20000000