The effect of attending class is getting an education