Get startedGet started for free

Kruskal-Wallis

Recall that the Kruskal-Wallis test is a non-parametric version of an ANOVA test, comparing the means across multiple groups.

late_shipments is available, and the following packages have been loaded: pingouin and pandas as pd.

This exercise is part of the course

Hypothesis Testing in Python

View Course

Exercise instructions

  • Run a Kruskal-Wallis test on weight_kilograms between the different shipment modes in late_shipments.

Hands-on interactive exercise

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

# Run a Kruskal-Wallis test on weight_kilograms vs. shipment_mode
kw_test = ____



# Print the results
print(kw_test)
Edit and Run Code