OptimDes
is the primary function in the package
OptInterim
. Detailed documentation of the design and a package
vignette with examples can be found under "directory" on the package HTML
help page. The user supplies the projected accrual distribution and
distributions for time to event under the null and alternative
hypotheses. OptimDes
returns the total sample size, the
interim time and sample size, and boundaries for decision rules.plot.OptimDes
can be applied to the output of OptimDes
to evaluate other two-stage or three-stage designs that may achieve near optimal
results for both of the implemented optimality criteria.
print.OptimDes
produces a summary of the design with a comparison to a
standard single-stage design (which can also be obtained from
FixDes
) Design parameters for nearly optimal designs can be
evaluated with np.OptimDes
. Statistical tests for a two-stage or three-stage
design are implemented in TestStage
.
The function SimDes
produces simulations under the assumed
design by default to check the accuracy of asymptotic approximations.
By supplying alterative accrual and survival distributions, the
performance of the design and estimation can be checked for robustness.
The function weibPmatch
can be used to find parameters of a
Weibull distribution that match a event-free rate at a specified
time. Function weibull.plot
displays a null-alternative pair
of hypothesized Weibull survival functions.
Package: |
OptInterim |
Type: |
Package |
Version: |
3.0 |
Date: |
2012-12-03 |
License: |
GPL version 2 or later |
Package Survival