After TA-ing COMS W3134 Data Structures for a semester, I was left with a sizable amount of data from the homeworks, exams, and piazza usage. So I decided to make some pretty graphs out of them. This stemmed from my frustration at previous classes – why only give students a mean and standard deviation if there are so many more dimensions to the data? And perhaps this may even inspire a student or two to like statistics (which unfortunately, given the way it is taught in Columbia, is hardly inspiring).
So here’s some data porn.
To make sense of it all, I’m going to invoke an imaginary student called George. George is that annoying student at the front of the class that questions the professor non-stop regarding the nitty gritty details of the course. Yes there’s always George.
*George: What’s the mean and standard deviation for each homework, the midterm, and the final? Are they normal? You know I have this hypothesis that homeworks are bimodal…“*
Now now George. Here’s all the info you need:
The mode of some homeworks tend to be around full marks, which is rather unsurprising given the nature of homeworks. Some fulfil all requirements, while others simply throw their hands in the air and well…not do them. This also reflects the content of the homeworks. Homework 3 and 4 tend to have many small (unrelated) parts hence it is entirely possible to score well in one and not others. The rest of them tend to have a larger single programming component.
George: Do students do consistenly well / bad in all the homeworks or do they tend to vary quite a bit?
Great question George! Let’s see. Here we are interested if homework grades, when taken as a whole, move together. That means if Student A scores well in Homework 1, 2, and 3, does he score well in Homework 4 and 5 as well? What about Student B? What about other homeworks?
Turns out the easiest way to answer this is: what is the correlation of the homework scores.
Turns out most of them are moderately correlated. We can quantify this further by using Principal Component Analysis (PCA). Intuitively, PCA is a method that distills a common “factor” for all the data. After running PCA on the data, we have the following results:
This means that the PCA reduced our data from 5 dimensions (since we had 5 datasets), the first of which is the homeworks moving in the same direction. But how much of the actual change is represented by that dimension? Turns out, quite a lot!
Importance of components:
The first dimension when all 5 homeworks are moving in the same direction accounts for around 41% of the total amount of variation. That means a common “force” that moves all the homeworks in the same direction accounts for around half the changes in homeworks from student to student.
This means that students’ homeworks are covaried to a pretty large extent. So George, students who do well in some homeworks tend to do well in others as well.
Homework and Exams
George: What about the age old idiom that students who do well in homeworks tend to do better in exams? I was told by my elementary school teacher that…
Calm your tits George.
Let’s run a linear regression of homework against midterm and finals. Intuitively, this answers the question: if a question scores one point better on homeworks, how much better does he score on midterms / finals?
Let’s look at midterms first:
Turns out homeworks correlate pretty well with midterm. A 1 point increase in homework (remember homeworks are graded out of 500, since I excluded homework 6 which we are still grading at the time of writing) translates into a 0.075 point increase in midterms. This is a pretty significant effect, but the R-squared is rather low, meaning that this does not hold for all students very strictly.
Let’s look at finals now:
Homeworks correlate a lot better with finals than midterms. Again, a 1 point increase in homework translates into a 0.11 point increase in finals, and we have a higher R-squared here.
These two correlations are visualized in the scatter plot above.
George: So I’ve been contributing a lot on piazza. My grades are awesome. Does that relationship hold?
Finally, I always tell students that the more they use piazza, the better they are able to learn. Asking question gets you answers, which makes you better. Answering answers makes you even better, since you learn way more by teaching than just being spoon-fed.
Well, you can answer these for yourself here.