A Multilevel Model of Accident Analysis