1. Learn
  2. /
  3. Courses
  4. /
  5. Practicing Statistics Interview Questions in Python

Exercise

Bonferroni correction

Let's implement multiple hypothesis tests using the Bonferroni correction approach that we discussed in the slides. You'll use the imported multipletests() function in order to achieve this.

Use a single-test significance level of .05 and observe how the Bonferroni correction affects our sample list of p-values already created.

Instructions

100 XP
  • Compute a list of the Bonferroni adjusted p-values using the imported multipletests() function.
  • Print the results of the multiple hypothesis tests returned in index 0 of your p_adjusted variable.
  • Print the p-values themselves returned in index 1 of your p_adjusted variable.