Mass Terror Attacks: Blame the Easy Targets?

How do we decide whether a shooting is caused by mental illness or terrorism? What if it’s both?