Sampsize computes sample size and power for surveys, comparative studies including non-inferiority trials and case-control studies.