Performance.G.Poisson function calculates several performance
metrics for the continuous Poisson based MaxSPRT. The user specifies the upper limit on the sample
size (SampleSize), the upper boundary critical value (cv), the maximum number of tests to be perfomed (Looks), the minimum number of events
required before rejecting the null hypothesis (M) and a relative risk (RR).
The metrics calculated are the statistical power, the expected time to signal when the null hypothesis is
rejected and the expected sample size at the end of the analysis whether the null hypothesis was rejected or not. If the user wants to calculate
the statistical significance level alpha, that can be done by setting RR=1, in which case the power output value is the alpha level.Performance.G.Poisson(SampleSize,cv,Looks=1,M=1,RR=2)CV.G.Poisson).Performance.G.Poisson calculates the power, the expected time to have a signal and the expected
time of surveillance by using the group sequential MaxSPRT for poisson data, given a flat boundary, an upper limit on the number "SampleSize"
of expected events under the null, and a delayed start in the vigilance given by "M".
It is important to point out that large values of "SampleSize", as "SampleSize>1000", for
example, leads to a high computational effort.
The times when each test will be performed is defined by
using regular time intervals that are referenced by constant expected number of adverse events between
looks at the accumulated data. In another words, the MaxSPRT statistic is compared against cv whenever the time is a multiple of $SampleSize/Looks$.## Critical value for a significance level of 0.05:
cvt<- CV.G.Poisson(SampleSize=30,alpha=0.05,Looks=5,M=1)
# Power, expected signal time and expected surveillance time for a relative risk equal
# to 2:
#Performance.G.Poisson(SampleSize=30,cvt,Looks=5,M=1,RR=1.5)Run the code above in your browser using DataLab