stopbound_pred: The stopping boundaries based on Lee and Liu's criterion

Description Usage Arguments Value References Examples

View source: R/stats-stopbound-pred.r

Description

The stopping boundaries based on Lee and Liu's criterion.

Usage

1
stopbound_pred(theta, type, nmax, alpha_e, beta_e, p_s, theta_t)

Arguments

theta

the cutoff probability: typically, θ = [0.95, 0.99] for superiority, θ = [0.01, 0.05] for futility.

type

type of boundaries: "superiority" or "futility".

nmax

the maximum number of patients treated by the experimental drug.

alpha_e

the hyperparameter (shape1) of the Beta prior for the experimental drug.

beta_e

the hyperparameter (shape2) of the Beta prior for the experimental drug.

p_s

the the response rate for the standard drug.

theta_t

the prespecified target probability; tipically, θ_T = [0.85, 0.95].

Value

boundset

the boundaries set: U_n or L_n

References

Lee, J. J., Liu, D. D. (2008). A predictive probability design for phase II cancer clinical trials. Clinical Trials 5: 93-106.

Yin, G. (2012). Clinical Trial Design: Bayesian and Frequentist Adaptive Methods. New York: Wiley.

Examples

1
2
3
stopbound_pred(0.05, "futility", 40, 0.6, 1.4, 0.3, 0.85)
stopbound_pred(0.05, "futility", 30, 0.4, 1.6, 0.2, 0.85)
stopbound_pred(0.95, "superiority", 40, 0.6, 1.4, 0.3, 0.85)

Example output

    n bound
1   1    NA
4   4     0
8   8     1
11 11     2
14 14     3
17 17     4
20 20     5
22 22     6
25 25     7
27 27     8
29 29     9
32 32    10
34 34    11
36 36    12
37 37    13
39 39    14
40 40    15
    n bound
1   1    NA
4   4     0
10 10     1
14 14     2
18 18     3
21 21     4
24 24     5
27 27     6
29 29     7
30 30     8
    n bound
1   1    NA
3   3     3
4   4     4
5   5     5
8   8     6
10 10     7
12 12     8
14 14     9
17 17    10
19 19    11
22 22    12
25 25    13
28 28    14
31 31    15
35 35    16

ph2bayes documentation built on May 2, 2019, 3:20 p.m.