Get startedGet started for free

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.

This exercise is part of the course

Practicing Statistics Interview Questions in Python

View Course

Hands-on interactive exercise

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

# Display the mean price for each group
prices = laptops.groupby(____).mean()
print(____)
Edit and Run Code