CommencerCommencer gratuitement

Two tailed t-test

In this exercise, you'll tackle another type of hypothesis test with the two tailed t-test for means. More concretely, you'll run the test on our laptops dataset from before and try to identify a significant difference in price between Asus and Toshiba.

Once again, we've imported all of the standard packages. Once you get your result, don't forget to make an actionable conclusion.

Cet exercice fait partie du cours

Practicing Statistics Interview Questions in Python

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Display the mean price for each group
prices = laptops.groupby(____).mean()
print(____)
Modifier et exécuter le code