stopbound_post: The stopping boundaries based on Thall and Simon's criterion

Description Usage Arguments Value References Examples

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

Description

The stopping boundaries based on Thall and Simon's criterion.

Usage

1
stopbound_post(theta, type, nmax, alpha_e, beta_e, alpha_s, beta_s, delta)

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.

alpha_s

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

beta_s

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

delta

the minimally acceptable increment of the response rate for the experimental drug compared with the standard drug. Note: if type = "superiority", then delta is set to 0.

Value

boundset

the boundaries set; U_n or L_n

References

Thall, P. F., Simon, R. (1994). Practical Bayesian guidelines for phase IIB clinical trials. Biometrics 50: 337-349.

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

Examples

1
2
3
stopbound_post(0.05, "futility", 40, 0.6, 1.4, 15, 35, 0)
stopbound_post(0.05, "futility", 30, 0.4, 1.6, 10, 40, 0)
stopbound_post(0.95, "superiority", 40, 0.6, 1.4, 15, 35, 0)

Example output

    n bound
1   1    NA
6   6     0
13 13     1
18 18     2
24 24     3
29 29     4
35 35     5
40 40     6
    n bound
1   1    NA
7   7     0
19 19     1
29 29     2
    n bound
1   1    NA
3   3     3
4   4     4
6   6     5
8   8     6
10 10     7
13 13     8
15 15     9
17 17    10
19 19    11
22 22    12
24 24    13
26 26    14
29 29    15
31 31    16
34 34    17
36 36    18
38 38    19

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