It's not the rows, it's the columns. There should be pre and post scores for both ai and lecture for each participant. There aren't. They only report one session per participant.
But there are pre and post scores for each lecture for AI and not AI. Using visidata, I can see distinct IDs repeated with the "lect_AI" labeling field.
So, is your objection that you'd prefer a wide data format rather than a long data format?
Ah, wait, I see what you mean! They've... Recorded their participants twice? Thus removing the ability to do a within participants comparison, despite that being part of their design?
Ok, so I was wrong about them losing half of their data; it's just been presented and analysed in a really weird way. Still not good research practice, but less bad than I thought.
So long as we set allegations of p-hacking aside, I agree this paper isn't the best I've ever read. It's just an effect strong enough to be worth investigating.
I would like to see it investigated better; a better comparison (workshop rather than lecture, for example), and a much better analysis. I'm very wary of regression analyses which don't have very clear justifications; it's fairly easy to bung in a lot of variables and get something out.
But they haven't done within participants comparisons; they've compared mean post scores for each group to the total pre scores, instead of just doing a paired comparison, which would be stronger and make more sense. As you said, they've treated it as independent samples.
I'm back to a condition where I can't consider methodology (I'm on a bus heading to a glacier) but my reply was to your comment about how laying out the data this way prevents all in cohort comparison. It is still trivial, you just pivot on the label.
If that's not what you went, sorry.
I'm away from my work laptop too; I might have a play at some point and see what happens if you just do a sensible repeated measures ANOVA on it (although I don't think they've recorded order in there, which is a shame, I would have liked to check for order effects too).
You can probably recover order effects.
I'm all for extra numeric replication. I'm not a fan of frequentist approaches and because I'm not a professor, I don't have to be :)
No; there is one pre and one post score for each student, and a variable defining whether they did AI or lecture. That's one session each. But they were supposed to do two sessions each. They should have two pre and two post scores each (one AI, one lecture), not one.
I think the long-form-fixed-shape format is extremely common now because of the benefits of a uniform shape when using it with dataframe libraries and many R and Julia libraries expect this sort of shape.
I'm an SPSS girl myself, and one of the first lessons we drill into students is "one row per participant and one participant per row". Do R and Julia not cope with missing data?
They cope just fine. It's just a data convention. There's really no right or wrong, and I think gradually the downstream effects of Kruschke and McElreath and others are making it increasingly common.