I think deterrance works because the “bad guys” don’t know which house has a gun in it, therefore making them bypass entire neighborhoods.