Adaptation to poverty in long-run panel data