An analysis of more than 4,600 U.S. companies suggests that the negative impact can persist for three to five years.