I read a political science paper ?a decade ago? ?two? that had a hypothesis and some data... it compared the political health of many countries in Africa, post-WWII. If I'm remembering correctly, the "trick" was to have enough resources to not be stuck in subsistence agriculture, BUT the resources had to be... not easily centralizable? Because if they are you get warlords and then oligarchs.