It is hard to tell if capital punishment has such an effect. And even if, in some contexts it has (such as in the American South with a very high incidence of murder), this effect may very well go away if a decent welfare state was replaced for the existing social order.
Torbjorn Tannsjo