# NOT RUN {
# Unstratified
overall_sample_size_pois(power = 0.8, phi = 0.6, lambda11 = 0.6,
lambda22 = 0.7, lambda1 = 0.4, lambda2 = 0.6)
# Stratified
overall_sample_size_pois(power = 0.8, phi = c(0.6, 0.5),
lambda11 = c(0.6, 0.7), lambda22 = c(0.7,0.7),
lambda1 = c(0.4, 0.6), lambda2 = c(0.6, 0.6),
xi = c(0.5, 0.5), nstrata = 2)
# }
Run the code above in your browser using DataLab