Sample Size Formulas for Different Study Designs