Session Ready
Exercise

Do PhD's earn more?

In this final exercise, you will find out whether it's a smart career choice (money-wise) to pursue a PhD. To make this analysis feasible, a data frame income is provided. It was created by 5000 times taking a random sample of 1000 observations from The American Community Survey. For each sample min(), max(), median(), and IQR() are calculated. Now you can create 3 boxplots based on median income for each degree level so you can compare the wages for different degrees.

Once you've solved this final exercise, you can download your very first Kaggle script in R Markdown format. R Markdown is an authoring format for reproducible documents, presentations, and reports containing R code. Every R markdown file can automatically regenerated whenever underlying R code or data changes.

Instructions
100 XP

Finish the ggplot() command so that Degree is mapped onto x and fill and MedianIncome is mapped onto y. You don't have to label the x- and y-axes, but make sure to include a title: "Comparing Income of Degrees Holders".