Cause-and-effect analysis