1. Learn
  2. /
  3. Courses
  4. /
  5. Hypothesis Testing in R

Exercise

Observed statistic and p-value

You now have a null distribution. In order to get a p-value and weigh up the evidence against the null hypothesis, you need to calculate the difference in proportions that is observed in the late_shipments sample.

late_shipments is available; dplyr, infer, and ggplot2 are loaded.

Instructions 1/3

undefined XP
    1
    2
    3
  • Copy, paste, and modify the null distribution pipeline to get the observed statistic.