Get startedGet started for free

Conducting an ANOVA test

The box plots made it look like the distribution of pack price was different for each of the three shipment modes. However, it didn't tell us whether the mean pack price was different in each category. To determine that, we can use an ANOVA test. The null and alternative hypotheses can be written as follows.

\(H_{0}\): Pack prices for every category of shipment mode are the same.

\(H_{A}\): Pack prices for some categories of shipment mode are different.

Use a significance level of 0.1.

late_shipments is available and pingouin has been loaded.

This exercise is part of the course

Hypothesis Testing in Python

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Run an ANOVA for pack_price across shipment_mode
anova_results = ____



# Print anova_results
print(anova_results)
Edit and Run Code