Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Practicing Statistics Interview Questions in Python

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Display the mean price for each group
prices = laptops.groupby(____).mean()
print(____)
Code bewerken en uitvoeren