1. เรียนรู้
  2. /
  3. Courses
  4. /
  5. Hypothesis Testing in Python

Connected

Exercises

Calculating p-values

In order to determine whether to choose the null hypothesis or the alternative hypothesis, you need to calculate a p-value from the z-score.

You'll now return to the late shipments dataset and the proportion of late shipments.

The null hypothesis, \(H_{0}\), is that the proportion of late shipments is six percent.

The alternative hypothesis, \(H_{A}\), is that the proportion of late shipments is greater than six percent.

The observed sample statistic, late_prop_samp, the hypothesized value, late_prop_hyp (6%), and the bootstrap standard error, std_error are available. norm from scipy.stats has also been loaded without an alias.

คำแนะนำ 1 / 2

undefined XP
    1
    2

คำถาม

What type of test should be used for this alternative hypothesis?

คำตอบที่เป็นไปได้