I created this R Markdown file as a final project for a CMU course called R for Analytics in Fall 2019. For this project, I used data from the National Longitudinal Survey of Youth to investigate the research question: is there a significant difference in income between men and women? This file contains the following components:
- Data cleaning
- Bivariate analysis of income based and gender
- Analysis of other demographic characteristics such as race and teenage poverty and their relationship to both income and the gender-income gap
- A linear regression, accompanied by sensitivity tests
- Diagnostic plots
- A discussion
Note: The assignment's full instructions are avaialable here: http://www.andrew.cmu.edu/user/achoulde/94842/final_project/Final_Project.html.