You've been watching too much TV, man.
I've never been to Oakland, though I hear it's bad... NYC is not, and has never been, as bad as it is sometimes depicted on TV.
There ARE a lot of murders, but - as you stated in that statistic - they are mostly among bad people hanging out with even worse people.