6.13 Exercises

6.13.1 Exercise 1

Make a histogram, Q-Q plot, and a box-plot for the life expectancy for a continent of your choice, but for all years. Do the data appear normally distributed?

6.13.2 Exercise 2

  1. Select any 2 years in any continent and perform a t-test to determine whether mean life expectancy is significantly different. Remember to plot your data first.

  2. Extract only the p-value from your t.test() output.

6.13.3 Exercise 3

In 2007, in which continents did mean life expectancy differ from 70.

6.13.4 Exercise 4

  1. Use ANOVA to determine if the population changed significantly through the 1990s/2000s in individual continents.