Different methods of allocation of sample size