plt <- data_to_viz %>%
ggplot() +
geom_point(mapping = aes(x = anx,
y = final_grade,
color = subject),
alpha = .5)+labs(y="Final Grade", x= "Anxiety")
suppressWarnings(print(plt))Are students feeling anxious about their grades?
Inputs
The initial hypothesis was that there is a positive correlation between the grade and the level of anxiety, which would mean that students who are anxious about their grades would try to study better.
The scatterplot, however rejects this hypothesis. We can see that higher level of anxiety 😬 is reached when students have a grade in the range between 50-75% which varies from F to C. There is one case of higher anxiety with a failing grade of lower 25% and some increase in the range between 75 and 90%.
Subjects that are associated with higher levels of anxiety are Anatomy and Oceanography.