calculateTask4 {GroupSeq} | R Documentation |
This function computes confidence interval.
calculateTask4(n, nMax, t, t2, t2max, t3, confidenceLevel, equallySpacedTimesInput, secondTimeScaleIsUsed, BoundsSymmetry, alpha, phi, usedFunction, TruncateBoundsInput, enterBoundsManually, upperBounds, lowerBounds, Zvalue)
n |
is the number of interim analyses |
nMax |
maximum number of interim analysis (here: limited to 25) |
t |
is the vector of analysis times on (0,1] scale |
t2 |
is the second or information time scale, for covariances |
t2max |
maximum of t2 |
t3 |
t2 divided by the maximum information, if needed |
confidenceLevel |
desired power respectively confidence level |
equallySpacedTimesInput |
variable denoting whether equally spaced times (equallySpacedTimes==TRUE) or different spaced (equallySpacedTimes==FALSE) |
secondTimeScaleIsUsed |
second time/information scale (yes=>secondTimeScaleIsUsed==TRUE, no=>secondTimeScaleIsUsed==FALSE) |
BoundsSymmetry |
BoundsSymmetry==1 means one-sided bounds, BoundsSymmetry==2 means two-sided symmetric and BoundsSymmetry==3 means asymmetric bounds. |
alpha |
is the desired overall size |
phi |
optional Parameter referring to Power Family |
usedFunction |
indicates type I error spending rate function e.g. the function(s) the user choosed |
TruncateBoundsInput |
is Truncation Point for bounds (default is no truncation) |
enterBoundsManually |
denotes whether bounds are entered by user or have to be computed by spending function |
upperBounds |
vector of upper bounds |
lowerBounds |
vector of lower bounds |
Zvalue |
standarized statistic (Z value) at the last analysis |
This function is meant to be called in context of using groupseq
Roman Pahl
groupseq
, calculateTask1
calculateTask2
, calculateTask3
## function is called within gui - so example is senseless