Dear Statalisters,
I'm working on the impact of FDI flows on institutional distance between countries. In my Dataset the ID is country pairs(i have 635 country pairs numbered from 1 to 635) over 12 years. I'm using the gravity model of trade. In my FE estimation i have to account for home and host country effects (using the i. method), however i don't have a numeric identifier for home and host country, can you please tell me how to generate a numeric identifier for home and host country (should i assign random numbers or is there a specific rule to follow?). Thank you very much in advance.
I'm working on the impact of FDI flows on institutional distance between countries. In my Dataset the ID is country pairs(i have 635 country pairs numbered from 1 to 635) over 12 years. I'm using the gravity model of trade. In my FE estimation i have to account for home and host country effects (using the i. method), however i don't have a numeric identifier for home and host country, can you please tell me how to generate a numeric identifier for home and host country (should i assign random numbers or is there a specific rule to follow?). Thank you very much in advance.

Comment