outputBounds {GroupSeq} | R Documentation |
This function prints out bounds into the console computed by a spending function
outputBounds(n, alpha, t, lowerBounds, upperBounds, probDifference, probExit, symmetricBoundsYesNo, spendingFunctionUsed)
n |
is the number of interim analyses. |
alpha |
is the total type I error. |
t |
is the information times. |
lowerBounds |
the vector of lower standardized boundaries |
upperBounds |
the vector of upper standardized boundaries |
probDifference |
probExit(i)-probExit(i-1) |
probExit |
~vector of exit probabilities |
symmetricBoundsYesNo |
symmetricBoundsYesNo==1 means one-sided bounds, symmetricBoundsYesNo!=1 means two-sided bounds. |
spendingFunctionUsed |
indicates type I error spending rate function e.g. the function(s) the user choosed |
This function is meant to be called in context of using groupseq
Roman Pahl
groupseq
, print
cbind
, format
,
data.frame
## a very simple fictious one: outputBounds(1, 0.05, 1, -1, 1, 0.02, 0.05,TRUE , 1) ## with following result: # ################################# # # # # # Output of the computed Bounds # # # # # ################################# # # # number of interim analyses = 1 # alpha = 0.05 # O'Brien-Fleming Type was used as spending Function. # # *Times* *Lower Bounds* *Upper Bounds* *alpha[i]-alpha[i-1]* *cumulative alpha* # 1 1 -1 1 0.02 0.05