Session Ready
Exercise

Spine plot

The aggregation plot you have drawn in the previous exercise gave you some high-level overview of the missing data. If you are interested in the interaction between specific variables, a spine plot is the way to go. It allows you to study the percentage of missing values in one variable for different values of the other, which is conceptually very similar to the t-tests you have been running in the previous lesson.

In this exercise, you will draw a spine plot to investigate the percentage of missing data in earnings for different categories of sub_race. Is there more missing data on earnings for some specific races of the movie's main character? Let's find out! The VIM package has already been loaded for you.

Instructions 1/2
undefined XP
  • 1
  • 2
  • Draw a spine plot to visualize the percentage of missing values in earnings for each category of sub_race by first selecting the variables in the correct order and then feeding them to the appropriate plotting function.