Pairwise t-tests
The ANOVA test didn't tell you which categories of shipment mode had significant differences in pack prices. To pinpoint which categories had differences, you could instead use pairwise t-tests.
late_shipments
is available and pingouin
has been loaded.
This exercise is part of the course
Hypothesis Testing in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Perform a pairwise t-test on pack price, grouped by shipment mode
pairwise_results = ____
# Print pairwise_results
print(pairwise_results)