Code
course_minutes <- separate(course_minutes, CourseSectionOrigID, into = c("Course", "Section", "ID"), sep = "-")
sci_mo_processed <- separate(sci_mo_processed, course_id, into = c("Course", "Section", "ID"), sep = "-")When it comes to the factors influencing students’ performance, what is the role of their interest and perception? Do students spend more time on a course they’re more interested in or do they spend more time if they feel they’re at a risk in that subject? In this project, I aim to explore and understand the influence of students’ self-perception on their performance. This can be achieved by taking a closer look at the relationship between certain self-reported variables, such as the level of interest in a course and the extent to which the students believe they can perform well (or not) in a subject.
The purpose of this project is to take a closer look at self-reported factors and their relationship with students’ performance. With the help of such findings and analyses, educational researchers, parents, and counselors can guide the students in a better way, making sure that their time is utilized in the right manner.
What is the relationship between the self-reported factors of students (such as perceived competence, interest, etc.) and the actual performance in the course? Does self-perception impact their performance? To what extent do these factors impact the time spent by students on a subject?
I used the data sources from the book “Data Science in Education Using R”. The data I used for this analysis includes the following files.
sci_mo_processed.csv: This file includes information about the self-reported factors, such as interest and perceived competence, in the course.
course_minutes.csv: This file includes data about the total time spent by students on a course.
First, we separate the course column that can be used in a better way for the analysis.
course_minutes <- separate(course_minutes, CourseSectionOrigID, into = c("Course", "Section", "ID"), sep = "-")
sci_mo_processed <- separate(sci_mo_processed, course_id, into = c("Course", "Section", "ID"), sep = "-")Next we change the names of columns to be more descriptive and understandable.
course_minutes <-
course_minutes |>
mutate(Course = recode(Course,
"AnPhA" = "Anatomy",
"BioA" = "Biology",
"FrScA" = "Forensics",
"OcnA" = "Oceanography",
"PhysA" = "Physics"))
colnames(course_minutes)[colnames(course_minutes) == "Bb_UserPK"] <- "Student_ID"
sci_mo_processed <-
sci_mo_processed |>
mutate(Course = recode(Course,
"AnPhA" = "Anatomy",
"BioA" = "Biology",
"FrScA" = "Forensics",
"OcnA" = "Oceanography",
"PhysA" = "Physics"))Next we select the columns that are of interest for the analysis.
course_minutes <- select(course_minutes, Student_ID, Course, TimeSpent)
sci_mo_processed <- select(sci_mo_processed, student_id, total_points_possible, total_points_earned, percentage_earned, TimeSpent, int, pc, uv)Now, we merge the two data frames into a single one, that will then be used for the analysis.
colnames(sci_mo_processed)[colnames(sci_mo_processed) == "student_id"] <- "Student_ID"
course_analysis <- merge(course_minutes, sci_mo_processed, by = "Student_ID")Next, we remove the duplicate TimeSpent columns, and create a single one, for the analysis.
course_analysis <- select(course_analysis, Student_ID, Course, total_points_possible, total_points_earned, percentage_earned, TimeSpent.x, int, pc, uv)Finally, we change the names of variables (columns) to simplify their use in the analysis.
course_analysis <- course_analysis |>
rename(
Total_Points = total_points_possible,
Points_Earned = total_points_earned,
Percentage = percentage_earned,
Time_Spent = TimeSpent.x,
Interest = int,
Per_Comp = pc,
)course_analysis |>
ggplot(aes(x=Interest, y=Percentage))+
geom_smooth(method = "lm", se = FALSE, color='red') +
facet_grid(~Course)+
labs(title = "Students' Interest vs. Percentage",y= "Percentage Earned", x = "Interest")`geom_smooth()` using formula = 'y ~ x'
Warning: Removed 77 rows containing non-finite values (`stat_smooth()`).
course_analysis |>
ggplot(aes(x=Per_Comp, y=Percentage))+
geom_smooth(method = "lm", se = FALSE, color='red') +
facet_grid(~Course)+
labs(title = "Students' Perceived Competence vs. Percentage",y= "Percentage Earned", x = "Perceived Competence")`geom_smooth()` using formula = 'y ~ x'
Warning: Removed 76 rows containing non-finite values (`stat_smooth()`).
course_analysis |>
ggplot(aes(x=Interest, y=Time_Spent))+
geom_smooth(method = "lm", se = FALSE, color='red') +
facet_grid(~Course)+
labs(title = "Students' Interest vs. Time Spent",y= "Time Spent", x = "Interest")`geom_smooth()` using formula = 'y ~ x'
Warning: Removed 77 rows containing non-finite values (`stat_smooth()`).
course_analysis |>
ggplot(aes(x=Per_Comp, y=Time_Spent))+
geom_smooth(method = "lm", se = FALSE, color='red') +
facet_grid(~Course)+
labs(title = "Students' Perceived Competence vs. Time Spent",y= "Time Spent", x = "Perceived Competence")`geom_smooth()` using formula = 'y ~ x'
Warning: Removed 76 rows containing non-finite values (`stat_smooth()`).
The four visualizations created above are discussed in this section.
The findings of this graph show some consistency, where the grades (or percentages) earned by students in a course are directly dependent on their interest in the course. As it can be seen quite clearly in the case of Oceanography and Physics, the percentages earned by students go much higher as their interest reaches the maximum value. There is a big dip in case of Biology (and a smaller one in case of Forensics). These can be studied in depth to understand what other factors are involved in the performance of students, causing them to score less in the courses they are actually interested in.
The results of perceived competence vs percentage were similar to that of the interest. It can be seen that the students judged their competence quite well in the case of Oceanography and Physics - getting percentages that are directly proportional to their perceptions. However, for Anatomy, Forensics, and particularly Biology, their self-assessment didn’t work well. Here, it could be that the courses turned out to be much difficult than the students had expected. However, an in-depth analysis of other factors would be helpful.
As the interest of students increased in a course, the analysis shows that the time spent on the respective courses was decreased. This was an interesting finding, where my initial assumption was that the students would spend more time with the course that they are interested in. The only course where this assumption held true was for Oceanography; however, the increase in time spent was too little in this case as well. If we look at this result, along with the analysis of perceived competence vs time spent, we can get a better understanding.
The graph shows that as the students’ perceived competence increased for any course, the time they spent on that particular course was decreased. This trend is similar to that of students’ interest vs time spent on a course. Only in the case of Physics, did the students spend more time on the course as their perceived competence got higher. This can be because when the students think they are good in a course, they start giving less attention to it. However, this can be bad for their grades, as can be seen from the percentage graphs discussed above.
It will be interesting to analyze how certain other factors, such as the difficulty level of a course, the performance in in-class activities, and the progression of the grades over time relate to the interest and perceived competence of students. If the students spend less time on a course that they are interested in - or good - at, is it because the course is not challenging enough? Curriculum designers can take a look at these factors and design a better learning experience for students, helping them make the most out of it.