Factors influencing criminal or terrorist behavior