Edusalary <- read_csv("https://myxavier-my.sharepoint.com/:x:/g/personal/morrillk_xavier_edu/EdbXEnGW-xVIr8t6kJZfhOsBS1nhpXAjyWRKDrzb0nAUtw?download=1")Education and Salary
I’m going to perform an analysis on an education and salary data set. Every row is a student while every column is a product of their c
hist(Edusalary$Age)Running Code
Do you get more job offers with a higher GPA? My hypothesis is the higher a student’s GPA, the more job offers they will receive. I will analyze this question by visualizing the relationship between Job offers and University GPA.
I intend to answer this question by categorizing the GPAs together so it is easier to view.The GPAs that are over 3.5 are considered high, a GPA between a 3.0 and 3.5 is considered medium,and anything under a 3.0 is considered low. It then used a box chart and used the other variable job offers. Where the sum of the of the job offers were grouped together to show the average amount of jobs per GPA level.
Edusalary$GPAlevel <- ifelse(Edusalary$University_GPA >= 3.5, "High GPA",
ifelse(Edusalary$University_GPA >= 3.0 & Edusalary$University_GPA < 3.5, "Medium GPA",
"Low GPA"))
Edusalary %>%
ggplot(aes(x =GPAlevel, y = Job_Offers)) +
geom_boxplot() +
labs(title = "Job offers by GPA Level",
x = "Job offers",
y = "GPA Level")Interpretation
Looking at the chart you can see that the students with medium GPAS got the least amount of job offers. On average they got one less job offer than the students with high and low GPAS. This proves the hypothesis is incorrect.GPAs and just because you have a higher GPA does not mean you will get the most jobs.