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.
Deze oefening maakt deel uit van de cursus
Hypothesis Testing in Python
Oefeninstructies
- Run a Kruskal-Wallis test on
weight_kilogramsbetween the different shipment modes inlate_shipments.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Run a Kruskal-Wallis test on weight_kilograms vs. shipment_mode
kw_test = ____
# Print the results
print(kw_test)