FBI study reveals majority of active shooters planned attack for a week or more