The more crime that occurs along a student's way to school, the higher the likelihood that student will be absent, researchers have found.