Problem 1:
- From the World Bank Data, do the following:
- Find the mean and the median for Life Expectancy (lifeExp) and GDP per Capita (gdpPercap).
- Describe the measures obtained above in terms of their appropriateness in describing the centers of Life Expectancy (lifeExp) and GDP per Capita (gdpPercap).
- Find the five number summary for Life Expectancy (lifeExp) and GDP per Capita (gdpPercap). Provide brief explanations for the summaries.
- Use a graphical tool such as a boxplot to describe the distribution of Life Expectancy (lifeExp) and GDP per Capita (gdpPercap).
Problem 2:
- From the World Bank Data, do the following:
- Find the mean and the median for Life Expectancy (lifeExp) and GDP per Capita (gdpPercap) by continent.
- Describe the measures obtained above in terms of their appropriateness in describing the centers of Life Expectancy (lifeExp) and GDP per Capita (gdpPercap) for each continent.
- Compare Life Expectancy (lifeExp) and GDP per Capita (gdpPercap) by continent using coefficient of variation. Briefly explain your results.
- Use a graphical tool such as a boxplot to describe the distribution of Life Expectancy (lifeExp) by continent and GDP per Capita (gdpPercap) by continent.
Note:
- Before working on the project, make sure you have reviewed 3.1_3.4: Data Description.
- Write your code using R Script \((Ctrl + Shift + N)\) and make sure you save your script.
- Once you are done, test your code to make sure it is running and you are getting the desired results.
- Copy and paste all your results into a word document in an organized manner. Below each problem copy and paste the rcode you used to generate the results of that problem (there are two problems). Once you are done, save your word document and then upload on Moodle.