Carrying out incident analysis