The effect of attending school is learning