LoslegenKostenlos loslegen

Calculating error rates

We talked a bit about the multiple comparisons problem in the slides, but let's take things a step further. In this exercise, you'll look into how the phenomenon affects error rate more precisely.

Your colleague is strongly considering running 60 distinct hypothesis tests. In order to convince them otherwise, compute the probability of a Type I error for 60 hypothesis tests with a single-test 5% significance level.

Diese Übung ist Teil des Kurses

Practicing Statistics Interview Questions in Python

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Print error rate for 60 tests with 5% significance
error_rate = 1 - ____
print(____)
Code bearbeiten und ausführen