## Critical value for continuous sequential analysis with
# a maximum sample size of ten expected cases under the null hypothesis, requiring at
# least 3 events to reject the null, and with a significance level of 0.05:
CV.Poisson(SampleSize=10,D=0,M=3,alpha=0.05)
## In the next example, no critical value exist that will give the desired 0.05 alpha level
# exactly. Instead, a criticical value is provided that makes the alpha as large as
# possible without exceeding 0.05.
CV.Poisson(SampleSize=3,D=3,M=1,alpha=0.05)Run the code above in your browser using DataLab