Exercise

Choosing an appropriate test

Let's look at another problem from the Olympic dataset, focusing on the Height of the competitors. Here, you've been provided with athletes data on the Norwegian and Colombian Team for each Sex. With those two factors, you'll have four separate groups. First, look at the boxplots below, then choose an appropriate statistical test.

Density plot of athlete height in relation to sex and country

Finally, carry out the test. pandas, statsmodels, and plotnine have been loaded into the workspace as pd, sm, and p9, respectively.

Instructions 1/2

undefined XP
    1
    2

Question

Which statistical test should you use to examine the effect of Sex and Team on Height?

Possible answers