Hello guys,
I am currently running a panel ARDL study. I have 40 countries in SSA as my case study. However, I want to classify them into:
1). Oil and coal exporting and Non-oil and coal exporting
2). Following Agtmael (1981), categorize emerging and least developed bases on per capita GDP.

How can I do this?