CV.G.Poisson calculates the critical values for the group sequential MaxSPRT test with Poisson data, using a Wald
type upper boundary, which is flat with respect to the likelihood ratio function, and with a pre-specified upper limit on the sample size.CV.G.Poisson(SampleSize,alpha=0.05,Looks=1,M=1)CV.G.Poisson calculates the critical value that constitutes the upper boundary used to
determine if the null hypothesis should be rejected. This is done for pre-specified values of the statistical significance level (alpha) and
an upper limit on the sample size, determining the maximum length of surveillance, as well as other parameter settings. Details about the
algorithm used to calculate the critical value is provided by Silva and Kulldorff (2012).
For several configurations of 'SampleSize', 'Looks' and 'M' there is no critical value that gives a probability of Type I error that is exactly equal to "alpha".
In such cases, the function CV.G.Poisson returns the largest critical value that will guarantee a
type I error probability that is smaller than 'alpha', so that the sequential analysis is conservative.
For large values of the maximum 'SampleSize', such as 200 or more,
the computational requirements can be high.# Calculates the critical value for five equally spaced group sequential looks, at 6, 12,
# 18, 24 and 30 expected events under the null hypothesis, and for a statistical signifi-
# cance level of 0.05.
CV.G.Poisson(SampleSize=30,alpha=0.05,Looks=5,M=1)Run the code above in your browser using DataLab