The effect of attending school is getting an education