# NOT RUN {
# The incidence rate of reference group is pR = 0.8 per thousands and that of test group
# is pT = 0.7 per thousands. It is also assumed that the respective stanadard deviation
# of reference and test group are sigr = 2 and sigt = 1 respectively. The constant value
# is chosen c = 0.08 to allow the maximum marginal error. The level of significance is
# alpha = 0.05 and the probability of type-II error is beta = 0.20.
precsize(pR = 0.8, pT = 0.7, sigr = 2, sigt = 1, c = 0.08, alpha = 0.05, beta = 0.20)
# }
Run the code above in your browser using DataLab