The inflow of labor supplied by immigrants has helped the United States avoid the problems of other economies, such as Japan’s, that have stagnated as a result of unfavorable demographics  particularly the effects of an aging workforce and reduced consumption of housing and other durable goods by older residents.