Nowadays, a student should be able to learn the course material at home through reading the textbook or follow one of the many free online courses. Some universities record video or audio of lectures so students can watch them at a time convenient for them.
So as mathematics educators, how should we justify that students should still come to classes? Is there any research about the correlation between attending classes and learning outcomes?