Description Usage Arguments Value References Examples
Sample size calculation for single arm, multistage trials using the alpha spending approach to reduce type I and type II error rates. This implimentation uses the O'Brien-Fleming alpha spending function for this purpose.
1 2  | freq_binom_one_landemets(reviews, p0, p1, r=c(p0,p1), 
	alpha=0.1, beta=0.1, prior.a=0, prior.b=0)
 | 
reviews | 
 A vector of the number of patients to perform interim analysis at  | 
p0 | 
 Probability of success under the H0  | 
p1 | 
 Probability of success under the H1  | 
r | 
 A vector of probabilities used to perform simulations from  | 
alpha | 
 The largest allowed value for the frequentist type one error  | 
beta | 
 The smallest allowed value for the frequentist type two error  | 
prior.a, prior.b | 
 Prior parameters for the beta prior  | 
Returns an object of class trialDesign_binom_one
DeMets, D. L. and G. Lan (1995). The alpha spending function approach to interim data analyses. Cancer Treat Res 75: 1-27.
O'Brien, P. C. and T. R. Fleming (1979). A Multiple Testing Procedure for Clinical Trials. Biometrics 35(3): 549-556.
1 2 3 4 5 6 7  | reviews=c(11,22,33,44)
p0=0.2
p1=0.35
r=c(0.2,0.35)
alpha=0.1
beta=0.2
freq_binom_one_landemets(reviews,p0,p1,r,alpha,beta)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.