The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
The goal of BinGSD is to calculate boundaries and conditional power for single-arm group sequential test with binary endpoint. Two kinds of tests are available in this package: asymptotic test based on normal distribution; exact test based on binomial distribution. BinGSD also provides functions to compute boundary crossing probabilities given a specific design.
The released version of BinGSD can be downloaded from CRAN with:
install.packages("BinGSD")
There are six functions in BinGSD to satisfy the needs of user to design and analyse the single-arm group-sequential trial with binary endpoints:
To design a single-arm group-sequential trial via BinGSD, user should first define some terms:
library(BinGSD) ##load package
=c(0.2,0.4,0.6,0.8,1) ##information fractions
I=0.2 ##desired overall type II error rate
beta=c(0.1,0.2,0.3,0.2,0.2) ##proportions of type II error spent at each analysis
betaspend=0.05 ##desired overall type I error
alpha=0.3 #response rate under null hypothesis
p_0=0.5 #response rate under alternative hypothesis
p_1=5 #number of planned analyses
K=1e-6 #tolerance level tol
Call function asymdesign
to obtain sample sizes and
boundaries based on asymptotic test, under the settings above:
asymdesign(I,beta,betaspend,alpha,p_0,p_1,K,tol)
The output is an object of class asymdesign
, including
the last and only upper bound, lower boundaries, sample sizes, boundary
crossing probabilities, actual overall type I error, power of the test,
etc.
For usage of other functions in BinGSD, please refer to the manual or start with the examples at the last section of vignette.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.