ph2simon: Simon's 2-stage Phase II design

View source: R/ph2simon.R

ph2simonR Documentation

Simon's 2-stage Phase II design

Description

Calculates Optimal and Minimax 2-stage Phase II designs given by Richard Simon

Usage

ph2simon(pu, pa, ep1, ep2, nmax=100)
## S3 method for class 'ph2simon'
print(x, ...)
## S3 method for class 'ph2simon'
plot(x, ...)

Arguments

pu

unacceptable response rate; baseline response rate that needs to be exceeded for treatment to be deemed promising

pa

response rate that is desirable; should be larger than pu

ep1

threshold for the probability of declaring drug desirable under pu (target type 1 error rate); between 0 and 1

ep2

threshold for the probability of rejecting the drug under pa (target type 2 error rate); between 0 and 1

nmax

maximum total sample size (default 100; can be at most 1000)

x

object returned by ph2simon

...

arguments to be passed onto plot and print commands called within

Value

ph2simon returns a list with pu, pa, alpha, beta and nmax as above and:

out

matrix of best 2 stage designs for each value of total sample size n. The 6 columns in the matrix are:

r1 number of responses needed to exceeded in first stage
n1 number of subjects treated in first stage
r number of responses needed to exceeded at the end of trial
n total number of subjects to be treated in the trial
EN(pu) expected number pf patients in the trial under pu
PET(pu) probability of stopping after the first stage under pu

Trial is stopped early if <= r1 responses are seen in the first stage and treatment is considered desirable only when >r responses seen.

Methods (by generic)

  • print(ph2simon): formats and returns the minimax, optimal and any admissible designs.

  • plot(ph2simon): plots the expected sample size against the maximum sample size as in Jung et al., 2001

References

Simon R. (1989). Optimal Two-Stage Designs for Phase II Clinical Trials. Controlled Clinical Trials 10, 1-10.

Jung SH, Carey M and Kim KM. (2001). Graphical Search for Two-Stage Designs for Phase II Clinical Trials. Controlled Clinical Trials 22, 367-372.

See Also

twostage.inference, oc.twostage.bdry

Examples

  ph2simon(0.2, 0.4, 0.1, 0.1)
  ph2simon(0.2, 0.35, 0.05, 0.05)
  ph2simon(0.2, 0.35, 0.05, 0.05, nmax=150)

clinfun documentation built on Oct. 20, 2023, 1:07 a.m.