oc.gentwostage.bdry: Two-stage boundary operating characteristics

Description Usage Arguments Value References See Also Examples

Description

Calculates the operating characteristics of a two-stage boundary based on the R function oc.twostage.bdry.

Usage

1
oc.gentwostage.bdry(pu, pa, r1, n1, r, n)

Arguments

pu

unacceptable response rate

pa

response rate that is desirable

r1

first stage threshold to declare treatment undesirable

n1

first stage sample size

r

overall threshold to declare treatment undesirable

n

total sample size

Value

oc.gentwostage.bdry returns the type I and II error rates as well as the probability of early temination and expected sample size under pu for a specific boundary.

References

Kim S and Wong WK. Phase II Two-Stage Single-Arm Clinical Trials for Testing Toxicity Levels. Commun Stat Appl Methods. 2019 Mar;26(2):163-173. https://www.ncbi.nlm.nih.gov/pubmed/31106162.

See Also

gen2simon

Examples

1
2
3
4
5
  # Optimal two-stage safety design with pu (p0) = 0.33 vs. pa (p1) = 0.20
  oc.gentwostage.bdry(0.33, 0.20, 8, 26, 22, 85)

  # Optimal two-stage efficacy design with pu (p0) = 0.67 vs. pa (p1) = 0.80
  oc.gentwostage.bdry(0.67, 0.80, 18, 26, 63, 85)

gen2stage documentation built on June 3, 2019, 5:04 p.m.