Skip to content

The new Bayesian two-stage phase II clinical trial design for the binary endpoint, BETEC design, and delta-BETEC design. It also includes the R code for STD and DTD design (Tan and Machin, 2002, SIM) and R code for BET design (Shi and Yin, 2018, biometrics).

Notifications You must be signed in to change notification settings

JINhuaqing/BETEC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

The BETEC design and delta-BETEC design for phase II single-arm clinical trials with binary endpoints.

The functions defined in utilities.R file of formalcode folder

 alpha0 <- 1
 beta0 <- 1

 
 # Test probabilities
 p0 <- 0.3
 p1 <- 0.5
 
 # 4 hyper-parameters
 pi1 <- 0.8
 pi2 <- 0.9
 
 a1 <- 0.1
 a2 <- 0.25
 b1 <- 0.05
 b2 <- 0.05
 
 res.BETEC <- BETEC(p0, p1, pi1, pi2, a1, a2, alpha0=1, beta0=1, nMax=200, N=10000)
 res.deltaBETEC <- deltaBETEC(p0, p1, pi1, pi2, b1, b2)

This repository also includes

  • The R code for BET design (Shi and Yin, 2018).

  • The R code for STD and DTD design (Tan and Machin, 2002).

About

The new Bayesian two-stage phase II clinical trial design for the binary endpoint, BETEC design, and delta-BETEC design. It also includes the R code for STD and DTD design (Tan and Machin, 2002, SIM) and R code for BET design (Shi and Yin, 2018, biometrics).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages